mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-30 16:08:56 +00:00
refactor: merge relational table projections into one handler (#11740)
## Problem description During tests we found concurrency issues in the relational table projections. Tests got flaky if a table (e.g. organization domains) had too many foreign keys to tables which were projected by another handler. ## Resolution The projections of the relational tables got merged into one handler to enforce sequential reduction of events. ## Additional info - closes https://github.com/zitadel/zitadel/issues/11703 - closes https://github.com/zitadel/zitadel/issues/10810 --------- Co-authored-by: Marco Ardizzone <[email protected]>
This commit is contained in:
co-authored by
Marco Ardizzone
parent
689b90d9d9
commit
de1cab9976
@@ -15,7 +15,7 @@ import (
|
||||
)
|
||||
|
||||
func TestInstanceDomainReducers(t *testing.T) {
|
||||
handler := &instanceDomainRelationalProjection{}
|
||||
handler := &relationalTablesProjection{}
|
||||
rawTx, tx := getTransactions(t)
|
||||
|
||||
t.Cleanup(func() {
|
||||
|
||||
Reference in New Issue
Block a user