-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: DataNode might OOM by estimating based on MemorySize #34201
Conversation
See also: milvus-io#34136 Signed-off-by: yangxuan <xuan.yang@zilliz.com>
See also: milvus-io#34136 pr: milvus-io#34201 Signed-off-by: yangxuan <xuan.yang@zilliz.com>
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #34201 +/- ##
==========================================
+ Coverage 80.84% 80.85% +0.01%
==========================================
Files 1085 1080 -5
Lines 137510 137860 +350
==========================================
+ Hits 111171 111471 +300
- Misses 22114 22159 +45
- Partials 4225 4230 +5
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@@ -556,6 +554,7 @@ dataNode: | |||
readBufferSizeInMB: 16 # The data block size (in MB) read from chunk manager by the datanode during import. | |||
compaction: | |||
levelZeroBatchMemoryRatio: 0.05 # The minimal memory ratio of free memory for level zero compaction executing in batch mode | |||
levelZeroMaxBatchSize: -1 # Max batch size refers to the max number of L1/L2 segments in a batch when executing L0 compaction. Default to -1, any value that is less than 1 means no limit. Valid range: >= 1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: # Max batch (in bytes) ...
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: congqixia, XuanYang-cn The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
See also: #34136