zitadel/internal/eventstore/repository
Tim Möhlmann a81d42a61a
fix(eventstore): set created filters to exclusion sub-query (#9019)
# Which Problems Are Solved

In eventstore queries with aggregate ID exclusion filters, filters on
events creation date where not passed to the sub-query. This results in
a high amount of returned rows from the sub-query and high overall query
cost.

# How the Problems Are Solved

When CreatedAfter and CreatedBefore are used on the global search query,
copy those filters to the sub-query. We already did this for the
position column filter.

# Additional Changes

- none

# Additional Context

- Introduced in https://github.com/zitadel/zitadel/pull/8940

Co-authored-by: Livio Spring <livio.a@gmail.com>
2024-12-06 11:20:10 +01:00
..
mock refactor(eventstore): move push logic to sql (#8816) 2024-12-04 13:51:40 +00:00
sql fix(eventstore): set created filters to exclusion sub-query (#9019) 2024-12-06 11:20:10 +01:00
asset.go feat: add assets to eventstore and event (#1674) 2021-04-27 12:58:18 +02:00
event.go refactor(eventstore): move push logic to sql (#8816) 2024-12-04 13:51:40 +00:00
search_query_test.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
search_query.go feat(eventstore): exclude aggregate IDs when event_type occurred (#8940) 2024-11-25 15:25:11 +00:00