perf(eventstore): fast push on crdb (#9186)

# Which Problems Are Solved

The performance of the initial push function can further be increased

# How the Problems Are Solved

`eventstore.push`- and `eventstore.commands_to_events`-functions were
rewritten

# Additional Changes

none

# Additional Context

same optimizations as for postgres:
https://github.com/zitadel/zitadel/pull/9092
This commit is contained in:
Silvan
2025-01-15 15:55:48 +01:00
committed by GitHub
parent 75f0ad42e6
commit 690147b30e
3 changed files with 128 additions and 86 deletions

View File

@@ -48,5 +48,5 @@ func (mig *InitPushFunc) Execute(ctx context.Context, _ eventstore.Event) (err e
}
func (mig *InitPushFunc) String() string {
return "40_init_push_func_v2"
return "40_init_push_func_v3"
}