-
Notifications
You must be signed in to change notification settings - Fork 471
Created TabletMetadataCache #3200
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
Conversation
|
Did you happen to check how many additional watchers this will add? |
Did you mean the persistent recursive watch? I'm assuming that it will be one per TabletMetadataCache (where and where it's used). I have not seen anything that says a recursive watch adds a watcher to each child node. I did consider the impact of watches. I was thinking of introducing |
|
There are two dimension to my question about the number of watchers. 1 - there is a test with expected number of watchers and the number may need to be adjusted. (and of minor importance) |
Looking at the implementation notes, it appears that there is only one watcher created on the server-side. It says:
|
|
Automated build that is failing is because it's forcing a zookeeper version of 3.5.10. I think we can remove that for 3.0 |
30b835a to
b9961e2
Compare
|
Closing in favor of #3563 |
TabletMetadataCache (TMC) caches TabletMetadata for a KeyExtent. TMC loads TabletMetadata via Ample.readTablet with all columns specified and removes TabletMetadata when it has been changed. TMC uses ZooKeeper for signaling TabletMetadata changes. TMC will reduce the load on the metadata and root table where server processes load/unload Tablets frequently for on-demand processing.