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

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

commit fbac57f8daf013412cf980a830e2e86aefd206e3
Author: Luwei <814383...@qq.com>
AuthorDate: Fri Oct 20 19:51:41 2023 +0800

    [fix](log)  fix the problem of parameter mismatch when printing logs 
(#25649)
---
 be/src/olap/rowset/beta_rowset.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/rowset/beta_rowset.cpp 
b/be/src/olap/rowset/beta_rowset.cpp
index a8668b17701..c635f48df4b 100644
--- a/be/src/olap/rowset/beta_rowset.cpp
+++ b/be/src/olap/rowset/beta_rowset.cpp
@@ -245,7 +245,7 @@ Status BetaRowset::link_files_to(const std::string& dir, 
RowsetId new_rowset_id,
         //     use copy? or keep refcount to avoid being delete?
         if (!local_fs->link_file(src_path, dst_path).ok()) {
             return Status::Error<OS_ERROR>("fail to create hard link. from={}, 
to={}, errno={}",
-                                           src_path, dst_path);
+                                           src_path, dst_path, Errno::no());
         }
         for (auto& index : _schema->indexes()) {
             if (index.index_type() != IndexType::INVERTED) {


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

Reply via email to