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

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

* update A10008

(cherry picked from commit d313e6d498f97362da51e3c31424e257f6a18f29)
This commit is contained in:
Livio Spring 2024-03-23 12:52:52 +01:00
parent 20ef744c4d
commit cef9e49ff9
No known key found for this signature in database
GPG Key ID: 26BB1C2FA5952CF0
2 changed files with 11 additions and 1 deletions

View File

@ -1412,7 +1412,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.