mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
Added "fewest" lockdetect keyword, to abort txn with fewest locks
This commit is contained in:
parent
9f1591d5e9
commit
cf8349f895
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue