Skip to content

Commit

Permalink
fix some misspellings
Browse files Browse the repository at this point in the history
Summary:
PTAL ajkr
Closes facebook#2750

Differential Revision: D5648052

Pulled By: ajkr

fbshipit-source-id: 7cd1ddd61364d5a55a10fdd293fa74b2bf89dd98
  • Loading branch information
follitude authored and facebook-github-bot committed Aug 17, 2017
1 parent 2359317 commit ac8fb77
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion db/db_impl_write.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ Status DBImpl::SwitchMemtable(ColumnFamilyData* cfd, WriteContext* context) {
SuperVersion* new_superversion = nullptr;
const MutableCFOptions mutable_cf_options = *cfd->GetLatestMutableCFOptions();

// Set current_memtble_info for memtable sealed callback
// Set memtable_info for memtable sealed callback
#ifndef ROCKSDB_LITE
MemTableInfo memtable_info;
memtable_info.cf_name = cfd->GetName();
Expand Down
2 changes: 1 addition & 1 deletion options/cf_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ struct ImmutableCFOptions {
bool advise_random_on_open;

// This options is required by PlainTableReader. May need to move it
// to PlainTalbeOptions just like bloom_bits_per_key
// to PlainTableOptions just like bloom_bits_per_key
uint32_t bloom_locality;

bool purge_redundant_kvs_while_flush;
Expand Down
4 changes: 2 additions & 2 deletions utilities/blob_db/blob_db_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ TEST_F(BlobDBTest, GCAfterOverwriteKeys) {
VerifyDB(data);
}

TEST_F(BlobDBTest, GCRelocateKeyWhileOverwritting) {
TEST_F(BlobDBTest, GCRelocateKeyWhileOverwriting) {
Random rnd(301);
BlobDBOptions bdb_options;
bdb_options.disable_background_tasks = true;
Expand Down Expand Up @@ -650,7 +650,7 @@ TEST_F(BlobDBTest, GCRelocateKeyWhileOverwritting) {
VerifyDB({{"foo", "v2"}});
}

TEST_F(BlobDBTest, GCExpiredKeyWhileOverwritting) {
TEST_F(BlobDBTest, GCExpiredKeyWhileOverwriting) {
Random rnd(301);
Options options;
options.env = mock_env_.get();
Expand Down
2 changes: 1 addition & 1 deletion utilities/transactions/pessimistic_transaction_db.cc
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ Transaction* PessimisticTransactionDB::BeginInternalTransaction(

// All user Put, Merge, Delete, and Write requests must be intercepted to make
// sure that they lock all keys that they are writing to avoid causing conflicts
// with any concurent transactions. The easiest way to do this is to wrap all
// with any concurrent transactions. The easiest way to do this is to wrap all
// write operations in a transaction.
//
// Put(), Merge(), and Delete() only lock a single key per call. Write() will
Expand Down

0 comments on commit ac8fb77

Please sign in to comment.