diff --git a/src/storage/meta/entry/segment_index_entry.cpp b/src/storage/meta/entry/segment_index_entry.cpp index ef3cf6e61c..cfb5b67b70 100644 --- a/src/storage/meta/entry/segment_index_entry.cpp +++ b/src/storage/meta/entry/segment_index_entry.cpp @@ -1212,7 +1212,7 @@ UniquePtr SegmentIndexEntry::Deserialize(const nlohmann::json segment_index_entry->ft_column_len_sum_ = index_entry_json["ft_column_len_sum"]; segment_index_entry->ft_column_len_cnt_ = index_entry_json["ft_column_len_cnt"]; - if (index_entry_json["deprecate_ts"].is_null() || index_entry_json["deprecate_ts"] == UNCOMMIT_TS) { + if (!index_entry_json.contains("deprecate_ts") || index_entry_json["deprecate_ts"] == UNCOMMIT_TS) { segment_index_entry->deleted_ = false; } else { segment_index_entry->deleted_ = true;