-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tracing bug and add write size event (#33197)
This PR fixes a bug in commit tracing where we would increment the `commit_id` even if we didn't push a persistence write to the queue. This fixed by making `start_commit` return an `Option<BoxFuture<..>>` to write to persistence and increment the `commit_id` if it is some. Also adds the size and number of documents written to the traces. GitOrigin-RevId: d7eda2d624bfe005883d91ce60378f4f58e53466
- Loading branch information
1 parent
b91e35f
commit c146152
Showing
3 changed files
with
77 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters