Commit Graph

5 Commits

Author SHA1 Message Date
Elio Bischof
a2fa396ec0
fix(postgres <=15): delete unique constraints (#6971)
fix(postgres): delete unique constraints

(cherry picked from commit 8982e1aae3)
2023-11-28 08:50:47 +01:00
Silvan
f9859b0480
fix(eventstore): correct handling of wrong unique fields (#6961)
(cherry picked from commit 9ed956383f)
2023-11-23 06:16:16 +01:00
Livio Spring
3a0f7ef193
fix: ensure uniqueness (#6956)
* fix: ensure uniqueness

* only update wrong ones

* Update cmd/setup/16.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
(cherry picked from commit b563041103)
2023-11-22 13:07:52 +01:00
Silvan
2246f9fa30
fix(eventstore): differentiate unique constraint error (#6832)
* fix(eventstore): differentiate unique constraint error format

* docs: add comment to eventstore vars

* fix(eventstore): return correct error type if unique constraint already exists

(cherry picked from commit f8bf8ea256)
2023-10-27 14:47:55 +02:00
Silvan
b5564572bc
feat(eventstore): increase parallel write capabilities (#5940)
This implementation increases parallel write capabilities of the eventstore.
Please have a look at the technical advisories: [05](https://zitadel.com/docs/support/advisory/a10005) and  [06](https://zitadel.com/docs/support/advisory/a10006).
The implementation of eventstore.push is rewritten and stored events are migrated to a new table `eventstore.events2`.
If you are using cockroach: make sure that the database user of ZITADEL has `VIEWACTIVITY` grant. This is used to query events.
2023-10-19 12:19:10 +02:00