Skip to content

Adjust Retryable Errors #742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 7, 2022

Conversation

robsdedude
Copy link
Member

@robsdedude robsdedude commented Jun 3, 2022

  • Deprecate is_retriable() in favor of is_retryable
  • Rewrite errors for backwards compatibility
    • Neo.TransientError.Transaction.Terminated
      -> Neo.ClientError.Transaction.Terminated
    • Neo.TransientError.Transaction.LockClientStopped
      -> Neo.ClientError.Transaction.LockClientStopped
  • Add unit tests

Amends #682

Depends on neo4j-drivers/testkit#466

 * Deprecate `is_retriable()` in favor of `is_retryable`
 * Rewrite errors for backwards compatibility
   * Neo.TransientError.Transaction.Terminated
     -> Neo.ClientError.Transaction.Terminated
   * Neo.TransientError.Transaction.LockClientStopped
     -> Neo.ClientError.Transaction.LockClientStopped
 * Add unit tests
Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

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

✍🏼

robsdedude added a commit to neo4j-drivers/testkit that referenced this pull request Jun 14, 2022
 * Python has a fix prepared:
   neo4j/neo4j-python-driver#742
 * Ruby is not part of our pipelines and hence needs no exception just to get
   our TestKit pipelines green. The maintainers should, however, notice through
   failing tests that there is work required, once they upgrade to 5.0
robsdedude added a commit to neo4j-drivers/testkit that referenced this pull request Jul 7, 2022
* Python has a fix prepared:
   neo4j/neo4j-python-driver#742
 * Ruby is not part of our pipelines and hence needs no exception just to get
   our TestKit pipelines green. The maintainers should, however, notice through
   failing tests that there is work required, once they upgrade to 5.0
@robsdedude robsdedude force-pushed the rewrite-retryable-exceptions branch from 17bb81b to 72c2251 Compare July 7, 2022 08:11
@robsdedude robsdedude merged commit 67cc766 into neo4j:5.0 Jul 7, 2022
@robsdedude robsdedude deleted the rewrite-retryable-exceptions branch July 7, 2022 11:48
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