This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch opt_memtable_speed in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/opt_memtable_speed by this push: new f2a561531c [fix](sync) fix compiler error f2a561531c is described below commit f2a561531ccc42617a3d058e224174855b8940ae Author: Yongqiang YANG <dataroar...@gmail.com> AuthorDate: Sun Aug 20 00:29:09 2023 +0800 [fix](sync) fix compiler error --- be/src/io/fs/local_file_writer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/io/fs/local_file_writer.cpp b/be/src/io/fs/local_file_writer.cpp index e715ac8034..71ee269099 100644 --- a/be/src/io/fs/local_file_writer.cpp +++ b/be/src/io/fs/local_file_writer.cpp @@ -183,7 +183,7 @@ Status LocalFileWriter::_close(bool sync) { return Status::OK(); } _closed = true; - if (sync && _dirty && sync_dirty_data_on_close) { + if (sync && _dirty && config::sync_dirty_data_on_close) { #ifdef __APPLE__ if (fcntl(_fd, F_FULLFSYNC) < 0) { return Status::IOError("cannot sync {}: {}", _path.native(), std::strerror(errno)); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org