fix(eventstore): retry push on primary key sequence collision (#7420)

* fix(eventstore): retry push on primary key sequence collision

* MaxRetries config option and unit test
This commit is contained in:
Tim Möhlmann
2024-02-23 10:29:10 +02:00
committed by GitHub
parent 71373caab3
commit 1890e28f79
4 changed files with 244 additions and 9 deletions

View File

@@ -546,6 +546,8 @@ Quotas:
Eventstore:
# Sets the maximum duration of transactions pushing events
PushTimeout: 15s #ZITADEL_EVENTSTORE_PUSHTIMEOUT
# Maximum amount of push retries in case of primary key violation on the sequence
MaxRetries: 5 #ZITADEL_EVENTSTORE_MAXRETRIES
DefaultInstance:
InstanceName: ZITADEL # ZITADEL_DEFAULTINSTANCE_INSTANCENAME