Skip to content

Commit

Permalink
[improve][broker] make ServiceUnitStateMetadataStoreTableViewImpl def…
Browse files Browse the repository at this point in the history
…ault for loadManagerServiceUnitStateTableViewClassName (apache#312)

(cherry picked from commit 3cdb13d349be49c6eee9910ace867cd72e85fa30)
  • Loading branch information
heesung-sn authored and zymap committed Sep 30, 2024
1 parent bcdcd01 commit 8b008eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/broker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,7 @@ loadBalancerNamespaceBundleSplitConditionHitCountThreshold=3
loadBalancerServiceUnitStateTombstoneDelayTimeInSeconds=3600

# Name of ServiceUnitStateTableView implementation class to use
loadManagerServiceUnitStateTableViewClassName=org.apache.pulsar.broker.loadbalance.extensions.channel.ServiceUnitStateTableViewImpl
loadManagerServiceUnitStateTableViewClassName=org.apache.pulsar.broker.loadbalance.extensions.channel.ServiceUnitStateMetadataStoreTableViewImpl

# Specify ServiceUnitTableViewSyncer to sync service unit(bundle) states between metadata store and
# system topic table views during migration from one to the other. One could enable this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2918,7 +2918,7 @@ public double getLoadBalancerBandwidthOutResourceWeight() {
doc = "Name of ServiceUnitStateTableView implementation class to use"
)
private String loadManagerServiceUnitStateTableViewClassName =
"org.apache.pulsar.broker.loadbalance.extensions.channel.ServiceUnitStateTableViewImpl";
"org.apache.pulsar.broker.loadbalance.extensions.channel.ServiceUnitStateMetadataStoreTableViewImpl";

@FieldContext(
dynamic = true,
Expand Down

0 comments on commit 8b008eb

Please sign in to comment.