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

[dbnode] Add validation to ensure index claims is singleton #2877

Merged
merged 8 commits into from
Nov 12, 2020

Conversation

robskillington
Copy link
Collaborator

What this PR does / why we need it:

This ensures callers can't incorrectly create two instances of the index claims manager, which will help avoid refactors where for some reason the index claim manager is not incorrectly shared.

Special notes for your reviewer:

Does this PR introduce a user-facing and/or backwards incompatible change?:

NONE

Does this PR require updating code package or user-facing documentation?:

NONE

@rallen090 rallen090 self-requested a review November 12, 2020 00:28
@robskillington robskillington merged this pull request into master Nov 12, 2020
@robskillington robskillington deleted the r/enforce-index-claims-mgr-singleton branch November 12, 2020 06:51
soundvibe added a commit that referenced this pull request Nov 12, 2020
* master:
  [query] Remove dead code in prom package (#2871)
  Improve some slow tests (#2881)
  [coordinator] Set default namespace tag to avoid colliding with commonly used "namespace" label (#2878)
  [dbnode] Introduce Aggregator type (#2840)
  [dbnode] Refactor wide query path (#2826)
  [dbnode] Add validation to ensure index claims is singleton (#2877)
  [dbnode] Default HostID and Discovery config for minimal config (#2876)
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.

None yet

3 participants