diff --git a/src/storage/meta/entry/table_index_entry.cpp b/src/storage/meta/entry/table_index_entry.cpp index 2a7895442..6e10cc251 100644 --- a/src/storage/meta/entry/table_index_entry.cpp +++ b/src/storage/meta/entry/table_index_entry.cpp @@ -246,7 +246,6 @@ nlohmann::json TableIndexEntry::Serialize(TxnTimeStamp max_commit_ts) { json["index_dir"] = *this->index_dir_; json["index_base"] = this->index_base_->Serialize(); - std::shared_lock r_lock(rw_locker_); for (const auto &[segment_id, index_entry] : this->index_by_segment_) { if (!index_entry->CheckDeprecate(max_commit_ts)) { segment_index_entry_candidates.push_back(index_entry);