From 77e9dfad9f685b398eb4f886ef5b0c8d724d7c30 Mon Sep 17 00:00:00 2001 From: caodhuan Date: Tue, 22 Jan 2019 10:10:40 +0800 Subject: [PATCH] add:compact_pointers_ should be clear when Clear() called --- db/version_edit.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/db/version_edit.cc b/db/version_edit.cc index f10a2d5..f1fb534 100644 --- a/db/version_edit.cc +++ b/db/version_edit.cc @@ -34,6 +34,7 @@ void VersionEdit::Clear() { has_prev_log_number_ = false; has_next_file_number_ = false; has_last_sequence_ = false; + compact_pointers_.clear(); deleted_files_.clear(); new_files_.clear(); }