fix(setup): enable init-projection by default (#7616)

* fix(setup): enable init-projection by default

* update A10008
This commit is contained in:
Livio Spring 2024-03-23 12:52:52 +01:00 committed by GitHub
parent 7494a7b6d9
commit d313e6d498
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View File

@ -1414,7 +1414,7 @@ InternalAuthZ:
# This can prevent serving outdated data after a version upgrade, but might require a longer setup / upgrade process:
# https://zitadel.com/docs/self-hosting/manage/updating_scaling
InitProjections:
Enabled: false # ZITADEL_INITPROJECTIONS_ENABLED
Enabled: true # ZITADEL_INITPROJECTIONS_ENABLED
RetryFailedAfter: 100ms # ZITADEL_INITPROJECTIONS_RETRYFAILEDAFTER
MaxFailureCount: 2 # ZITADEL_INITPROJECTIONS_MAXFAILURECOUNT
BulkLimit: 1000 # ZITADEL_INITPROJECTIONS_BULKLIMIT

View File

@ -35,6 +35,16 @@ Before this release, this step was executed after the start of ZITADEL and there
Enable the flag (`--init-projections=true`) in setup phase and make sure the previous deployment of ZITADEL remains active until the new revision started properly.
Note that the flag is enabled by default starting with the following versions:
- \>=2.49.0
- 2.48.x: >=2.48.2
- 2.47.x: >=2.47.7
- 2.46.x: >=2.46.4
- 2.45.x: >=2.45.4
- 2.44.x: >=2.44.6
- 2.43.x: >=2.43.10
- 2.42.x: >=2.42.16
## Impact
Decreases downtime of starting new revisions with new or changed projections dramatically.