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

Vshard shows alerts for replica, which are not in the vshard's config #493

Open
Serpentian opened this issue Oct 14, 2024 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Serpentian
Copy link
Contributor

Serpentian commented Oct 14, 2024

The problem here is that, if we connect any kind of replica to our shard, vshard will suppose, that it's part of the current shard, master will throw errors for this replicas:

-- Use example, add replica (let's suppose, this is non anon CDC)
tarantool> box.cfg{replication = {'storage:[email protected]:3301', 'storage:[email protected]:3302'}}

----

-- Now on `replica_1_a` we'll see:
unix/:./data/storage_1_a.control> vshard.storage.info()
<...>
  alerts:
  - ['UNREACHABLE_REPLICA', 'Replica 5891c9d7-a7f4-4fca-b9bc-07246c040141 isn''t active']
  - ['LOW_REDUNDANCY', 'Only one replica is active']

Master should not alert about replicas, which are not in vshard's config.

@Serpentian Serpentian added bug Something isn't working good first issue Good for newcomers labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant