From d313e6d498f97362da51e3c31424e257f6a18f29 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 --- 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 885a166d90..3c93e1d490 100644 --- a/cmd/defaults.yaml +++ b/cmd/defaults.yaml @@ -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 \ 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.