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

Send oximeter all existing producer assignments on registration #4500

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

bnaecker
Copy link
Collaborator

  • Fixes Oximeter producer registration needs to register harder #4498
  • When oximeter registers with nexus, we send it any producer assignments so that it can continue collecting after a restart. The list of assignments is paginated from the database, but we previously only sent the first page. This ensures we send all records, and adds a regression test.

- Fixes #4498
- When `oximeter` registers with `nexus`, we send it any producer
  assignments so that it can continue collecting after a restart. The
  list of assignments is paginated from the database, but we previously
  only sent the first page. This ensures we send all records, and adds a
  regression test.
@bnaecker bnaecker requested a review from smklein November 15, 2023 18:04
Copy link
Collaborator

@smklein smklein left a comment

Choose a reason for hiding this comment

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

heh, I love ways to improve scalability like this. "read the rest of the pages" is easy enough to review!

Thanks for the regression test!

@bnaecker bnaecker enabled auto-merge (squash) November 15, 2023 18:21
@bnaecker bnaecker merged commit 9c33a62 into main Nov 15, 2023
19 of 20 checks passed
@bnaecker bnaecker deleted the oximeter-register-harder branch November 15, 2023 19:22
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.

Oximeter producer registration needs to register harder
2 participants