zitadel/internal/notification
Silvan 17953e9040
fix(setup): init projections (#7194)
Even though this is a feature it's released as fix so that we can back port to earlier revisions.

As reported by multiple users startup of ZITADEL after leaded to downtime and worst case rollbacks to the previously deployed version.

The problem starts rising when there are too many events to process after the start of ZITADEL. The root cause are changes on projections (database tables) which must be recomputed. This PR solves this problem by adding a new step to the setup phase which prefills the projections. The step can be enabled by adding the `--init-projections`-flag to `setup`, `start-from-init` and `start-from-setup`. Setting this flag results in potentially longer duration of the setup phase but reduces the risk of the problems mentioned in the paragraph above.
2024-01-25 17:28:20 +01:00
..
channels refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
handlers feat: block instances (#7129) 2024-01-17 10:16:48 +00:00
messages fix(email): UTF-8 "Q" encode subject header (#6637) 2023-09-29 08:53:45 +00:00
senders feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
static feat(i18n): Dutch language support (#6952) 2023-11-22 14:35:21 +00:00
statik chore: initial version of a devcontainer (#6352) 2023-08-15 10:49:05 +02:00
templates fix: footerText has no effect (#6297) 2023-08-11 08:16:30 +00:00
types refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
channels.go fix: use triggering origin for notification links (#6628) 2023-10-10 13:20:53 +00:00
projections.go fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00