zitadel/internal/eventstore/repository/mock
Tim Möhlmann ab79855cf0
fix(eventstore): prevent allocation of filtered events (#6749)
* fix(eventstore): prevent allocation of filtered events

Directly reduce each event obtained from a sql.Rows scan,
so that we do not have to allocate all events in a slice.

* reinstate the mutex as RWMutex

* scan data directly

* add todos

* fix(writemodels): add reduce of parent

* test: remove comment

* update comments

---------

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
2023-10-19 15:21:31 +00:00
..
gen_mock.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
repository.mock.go fix(eventstore): prevent allocation of filtered events (#6749) 2023-10-19 15:21:31 +00:00
repository.mock.impl.go fix(eventstore): prevent allocation of filtered events (#6749) 2023-10-19 15:21:31 +00:00
repository.mock.matcher.filter.go feat: enable handling projections for inactive instances (#5523) 2023-03-27 12:34:01 +00:00
repository.mock.matcher.searchquery.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00