yiguolei commented on code in PR #13487:
URL: https://github.com/apache/doris/pull/13487#discussion_r1007546864
##########
be/src/olap/rowset/beta_rowset_writer.cpp:
##########
@@ -67,8 +67,13 @@ BetaRowsetWriter::~BetaRowsetWriter() {
Status BetaRowsetWriter::init(const RowsetWriterContext&
rowset_writer_context) {
_context = rowset_writer_context;
_rowset_meta.reset(new RowsetMeta);
- if (_context.data_dir) {
+ if (_context.fs == nullptr && _context.data_dir) {
Review Comment:
if context.fs == nullptr and context.data_dir is also nullptr, then what
happen?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]