This commit is contained in:
alex.sharov 2023-03-24 11:02:11 +07:00
parent f2e0f1ead4
commit e2b62447c7

View File

@ -1021,6 +1021,9 @@ func (d *Domain) collate(ctx context.Context, step, txFrom, txTo uint64, roTx kv
return Collation{}, fmt.Errorf("failed to obtain keys count for domain %q", d.filenameBase)
}
for k, _, err = keysCursor.First(); err == nil && k != nil; k, _, err = keysCursor.NextNoDup() {
if err != nil {
return Collation{}, err
}
pos++
select {
case <-logEvery.C: