[enhancement](load) Change transaction limit from global level to db level (#15830)

Add transaction size quota for database

Co-authored-by: wuhangze <wuhangze@jd.com>
This commit is contained in:
Henry2SS
2023-02-08 18:04:26 +08:00
committed by GitHub
parent f71fc3291f
commit bb334de00f
14 changed files with 150 additions and 13 deletions

View File

@ -1985,5 +1985,11 @@ public class Config extends ConfigBase {
*/
@ConfField(mutable = true)
public static int pull_request_id = 0;
/**
* Used to set default db transaction quota num.
*/
@ConfField(mutable = true, masterOnly = true)
public static long default_db_max_running_txn_num = -1;
}