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
Review table_status
format
#4196
Comments
👍 on
The second thing worth discussing is if we should turn the |
OK. I think should display whichever state is earliest in the following list: Rationale: |
That ordering sounds very reasonable. |
I agree, the ordering sounds great. Turning the |
In CR 2894 by @timmaxw. |
I realize this is an issue about parts of a shard being in multiple states and not wanting to show that as an array because it's confusing, but it might be reasonable to use an array for the state to allow things like This allows clients to just look for the presence of the "ready" state, rather than have to mirror the logic of the state ordering to determine if a shard is ready. It also means if we add new possible states in the future, the client logic wouldn't need to be updated (i.e. looser coupling to exactly which states we use internally and their ordering). |
Merged into |
The current
table_status
format in Raft is kind of awkward. We should think about improving it. One idea is to eliminate the state arrays by just choosing the most conservative state.The text was updated successfully, but these errors were encountered: