Each time the compactor gets its next compaction job it goes to ZK to get the manager address. This could be changed to use zoocache which would put less load on ZK.
The following code goes to ZK directly to get the manager address.
|
var coordinatorHost = ExternalCompactionUtil.findCompactionCoordinator(getContext()); |
Saw this issue in elasticity branch, did not check if 2.1 and main branches have the same behavior.