This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch dev-1.1.2 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/dev-1.1.2 by this push: new 4155b1e4d8 [bugfix](report) fix continuous version miss check (#12415) 4155b1e4d8 is described below commit 4155b1e4d8f8ced95d1ddabe2cb45fa3f58b7bff 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 61c727769a..5991989a77 100644 --- a/be/src/olap/tablet.cpp +++ b/be/src/olap/tablet.cpp @@ -1344,7 +1344,7 @@ void Tablet::build_tablet_report_info(TTabletInfo* tablet_info, bool enable_cons 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