Skip to content

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

Merged
robskillington merged 8 commits into
masterfrom
r/enforce-index-claims-mgr-singleton
Nov 12, 2020
Merged

[dbnode] Add validation to ensure index claims is singleton#2877
robskillington merged 8 commits into
masterfrom
r/enforce-index-claims-mgr-singleton

Conversation

@robskillington

Copy link
Copy Markdown
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 pushed 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.

3 participants