Fix various spelling errors still found in code (#9653)
Summary:
dont -> don't
refered -> referred
This is a re-run of PR#7785 and acc9679
since these typos keep coming back.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/9653
Reviewed By: jay-zhuang
Differential Revision: D34879593
fbshipit-source-id: d7631fb779ea0129beae92abfb838038e60790f8
This commit is contained in:
parent
a62506aee2
commit
b7aaa98762
@ -567,7 +567,7 @@ Status DBImpl::CloseHelper() {
|
|||||||
// flushing by first checking if there is a need for
|
// flushing by first checking if there is a need for
|
||||||
// flushing (but need to implement something
|
// flushing (but need to implement something
|
||||||
// else than imm()->IsFlushPending() because the output
|
// 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) {
|
if (immutable_db_options_.experimental_mempurge_threshold > 0.0) {
|
||||||
Status flush_ret;
|
Status flush_ret;
|
||||||
mutex_.Unlock();
|
mutex_.Unlock();
|
||||||
|
@ -315,7 +315,7 @@ class MemTableList {
|
|||||||
// PickMemtablesToFlush() is called.
|
// PickMemtablesToFlush() is called.
|
||||||
void FlushRequested() {
|
void FlushRequested() {
|
||||||
flush_requested_ = true;
|
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.
|
// flush (eg: mempurge output memtable), then update imm_flush_needed.
|
||||||
// Note: if race condition and imm_flush_needed is set to true
|
// Note: if race condition and imm_flush_needed is set to true
|
||||||
// when there is num_flush_not_started_==0, then there is no
|
// when there is num_flush_not_started_==0, then there is no
|
||||||
|
@ -385,7 +385,7 @@ class WriteBatch : public WriteBatchBase {
|
|||||||
//
|
//
|
||||||
// in: cf, the column family id.
|
// in: cf, the column family id.
|
||||||
// ret: timestamp size of the given column family. Return
|
// ret: timestamp size of the given column family. Return
|
||||||
// std::numeric_limits<size_t>::max() indicating "dont know or column
|
// std::numeric_limits<size_t>::max() indicating "don't know or column
|
||||||
// family info not found", this will cause UpdateTimestamps() to fail.
|
// family info not found", this will cause UpdateTimestamps() to fail.
|
||||||
// size_t ts_sz_func(uint32_t cf);
|
// size_t ts_sz_func(uint32_t cf);
|
||||||
Status UpdateTimestamps(const Slice& ts,
|
Status UpdateTimestamps(const Slice& ts,
|
||||||
|
Loading…
Reference in New Issue
Block a user