From cef9e49ff975432900fd5469304bb05b1fc9513b Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Sat, 23 Mar 2024 12:52:52 +0100 Subject: [PATCH] fix(setup): enable init-projection by default (#7616) * fix(setup): enable init-projection by default * update A10008 (cherry picked from commit d313e6d498f97362da51e3c31424e257f6a18f29) --- cmd/defaults.yaml | 2 +- docs/docs/support/advisory/a10008.md | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/cmd/defaults.yaml b/cmd/defaults.yaml index 5db2d941ac..7388f5e6f7 100644 --- a/cmd/defaults.yaml +++ b/cmd/defaults.yaml @@ -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 \ No newline at end of file diff --git a/docs/docs/support/advisory/a10008.md b/docs/docs/support/advisory/a10008.md index 811c64d773..b19c43e442 100644 --- a/docs/docs/support/advisory/a10008.md +++ b/docs/docs/support/advisory/a10008.md @@ -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.