This commit is contained in:
alex.sharov 2023-03-24 10:58:33 +07:00
parent e15093d30e
commit f2e0f1ead4

View File

@ -1029,7 +1029,7 @@ func (d *Domain) collate(ctx context.Context, step, txFrom, txTo uint64, roTx kv
"progress", fmt.Sprintf("%.2f%%", float64(pos)/float64(totalKeys)*100)) "progress", fmt.Sprintf("%.2f%%", float64(pos)/float64(totalKeys)*100))
case <-ctx.Done(): case <-ctx.Done():
log.Warn("[snapshots] collate domain cancelled", "name", d.filenameBase, "err", ctx.Err()) log.Warn("[snapshots] collate domain cancelled", "name", d.filenameBase, "err", ctx.Err())
return Collation{}, err return Collation{}, ctx.Err()
default: default:
} }