fix(eventstore): fill new column with data (#2288)

* fix: smaller outage on events migration first part

* fix: fill old events with sequence

* fix: migration add transactions

* fix: mig

* rename mig

* replace migration with setup step

* regenerate mock

* add step 20 to config

* log

* simplify step

* limit 1000

* limit 500
This commit is contained in:
Silvan
2021-09-01 11:25:52 +02:00
committed by GitHub
parent f9203940fb
commit 296f1c3c71
9 changed files with 124 additions and 13 deletions

View File

@@ -549,6 +549,8 @@ func (repo *testRepo) Health(ctx context.Context) error {
return nil
}
func (repo *testRepo) Step20(context.Context, uint64) error { return nil }
func (repo *testRepo) Push(ctx context.Context, events []*repository.Event, uniqueConstraints ...*repository.UniqueConstraint) error {
if repo.err != nil {
return repo.err