Skip to content
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

enhance: [cherry-pick] clean failed/timeout compaction task in compactionHandler #35758

Closed
wants to merge 503 commits into from

Conversation

wayblink
Copy link
Contributor

issue: #35711
master pr:#34991

zhuwenxing and others added 30 commits July 8, 2024 12:54
Repeated calls to UpdateStatistics, this PR correct it.

issue: milvus-io#34440

pr: milvus-io#34441

Signed-off-by: bigsheeper <[email protected]>
…logs (milvus-io#34438) (milvus-io#34472)

Check if the segment exists during FlushSegments and add some key logs
in write path.

issue: milvus-io#34255

pr: milvus-io#34438

Signed-off-by: bigsheeper <[email protected]>
issue: milvus-io#34500
pr: milvus-io#34501

cause the sort in `GetLevel0Deletions` will broken the corresponed order
between pks and tss, then the pks and tss will be sorted in
segment.Delete() interface.

This PR remove this uncessary and incorrect sort progress to avoid query
may return deleted records.

Signed-off-by: Wei Liu <[email protected]>
…#34489)

Cherry-pick from master
pr: milvus-io#34488
See also milvus-io#33785

When config item is not present in paramtable, CAS fails due to
GetConfig returns error.

This PR make this returned err instance of ErrKeyNotFound and check
error type in \`CASCachedValue\` methods.

Signed-off-by: Congqi Xia <[email protected]>
Cherry-pick from master
pr: milvus-io#34529
Related to milvus-io#34508

The padding bytes shall be written only at the end of the mmap file not
the chunk of each field data file.

Signed-off-by: Congqi Xia <[email protected]>
…s-io#34538)

The nodeID for compaction task initialization is 0. This PR adjusts the
task reassignment conditions to allow new compaction tasks to be
reassigned and executed.

issue: milvus-io#34460

pr: milvus-io#34537

Signed-off-by: bigsheeper <[email protected]>
…us-io#34563)

When the main dispatcher has not yet consumed data, curTs is 0. During
this time, merging dispatchers should not be allowed; otherwise, the
data of the solo dispatcher will be skipped.

issue: milvus-io#34255

pr: milvus-io#34562

---------

Signed-off-by: bigsheeper <[email protected]>
Fix L0 compaction task recover unable to set segment
not isCompacting

See also: milvus-io#34460
pr: milvus-io#34583

Signed-off-by: yangxuan <[email protected]>

Signed-off-by: yangxuan <[email protected]>
…log panic. (milvus-io#34579)

Avoid panic when use deprecate error code and use merr code replace
deprecate common code.
relate: milvus-io#34578
pr: milvus-io#34576

---------

Signed-off-by: aoiasd <[email protected]>
This bug caused failed L0 compaction tasks never end.

See also: milvus-io#34460
pr: milvus-io#34597

---------

Signed-off-by: yangxuan <[email protected]>
weiliu1031 and others added 18 commits August 24, 2024 10:28
pr: milvus-io#35668

Signed-off-by: Patrick Weizhi Xu <[email protected]>
(cherry picked from commit 5404228)
…ilvus-io#35696)

Cherry-pick from master
pr: milvus-io#35416
Related to milvus-io#35415

---------

---------

Signed-off-by: Congqi Xia <[email protected]>
issue: milvus-io#35549,milvus-io#35611,milvus-io#35633
pr: milvus-io#35610

- remove milvus_segcore milvus_indexbuilder..., add libmilvus_core
- core building only link once
- move opendal compilation into cmake
- fix odr

---------

Signed-off-by: chyezh <[email protected]>
…ilvus-io#35700)

Each time the rate is reset, the token bucket is fully refilled, causing
the rate wasn't limited to the expected value. This PR addresses the
issue by preventing the token reset.

issue: milvus-io#35675,
milvus-io#35702

pr: milvus-io#35699

---------

Signed-off-by: bigsheeper <[email protected]>
@wayblink wayblink closed this Aug 28, 2024
@sre-ci-robot sre-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines. label Aug 28, 2024
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: wayblink
To complete the pull request process, please assign xiaofan-luan after the PR has been reviewed.
You can assign the PR to them by writing /assign @xiaofan-luan in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Contributor

mergify bot commented Aug 28, 2024

⚠️ The sha of the head commit of this PR conflicts with #35759. Mergify cannot evaluate rules on this PR. ⚠️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/compilation area/dependency Pull requests that update a dependency file area/internal-api area/test sig/testing size/XXL Denotes a PR that changes 1000+ lines. test/integration integration test
Projects
None yet
Development

Successfully merging this pull request may close these issues.