Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteYue committed Jul 10, 2024
1 parent 7cd3eb0 commit 8ca42bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2901,7 +2901,7 @@ public static int metaServiceRpcRetryTimes() {
public static String streamload_redirect_policy = "";

@ConfField(mutable = true)
public static boolean cool_query_replica_affinity = true;
public static boolean enable_cooldown_replica_affinity = true;

//==========================================================================
// end of cloud config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ private void addScanRangeLocations(Partition partition,
}
}

if (Config.cool_query_replica_affinity) {
if (Config.enable_cooldown_replica_affinity) {
final long coolDownReplicaId = tablet.getCooldownReplicaId();
// we prefer to query using cooldown replica to make sure the cache is fully utilized
// for example: consider there are 3BEs(A,B,C) and each has one replica for tablet X. and X
Expand Down

0 comments on commit 8ca42bd

Please sign in to comment.