From 91332fa6bd854a5eb199288dbae8dca627f0d80f Mon Sep 17 00:00:00 2001 From: GoGoWen <82132356+GoGoWen@users.noreply.github.com> Date: Fri, 24 Dec 2021 21:32:49 +0800 Subject: [PATCH] [fix](reader) fix logic error for Tablet::capture_rs_readers (#7469) --- be/src/olap/tablet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/tablet.cpp b/be/src/olap/tablet.cpp index aae8e1e680..6508b1980c 100644 --- a/be/src/olap/tablet.cpp +++ b/be/src/olap/tablet.cpp @@ -659,7 +659,7 @@ OLAPStatus Tablet::capture_rs_readers(const std::vector& version_path, << ", version='" << version.first << "-" << version.second; it = _stale_rs_version_map.find(version); - if (it == _rs_version_map.end()) { + if (it == _stale_rs_version_map.end()) { LOG(WARNING) << "fail to find Rowset in stale_rs_version for version. tablet=" << full_name() << ", version='" << version.first << "-" << version.second;