From 7ddc096d7d0b084b072ca83ef81aa906744b305a Mon Sep 17 00:00:00 2001 From: James Yin Date: Fri, 27 Aug 2021 12:09:13 -0700 Subject: [PATCH] Fix typo in the comment of log_empty_ (#8711) Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/8711 Reviewed By: riversand963 Differential Revision: D30566761 Pulled By: jay-zhuang fbshipit-source-id: dd4690f5e2af2d263ed75ea1b9ed24692fe81362 --- db/db_impl/db_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db_impl/db_impl.h b/db/db_impl/db_impl.h index 68107a0e8..e558edc65 100644 --- a/db/db_impl/db_impl.h +++ b/db/db_impl/db_impl.h @@ -2015,7 +2015,7 @@ class DBImpl : public DB { // accessed from the same write_thread_ without any locks. With // two_write_queues writes, where it can be updated in different threads, // read and writes are protected by log_write_mutex_ instead. This is to avoid - // expesnive mutex_ lock during WAL write, which update log_empty_. + // expensive mutex_ lock during WAL write, which update log_empty_. bool log_empty_; ColumnFamilyHandleImpl* persist_stats_cf_handle_;