|
|
@ -160,8 +160,7 @@ struct TransactionDBOptions { |
|
|
|
|
|
|
|
|
|
|
|
// Increasing this value will increase the concurrency by dividing the lock
|
|
|
|
// Increasing this value will increase the concurrency by dividing the lock
|
|
|
|
// table (per column family) into more sub-tables, each with their own
|
|
|
|
// table (per column family) into more sub-tables, each with their own
|
|
|
|
// separate
|
|
|
|
// separate mutex.
|
|
|
|
// mutex.
|
|
|
|
|
|
|
|
size_t num_stripes = 16; |
|
|
|
size_t num_stripes = 16; |
|
|
|
|
|
|
|
|
|
|
|
// If positive, specifies the default wait timeout in milliseconds when
|
|
|
|
// If positive, specifies the default wait timeout in milliseconds when
|
|
|
@ -171,8 +170,7 @@ struct TransactionDBOptions { |
|
|
|
// If 0, no waiting is done if a lock cannot instantly be acquired.
|
|
|
|
// If 0, no waiting is done if a lock cannot instantly be acquired.
|
|
|
|
// If negative, there is no timeout. Not using a timeout is not recommended
|
|
|
|
// If negative, there is no timeout. Not using a timeout is not recommended
|
|
|
|
// as it can lead to deadlocks. Currently, there is no deadlock-detection to
|
|
|
|
// as it can lead to deadlocks. Currently, there is no deadlock-detection to
|
|
|
|
// recover
|
|
|
|
// recover from a deadlock.
|
|
|
|
// from a deadlock.
|
|
|
|
|
|
|
|
int64_t transaction_lock_timeout = 1000; // 1 second
|
|
|
|
int64_t transaction_lock_timeout = 1000; // 1 second
|
|
|
|
|
|
|
|
|
|
|
|
// If positive, specifies the wait timeout in milliseconds when writing a key
|
|
|
|
// If positive, specifies the wait timeout in milliseconds when writing a key
|
|
|
|