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

(cherry picked from commit 690147b30e)
This commit is contained in:
Silvan
2025-01-15 15:55:48 +01:00
committed by Livio Spring
parent 3159e38842
commit 35948e9ebb
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"
}