-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(observability): fix bugs found from product review + negative ca…
…ses (#2158) * feat(observability): fix bugs found from product review + negative cases This change adds recording of retry span annotations, catching cases in which exceptions where thrown but spans were not ended while testing out and visually confirming the results. * Address merge from main * Ensure Database.getSnapshot correct span ending + tests * Proper placement of Transaction span.end() * Adjust tests to ensure transaction.end() where necessary * Address some review feedback * Handle moving 2nd getSnapshot() retry to itself * Remove dataStream.once span nesting * End spans even on dataStream retry * De-flake EndToEnd Database.runStream test with by ignoring grpc.CANCELLED * test: remove async vestige * Attempt to isolate and de-flake * More test failure debugs * hotfix to allow tests to run without blocking testers * Address feedback from code review * EndToEnd test setup reduced to avoid flakes * Revert Database.runTransaction runner ordering * Uncommitted change for Database.getSnapshot: end span before sending back response
- Loading branch information
Showing
9 changed files
with
1,226 additions
and
174 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
Oops, something went wrong.