chaoyli commented on a change in pull request #1702: Limit the disk usage to
avoid running out of disk capacity
URL: https://github.com/apache/incubator-doris/pull/1702#discussion_r317560951
##########
File path: be/src/olap/compaction.cpp
##########
@@ -186,4 +186,17 @@ OLAPStatus Compaction::check_correctness(const Merger&
merger) {
return OLAP_SUCCESS;
}
+OLAPStatus Compaction::check_disk_capacity() {
+ int64_t incoming_data_size = 0;
Review comment:
only in SegmentWriter will be ok. All writers only go through the
SegmentWriter.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]