Skip to content

Commit

Permalink
Add id to Translog.Delete#toString() (#72752)
Browse files Browse the repository at this point in the history
The assertion failure message in #72735 did not indicate why it failed
because `Translog.Delete#toString()` does not expose all the fields of
the problematic operation. This commit adds the missing `id` field.
  • Loading branch information
DaveCTurner authored May 5, 2021
1 parent f096bce commit 85ddd7b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,8 @@ public int hashCode() {
@Override
public String toString() {
return "Delete{" +
"seqNo=" + seqNo +
"id='" + id +
"', seqNo=" + seqNo +
", primaryTerm=" + primaryTerm +
", version=" + version +
'}';
Expand Down

0 comments on commit 85ddd7b

Please sign in to comment.