dtspence opened a new pull request, #3479:
URL: https://github.com/apache/accumulo/pull/3479
The change updates TabletGroupWatcher to remove servers being shutdown from
being sent as candidates for assignment. There was previous logic (e.g. v1.10)
that filtered the servers being shutdown from being included in the candidate
list.
Verified that on t-server shutdown the tablets are unloaded and assigned to
a different host (with HostRegexTableLoadBalancer).
```
# Configured system with sample tablets; and 5 t-servers:
# Shutdown one t-server:
$> bin/accumulo admin stop localhost:9997
# Manager logs report unload and t-server being shutdown is not in candidate
list:
...
[manager.EventCoordinator] INFO : tablet 1;20230601_1728;20230601_1727 was
unloaded from localhost:9997
...
[balancer.HostRegexTableLoadBalancer] DEBUG: Sending 40 tablets to balancer
for table test_1 for assignment
within tservers [localhost:10000[10001cc843d0007],
localhost:10003[10001cc843d000a],
localhost:10004[10001cc843d000b], localhost:10005[10001cc843d000c]]
```
--
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]