You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by li...@apache.org on 2019/12/26 12:09:23 UTC

[incubator-doris] branch master updated: Add log to indicate version upon scan failed (#2582)

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

lichaoyong 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 3e3cdd8  Add log to indicate version upon scan failed (#2582)
3e3cdd8 is described below

commit 3e3cdd8f2e680c8dc50dae30c268b0819f862475
Author: lichaoyong <li...@baidu.com>
AuthorDate: Thu Dec 26 20:09:14 2019 +0800

    Add log to indicate version upon scan failed (#2582)
---
 be/src/olap/rowset/column_data.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/be/src/olap/rowset/column_data.cpp b/be/src/olap/rowset/column_data.cpp
index 0f849c6..781b063 100644
--- a/be/src/olap/rowset/column_data.cpp
+++ b/be/src/olap/rowset/column_data.cpp
@@ -478,7 +478,9 @@ OLAPStatus ColumnData::get_first_row_block(RowBlock** row_block) {
     res = _get_block(false);
     if (res != OLAP_SUCCESS) {
         if (res != OLAP_ERR_DATA_EOF) {
-            OLAP_LOG_WARNING("fail to load data to row block. [res=%d]", res);
+            LOG(WARNING) << "fail to load data to row block. res=" << res
+                         << ", version=" << version().first
+                         << "-" << version().second;
         }
         *row_block = nullptr;
         return res;


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