[feature](log)check and log holding lock time when it exceeds threshold (#17965)
Sometimes the competition of lock is fierce in DatabaseTransactionMgr, which may lead to publish time out, i think we should have a log to hint these lock competition.
This commit is contained in:
@ -2063,5 +2063,11 @@ public class Config extends ConfigBase {
|
||||
*/
|
||||
@ConfField
|
||||
public static String bdbje_file_logging_level = "ALL";
|
||||
|
||||
/**
|
||||
* When holding lock time exceeds the threshold, need to report it.
|
||||
*/
|
||||
@ConfField
|
||||
public static long lock_reporting_threshold_ms = 500L;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user