Skip to content

Commit

Permalink
fix a config error (#4098)
Browse files Browse the repository at this point in the history
Co-authored-by: fanjianye <[email protected]>
### Motivation

fix a config error in RegionAware#initialize.

There is double config ignoreLocalNodeInPlacementPolicy in RegionAware#initialize. Actually one of 
 the config is useHostnameResolveLocalNodePlacementPolicy.

### change

use correct config name
  • Loading branch information
TakaHiR07 authored Jan 8, 2024
1 parent f2e85f7 commit 62ea072
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public RegionAwareEnsemblePlacementPolicy initialize(ClientConfiguration conf,
.initialize(dnsResolver, timer, this.reorderReadsRandom, this.stabilizePeriodSeconds,
this.reorderThresholdPendingRequests, this.isWeighted, this.maxWeightMultiple,
this.minNumRacksPerWriteQuorum, this.enforceMinNumRacksPerWriteQuorum,
this.ignoreLocalNodeInPlacementPolicy, this.ignoreLocalNodeInPlacementPolicy,
this.ignoreLocalNodeInPlacementPolicy, this.useHostnameResolveLocalNodePlacementPolicy,
statsLogger, bookieAddressResolver)
.withDefaultRack(NetworkTopology.DEFAULT_REGION_AND_RACK));
}
Expand Down

0 comments on commit 62ea072

Please sign in to comment.