[Improve](point query) support retry different backends in PointQueryExecutor (#16380)

This commit is contained in:
lihangyu
2023-02-14 07:31:31 +08:00
committed by GitHub
parent b642491555
commit de85c57715
4 changed files with 65 additions and 21 deletions

View File

@ -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.