Skip to content

Conversation

@dariakp
Copy link
Contributor

@dariakp dariakp commented Dec 3, 2025

Description

Summary of Changes

Notes for Reviewers

What is the motivation for this change?

Release Highlight

Release notes highlight

Double check the following

  • Lint is passing (npm run check:lint)
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket


// 6.ii (cont.) If elapsed time + backoffMS > TIMEOUT_MS, then raise last known error
// DP: the lines above do this math slightly indirectly, but this break does NOT raise the last known error
// because breaking the while loop takes us to the return result statement outside the while(!committed)
Copy link
Contributor Author

@dariakp dariakp Dec 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, to the top of the for retry loop (but with the same effect re: last known error)

}

// 6.ii (cont.) Otherwise, sleep for backoffMS, increment retry, and jump back to step two.
// DP: Assuming the spec means step 8
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the spec means 2, this is correct


// 9.ii If the commitTransaction error includes a "TransientTransactionError" label
// and the elapsed time of withTransaction is less than TIMEOUT_MS, jump back to step two.
// DP: Step two makes no sense here, perhaps the intent is to perform the instructions in 6.ii and then jump back to 8?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if my comment is correct, then this is ok here, but needs to also be in 6.ii

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants