Skip to content

Commit

Permalink
add log when deleting batch diff
Browse files Browse the repository at this point in the history
  • Loading branch information
Termina1 committed Nov 29, 2024
1 parent 2f84806 commit 7961129
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chotki.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ func (cho *Chotki) drain(ctx context.Context, recs protocol.Records) (err error)
if err == nil {
err = cho.db.Apply(d, cho.opts.PebbleWriteOptions)
cho.syncs.Delete(id)
cho.log.InfoCtx(ctx, "applied diff batch and deleted it", "id", id)
}
noApply = true

Expand Down

0 comments on commit 7961129

Please sign in to comment.