Skip to content
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

[Event Hubs] GeoDR Failover Error Handling #47303

Closed
jsquire opened this issue Nov 23, 2024 · 1 comment
Closed

[Event Hubs] GeoDR Failover Error Handling #47303

jsquire opened this issue Nov 23, 2024 · 1 comment
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs

Comments

@jsquire
Copy link
Member

jsquire commented Nov 23, 2024

Problem Statement

When a GeoDR failover happens, it is possible that a legacy checkpoint exists in a format that is not GeoDR-aware. In this case, when the processor attempts to recover from the failover, the Event Hubs service will reject the reader with a unique error that indicates the checkpoint is invalid and cannot be used.

Scope of Work

  • Follow-up with the Event Hubs service team for error details.

  • Update EventProcessor<T> such that if a reader fails when opening a link with the GeoDR error condition, it recognizes the scenario and can take steps to recover.

Success Criteria

  • When the service returns a GeoDR error condition when the processor is creating a partition reader, that error is identified and has special handling.
  • The processor logic has been updated to ignore/remove the invalid checkpoint when the GeoDR error scenario takes place.
  • The processor is resilient and can resume operations after a failover, whether checkpoints are valid or invalid.
  • The tests needed to validate functionality have been added and pass reliably.
  • The existing tests continue to pass reliably.
@jsquire jsquire added Client This issue points to a problem in the data-plane of the library. Event Hubs labels Nov 23, 2024
@jsquire jsquire added this to the 2025-02 milestone Nov 23, 2024
@jsquire jsquire self-assigned this Nov 23, 2024
@jsquire jsquire moved this to Planned in Azure SDK for Event Hubs Nov 23, 2024
@jsquire
Copy link
Member Author

jsquire commented Feb 11, 2025

Addressed by #48101

@jsquire jsquire closed this as completed Feb 11, 2025
@github-project-automation github-project-automation bot moved this from Planned to Done in Azure SDK for Event Hubs Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs
Projects
Status: Done
Development

No branches or pull requests

1 participant