remove some break line (#9716)

Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/9716

Reviewed By: mrambacher

Differential Revision: D35026096

Pulled By: jay-zhuang

fbshipit-source-id: 296c38418e2bb7948d7802e439a08c6621bdb49b
main
yaphet 3 years ago committed by Facebook GitHub Bot
parent 190d5c1318
commit fcd32e687b
  1. 6
      include/rocksdb/utilities/transaction_db.h
  2. 1
      include/rocksdb/utilities/transaction_db_mutex.h

@ -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

@ -18,7 +18,6 @@ namespace ROCKSDB_NAMESPACE {
// //
// To open a TransactionDB with a custom TransactionDBMutexFactory, set // To open a TransactionDB with a custom TransactionDBMutexFactory, set
// TransactionDBOptions.custom_mutex_factory. // TransactionDBOptions.custom_mutex_factory.
class TransactionDBMutex { class TransactionDBMutex {
public: public:
virtual ~TransactionDBMutex() {} virtual ~TransactionDBMutex() {}

Loading…
Cancel
Save