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

@@ -229,3 +229,7 @@ func uniqueConstraintActionToRepository(action UniqueConstraintAction) repositor
return repository.UniqueConstraintAdd
}
}
func (es *Eventstore) Step20(ctx context.Context, latestSequence uint64) error {
return es.repo.Step20(ctx, latestSequence)
}