Skip to content

Commit

Permalink
remove some break line (facebook#9716)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebook#9716

Reviewed By: mrambacher

Differential Revision: D35026096

Pulled By: jay-zhuang

fbshipit-source-id: 296c38418e2bb7948d7802e439a08c6621bdb49b
  • Loading branch information
darionyaphet authored and facebook-github-bot committed Apr 2, 2022
1 parent 190d5c1 commit fcd32e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions include/rocksdb/utilities/transaction_db.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@ struct TransactionDBOptions {

// Increasing this value will increase the concurrency by dividing the lock
// table (per column family) into more sub-tables, each with their own
// separate
// mutex.
// separate mutex.
size_t num_stripes = 16;

// If positive, specifies the default wait timeout in milliseconds when
Expand All @@ -171,8 +170,7 @@ struct TransactionDBOptions {
// 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
// as it can lead to deadlocks. Currently, there is no deadlock-detection to
// recover
// from a deadlock.
// recover from a deadlock.
int64_t transaction_lock_timeout = 1000; // 1 second

// If positive, specifies the wait timeout in milliseconds when writing a key
Expand Down
1 change: 0 additions & 1 deletion include/rocksdb/utilities/transaction_db_mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ namespace ROCKSDB_NAMESPACE {
//
// To open a TransactionDB with a custom TransactionDBMutexFactory, set
// TransactionDBOptions.custom_mutex_factory.

class TransactionDBMutex {
public:
virtual ~TransactionDBMutex() {}
Expand Down

0 comments on commit fcd32e6

Please sign in to comment.