mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Added "fewest" lockdetect keyword, to abort txn with fewest locks
This commit is contained in:
parent
9f1591d5e9
commit
cf8349f895
@ -94,6 +94,9 @@ bdb_db_config(
|
||||
} else if( strcasecmp( argv[1], "youngest" ) == 0 ) {
|
||||
bdb->bi_lock_detect = DB_LOCK_YOUNGEST;
|
||||
|
||||
} else if( strcasecmp( argv[1], "fewest" ) == 0 ) {
|
||||
bdb->bi_lock_detect = DB_LOCK_MINLOCKS;
|
||||
|
||||
} else {
|
||||
fprintf( stderr, "%s: line %d: "
|
||||
"bad policy (%s) in \"lockDetect <policy> <seconds>\" line\n",
|
||||
|
Loading…
Reference in New Issue
Block a user