Skip to content

Commit 7ae6d6b

Browse files
author
郭宁深
committed
small fix
1 parent 49f0928 commit 7ae6d6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/replica/duplication/load_from_private_log.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void load_from_private_log::find_log_file_to_start()
160160
decree cleanable_decree = _private_log->get_cleanable_decree();
161161
decree max_decree_gpid = _private_log->max_decree(get_gpid());
162162
CHECK(max_decree_gpid > cleanable_decree,
163-
"plog_file all error: max_decree_gpid {} , cleanable_decree {}",
163+
"plog files all error: max_decree_gpid {} , cleanable_decree {}",
164164
max_decree_gpid,
165165
cleanable_decree);
166166

@@ -175,8 +175,8 @@ void load_from_private_log::find_log_file_to_start()
175175

176176
gpid pid = get_gpid();
177177
decree previous_log_max_decree = file->previous_log_max_decree(pid);
178-
// These plog file has possible be deleted do not open_read next plog file , otherwise it
179-
// may coredump
178+
// These plog files has possible be deleted do not open_read() next plog file , otherwise it
179+
// may coredump.
180180
if (previous_log_max_decree <= cleanable_decree) {
181181
break;
182182
}

0 commit comments

Comments
 (0)