Skip to content

Commit

Permalink
Warn -> Debug for 'gap in revision list' log (#6416)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrks committed Mar 28, 2024
1 parent 96989eb commit 3dabacf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/revtree.go
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ func encodeRevisions(docID string, revs []string) Revisions {
if i == 0 {
start = gen
} else if gen != start-i {
base.WarnfCtx(context.TODO(), "Found gap in revision list for doc %q. Expecting gen %v but got %v in %v", base.UD(docID), start-i, gen, revs)
base.DebugfCtx(context.TODO(), base.KeyCRUD, "Found gap in revision list for doc %q. Expecting gen %v but got %v in %v", base.UD(docID), start-i, gen, revs)
}
}
return Revisions{RevisionsStart: start, RevisionsIds: ids}
Expand Down

0 comments on commit 3dabacf

Please sign in to comment.