dlmarion commented on issue #5047:
URL: https://github.com/apache/accumulo/issues/5047#issuecomment-2518683136
> 1. A scan or write does a check using zoocache to see if the tablet server
is currently holding its lock in zookeeper.
> 2. When there are multiple resource groups the check will look for the
tserver in each resource group calling
`zooCache.getChildren("<zkroot>/tservers/<resource group>/<tserver>`.
> 3. The tservers only exists in one RG and for the ones it does not
getChildren does not cache non-existence so it will fall back to zookeeper.
> 4. While the getChildren call is made to zookeeper all other threads block
for the same path.
>
> If there was a single resource group for tablet servers then this problem
would not be seen.
Is this check originating in the TabletServer to check it's own lock? If so,
each process knows which resource group it is in, there is no need to check
them all.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]