You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zh...@apache.org on 2023/07/13 11:16:49 UTC

[doris] 02/02: [fix](compile) fix be compile error (#21765)

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

zhangchen pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 41d1fb376c4e9faf6dd01ae9a1cd502087b53962
Author: Xin Liao <li...@126.com>
AuthorDate: Wed Jul 12 21:14:04 2023 +0800

    [fix](compile) fix be compile error (#21765)
    
    * [fix](compile) fix be compile error
    
    * remove warning
---
 be/src/olap/olap_meta.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/be/src/olap/olap_meta.cpp b/be/src/olap/olap_meta.cpp
index ef728caaf6..29bb48cf43 100644
--- a/be/src/olap/olap_meta.cpp
+++ b/be/src/olap/olap_meta.cpp
@@ -228,8 +228,7 @@ Status OlapMeta::put(rocksdb::WriteBatch* batch) {
     }
 
     if (!s.ok()) {
-        LOG(WARNING) << "rocks db put batch failed, reason:" << s.ToString();
-        return Status::Error<META_PUT_ERROR>();
+        return Status::Error<META_PUT_ERROR>("rocks db put failed, reason: {}", s.ToString());
     }
     return Status::OK();
 }


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