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

Bug: Panic when metadata version conflict #623

Open
lsytj0413 opened this issue Feb 26, 2025 · 1 comment
Open

Bug: Panic when metadata version conflict #623

lsytj0413 opened this issue Feb 26, 2025 · 1 comment

Comments

@lsytj0413
Copy link
Contributor

lsytj0413 commented Feb 26, 2025

Ref: #622

@lsytj0413
Copy link
Contributor Author

It seems that coordinator maybe multi instance running, describe as:

The coordinator updates the shard metadata in the metadata store at key moments so that if the coordinator fails, 
the next one can continue where the failed one left off. The protocol also supports multiple coordinators battling for
control without the loss of acknowledged writes (only the loss of availability — i.e. they cannot be read by the
client). While it should not be possible for more than one coordinator to run at a time, it is best to design the
protocol defensively especially given the importance of the data.

But there is nothing election in coordinator implement,and if multi coordinator update shared metadata concurrently,they maybe panic again and again. Should we fix this? cc @merlimat

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

No branches or pull requests

1 participant