diff --git a/db/db_impl/db_impl.cc b/db/db_impl/db_impl.cc index aa2cdac512731eed8952b86d568a9ba7e6fc346a..3b0fc951946a3a9eebb8cd65f5f620a3bcc42038 100644 --- a/db/db_impl/db_impl.cc +++ b/db/db_impl/db_impl.cc @@ -567,7 +567,7 @@ Status DBImpl::CloseHelper() { // flushing by first checking if there is a need for // flushing (but need to implement something // else than imm()->IsFlushPending() because the output - // memtables added to imm() dont trigger flushes). + // memtables added to imm() don't trigger flushes). if (immutable_db_options_.experimental_mempurge_threshold > 0.0) { Status flush_ret; mutex_.Unlock(); diff --git a/db/memtable_list.h b/db/memtable_list.h index 6df0e7c02ee7beddd5249b74a1d1184e76b3e47d..866ecccb6f5ff16225d292c884e57baa8a779090 100644 --- a/db/memtable_list.h +++ b/db/memtable_list.h @@ -315,7 +315,7 @@ class MemTableList { // PickMemtablesToFlush() is called. void FlushRequested() { flush_requested_ = true; - // If there are some memtables stored in imm() that dont trigger + // If there are some memtables stored in imm() that don't trigger // flush (eg: mempurge output memtable), then update imm_flush_needed. // Note: if race condition and imm_flush_needed is set to true // when there is num_flush_not_started_==0, then there is no diff --git a/include/rocksdb/write_batch.h b/include/rocksdb/write_batch.h index 4078ceeaaf14f3c50383608be52b4a72bcefa274..618e4734c86c9dc32b9754fa9e2c24f07ecdb961 100644 --- a/include/rocksdb/write_batch.h +++ b/include/rocksdb/write_batch.h @@ -385,7 +385,7 @@ class WriteBatch : public WriteBatchBase { // // in: cf, the column family id. // ret: timestamp size of the given column family. Return - // std::numeric_limits::max() indicating "dont know or column + // std::numeric_limits::max() indicating "don't know or column // family info not found", this will cause UpdateTimestamps() to fail. // size_t ts_sz_func(uint32_t cf); Status UpdateTimestamps(const Slice& ts,