Skip to content

Commit 3fac977

Browse files
committed
fix: WPB-23445 created a new branch with clean commit history to support wire-server-5.27 release based on PR #876
1 parent 6c525fc commit 3fac977

4 files changed

Lines changed: 30 additions & 13 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added: update prod and demo example values/secrets for wire-server 5.27, aligning PostgreSQL config, postgresMigration (conversation, teamFeatures), rabbitmq, and mlsPrivateKeys across all services

offline/tasks/proc_pull_charts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,5 @@ pull_charts() {
9494
#fi
9595
}
9696

97-
wire_build="https://raw.githubusercontent.com/wireapp/wire-builds/pinned-offline-multi-20260224-142104/build.json"
97+
wire_build="https://raw.githubusercontent.com/wireapp/wire-builds/ecd204f07540e79fc1febe2483a42111129a5d0d/build.json"
9898
wire_build_chart_release "$wire_build" | pull_charts

values/wire-server/demo-values.example.yaml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ brig:
3636
port: "5432"
3737
user: wire-server
3838
dbname: wire-server
39+
postgresqlPool:
40+
size: 10 # adjust pool size as needed based on expected load and available resources
3941
useSES: false
4042
# Set to false if you want to hand out DynamoDB to store prekeys
4143
randomPrekeys: true
@@ -183,10 +185,14 @@ galley:
183185
port: "5432"
184186
user: wire-server
185187
dbname: wire-server
188+
postgresqlPool:
189+
size: 10 # adjust pool size as needed based on expected load and available resources
186190
# Explicitly set postgresMigration to cassandra for fresh deployments.
187-
# This controls whether galley reads conversations from Cassandra or PostgreSQL.
191+
# This controls whether galley reads conversations/teamFeatures from Cassandra or PostgreSQL.
188192
postgresMigration:
189193
conversation: cassandra
194+
conversationCodes: cassandra
195+
teamFeatures: cassandra
190196
enableFederation: false # Enable to use federation
191197
settings:
192198
# prefix URI used when inviting users to a conversation by link
@@ -366,13 +372,15 @@ background-worker:
366372
port: "5432"
367373
user: wire-server
368374
dbname: wire-server
369-
# IMPORTANT: At Chart 5.25.0, the background-worker Helm chart incorrectly defaults
370-
# postgresMigration.conversation to "postgresql" instead of "cassandra".
371-
# This MUST be explicitly set to "cassandra" unless you have already migrated
372-
# conversations to PostgreSQL. Without this override, User Group to Channel sync
373-
# jobs will silently skip member synchronization.
375+
postgresqlPool:
376+
size: 5 # Background worker has fewer connections to DB, so smaller pool size is fine
374377
postgresMigration:
375378
conversation: cassandra
379+
conversationCodes: cassandra
380+
teamFeatures: cassandra
381+
migrateConversations: false
382+
migrateConversationCodes: false
383+
migrateTeamFeatures: false
376384
# Enable for federation
377385
enableFederation: false
378386
metrics:

values/wire-server/prod-values.example.yaml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ brig:
3636
port: "5432"
3737
user: wire-server
3838
dbname: wire-server
39+
postgresqlPool:
40+
size: 10 # adjust pool size as needed based on expected load and available resources
3941
useSES: false
4042
# Set to false if you want to hand out DynamoDB to store prekeys
4143
randomPrekeys: true
@@ -183,10 +185,14 @@ galley:
183185
port: "5432"
184186
user: wire-server
185187
dbname: wire-server
188+
postgresqlPool:
189+
size: 10 # adjust pool size as needed based on expected load and available resources
186190
# Explicitly set postgresMigration to cassandra for fresh deployments.
187-
# This controls whether galley reads conversations from Cassandra or PostgreSQL.
191+
# This controls whether galley reads conversations/teamFeatures from Cassandra or PostgreSQL.
188192
postgresMigration:
189193
conversation: cassandra
194+
conversationCodes: cassandra
195+
teamFeatures: cassandra
190196
enableFederation: false # Enable to use federation
191197
settings:
192198
# prefix URI used when inviting users to a conversation by link
@@ -366,13 +372,15 @@ background-worker:
366372
port: "5432"
367373
user: wire-server
368374
dbname: wire-server
369-
# IMPORTANT: At Chart 5.25.0, the background-worker Helm chart incorrectly defaults
370-
# postgresMigration.conversation to "postgresql" instead of "cassandra".
371-
# This MUST be explicitly set to "cassandra" unless you have already migrated
372-
# conversations to PostgreSQL. Without this override, User Group to Channel sync
373-
# jobs will silently skip member synchronization.
375+
postgresqlPool:
376+
size: 5 # Background worker has fewer connections to DB, so smaller pool size is fine
374377
postgresMigration:
375378
conversation: cassandra
379+
conversationCodes: cassandra
380+
teamFeatures: cassandra
381+
migrateConversations: false
382+
migrateConversationCodes: false
383+
migrateTeamFeatures: false
376384
# Enable for federation
377385
enableFederation: false
378386
metrics:

0 commit comments

Comments
 (0)