Skip to content

Compactor should use ZooCache to get manager address #3783

@keith-turner

Description

@keith-turner

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions