Description
romil.choksi found a test issue where ShellServerIT.getAuths() would intermittently fail.
This is because of the use of ZooCache inside of ZKAuthorizor. The minicluster has two tabletservers. If the shell is so unlucky to update the authorizations on one tserver but then ask for the authorizations on the other tserver, the test is subject to the propagation of the ZK watcher update to fire.
We should just switch over ShellServerIT to run a minicluster with only one tserver than try to hack around this in the test itself with retries.
Attachments
Issue Links
- relates to
-
ACCUMULO-2743 Improve stale-reads with ZooKeeper-backed data
- Resolved
- links to