[Improve](point query) support retry different backends in PointQueryExecutor (#16380)
This commit is contained in:
@ -1065,6 +1065,14 @@ public class Config extends ConfigBase {
|
||||
@ConfField(mutable = true)
|
||||
public static int max_query_retry_time = 1;
|
||||
|
||||
/**
|
||||
* The number of point query retries in executor.
|
||||
* A query may retry if we encounter RPC exception and no result has been sent to user.
|
||||
* You may reduce this number to avoid Avalanche disaster.
|
||||
*/
|
||||
@ConfField(mutable = true)
|
||||
public static int max_point_query_retry_time = 2;
|
||||
|
||||
/**
|
||||
* The tryLock timeout configuration of catalog lock.
|
||||
* Normally it does not need to change, unless you need to test something.
|
||||
|
||||
Reference in New Issue
Block a user