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 e4585db32d4 [enhancement](err-msg) log out datadir path pattern when
disk exceed capacity limit #28320
e4585db32d4 is described below
commit e4585db32d4911ec36ce1b4fea24f063897d22a5
Author: Siyang Tang <[email protected]>
AuthorDate: Sat Dec 16 23:07:02 2023 +0800
[enhancement](err-msg) log out datadir path pattern when disk exceed
capacity limit #28320
---
be/src/olap/rowset/segment_v2/segment_writer.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/olap/rowset/segment_v2/segment_writer.cpp
b/be/src/olap/rowset/segment_v2/segment_writer.cpp
index ba05dce1664..cf208f08dc4 100644
--- a/be/src/olap/rowset/segment_v2/segment_writer.cpp
+++ b/be/src/olap/rowset/segment_v2/segment_writer.cpp
@@ -1019,8 +1019,8 @@ Status SegmentWriter::finalize(uint64_t*
segment_file_size, uint64_t* index_size
timer.start();
// check disk capacity
if (_data_dir != nullptr &&
_data_dir->reach_capacity_limit((int64_t)estimate_segment_size())) {
- return Status::Error<DISK_REACH_CAPACITY_LIMIT>("disk {} exceed
capacity limit.",
-
_data_dir->path_hash());
+ return Status::Error<DISK_REACH_CAPACITY_LIMIT>("disk {} exceed
capacity limit, path: {}",
+
_data_dir->path_hash(), _data_dir->path());
}
// write data
RETURN_IF_ERROR(finalize_columns_data());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]