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

Inconsistent availability information on Web UI #1756

Closed
danielmewes opened this issue Dec 11, 2013 · 3 comments
Closed

Inconsistent availability information on Web UI #1756

danielmewes opened this issue Dec 11, 2013 · 3 comments
Assignees
Milestone

Comments

@danielmewes
Copy link
Member

The web UI seems to use different methods to figure out table/replica availability in different places. This sometimes leads to inconsistent data (see the attached image).

Also I often noticed that on the overview for a specific table, right under Statistics, it would say "Live" next to a green icon, even if some of the shards are actually down. In this example, the table was in fact not available, neither for outdated nor up-to-date reads.

inconsistent web ui

@neumino: Ideas? :-)

@neumino
Copy link
Member

neumino commented Dec 11, 2013

Hum, looking at the code, we just look at the blueprint and check if there is enough available replicas.
By available replica, we mean a replica that is on a machine that is not down.

I'll update this code to use the same as on the Replication Status view (checking the blueprint and directory).

@ghost ghost assigned neumino Dec 17, 2013
@neumino
Copy link
Member

neumino commented Feb 5, 2014

Up in review 1189 assigned to @mglukhovsky
Branch michel_1756_live_status

A table is "Live" only if every shards have enough replicas up to date to meet the number of acks required, which mean a table can be "Live" even if it's replicating.

The number of master/replicas reachable in the profile view (first section) is the number of shards/replicas own by a machine that we can reach.
I renamed shards/replicas reachable in the sections below to shards/replicas available since in this case we check if we can use them or not.

I also fixed a bug for unsatisfiable goal in my commit in case universe is master (we forgot to add 1 in this case).

@neumino
Copy link
Member

neumino commented Feb 15, 2014

Merged in next.as 33b3190
Ship 1.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants