This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 018b4b7e1e [bugfix](report) fix continuous version miss check (#12415) 018b4b7e1e is described below commit 018b4b7e1ee2761ab1cbf1c89426c2d1c313b5fe Author: yixiutt <102007456+yixi...@users.noreply.github.com> AuthorDate: Thu Sep 8 08:39:22 2022 +0800 [bugfix](report) fix continuous version miss check (#12415) Co-authored-by: yixiutt <yi...@selectdb.com> --- 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 6aaeff9632..9acf5fb073 100644 --- a/be/src/olap/tablet.cpp +++ b/be/src/olap/tablet.cpp @@ -1386,7 +1386,7 @@ void Tablet::build_tablet_report_info(TTabletInfo* tablet_info, if (enable_consecutive_missing_check) { if (cversion.second < max_version.second) { if (_last_missed_version == cversion.second + 1) { - if (_last_missed_time_s - MonotonicSeconds() >= 60) { + if (MonotonicSeconds() - _last_missed_time_s >= 60) { // version missed for over 60 seconds tablet_info->__set_version_miss(true); _last_missed_version = -1; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org