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

fix: use batch subscribe and remove 4050 #388

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

chris13524
Copy link
Member

@chris13524 chris13524 commented Feb 26, 2024

Description

Use more lightweight renewal process now that IRN has shipped. Details here. Instead of needing to extend the TTL of the topic subscription with 4050 messages, the topic subscription is 30 days by default.

Remaining work:

How Has This Been Tested?

Not tested

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@chris13524 chris13524 force-pushed the fix/remove-extend-subscription-ttl branch from 54f0342 to 4abd2ba Compare March 5, 2024 18:17
@chris13524 chris13524 marked this pull request as ready for review March 5, 2024 18:17
metrics.relay_batch_subscribe_request(start);
}
// TODO process each error individually
// TODO retry relay internal failures?

Choose a reason for hiding this comment

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

Error::Response(rpc::Error::Handler(
SubscriptionError::SubscriberLimitExceeded,
)) => {
// FIXME figure out how to handle this properly; being unable to subscribe means a broken state
Copy link

@nopestack nopestack Mar 5, 2024

Choose a reason for hiding this comment

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

Consider creating an issue to address this and linking it here.

Copy link
Member Author

@chris13524 chris13524 Mar 5, 2024

Choose a reason for hiding this comment

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

This issue was root caused and no issue should currently exist because Notify Server always subscribes first. Confirmed with logs.

Removing this error handling logic in 6e4cb5c as the error should not happen.

@chris13524 chris13524 merged commit a3917e1 into main Mar 5, 2024
17 checks passed
@chris13524 chris13524 deleted the fix/remove-extend-subscription-ttl branch March 5, 2024 21:00
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