You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2021/12/24 13:32:59 UTC

[incubator-doris] branch master updated: [fix](reader) fix logic error for Tablet::capture_rs_readers (#7469)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 91332fa  [fix](reader) fix logic error for Tablet::capture_rs_readers (#7469)
91332fa is described below

commit 91332fa6bd854a5eb199288dbae8dca627f0d80f
Author: GoGoWen <82...@users.noreply.github.com>
AuthorDate: Fri Dec 24 21:32:49 2021 +0800

    [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 aae8e1e..6508b19 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>& 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;

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org