-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: Fix memory buffer error & some renaming #33850
Conversation
rerun ut |
if (remained+1)%100 == 0 { | ||
t.rowMemoryEstimationOnce.Do(func() { | ||
clusterBuffer.writer.IsFull() | ||
t.rowMemoryEstimation = int64(clusterBuffer.writer.WrittenMemorySize()) / clusterBuffer.writer.GetRowNum() |
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.
The method may be inaccurate that estimation the row memory, if it has variable-length field, such as JSON, String, Array, etc.
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.
Keep the original writing.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #33850 +/- ##
==========================================
- Coverage 80.89% 80.88% -0.02%
==========================================
Files 1063 1064 +1
Lines 136139 136264 +125
==========================================
+ Hits 110136 110212 +76
- Misses 21817 21851 +34
- Partials 4186 4201 +15
|
@wayblink Thanks for your contribution. Please submit with DCO, see the contributing guide https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md#developer-certificate-of-origin-dco. |
1347914
to
152f09e
Compare
152f09e
to
dca246d
Compare
@wayblink E2e jenkins job failed, comment |
Signed-off-by: wayblink <anyang.wang@zilliz.com>
Signed-off-by: wayblink <anyang.wang@zilliz.com>
6ff412d
to
57e265e
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: czs007, wayblink, xiaocai2333 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 |
milvus-io#30633 --------- Signed-off-by: wayblink <anyang.wang@zilliz.com>
--------- Signed-off-by: wayblink <anyang.wang@zilliz.com>
--------- Signed-off-by: wayblink <anyang.wang@zilliz.com>
--------- Signed-off-by: wayblink <anyang.wang@zilliz.com>
--------- Signed-off-by: wayblink <anyang.wang@zilliz.com>
This PR cherry-picks the following commits: - fix: sync partitiion stats blocking balance task #33742 - fix: Fix meta prefix overlap bug #33830 - fix: Small fixs of major compaction #33929 - fix: Fix memory buffer error & some renaming #33850 - fix: sync part stats task cannot be finished #34027 - Add an option to enable/disable vector field clustering key #34097 - fix: fix error ignore in compactor #34169 - fix:load major compaction partial result #34052 - Use new stream segment reader in clustering compaction #34232 issue: #30633 pr: #33742 #33830 #33929 #33850 #34027 #34097 #34169 #34052 #34232 --------- Signed-off-by: MrPresent-Han <chun.han@zilliz.com> Signed-off-by: wayblink <anyang.wang@zilliz.com> Signed-off-by: MrPresent-Han <chun.han@gmail.com> Co-authored-by: Chun Han <116052805+MrPresent-Han@users.noreply.github.com> Co-authored-by: MrPresent-Han <chun.han@gmail.com>
#30633