milvus
milvus copied to clipboard
feat: Support stats task to sort segment by PK
issue: #33744
This PR includes the following changes:
- Added a new task type to the task scheduler in datacoord: stats task, which sorts segments by primary key.
- Implemented segment sorting in indexnode.
- Added a new field
FieldStatsLogto SegmentInfo to store token index information.
@xiaocai2333
Invalid PR Title Format Detected
Your PR submission does not adhere to our required standards. To ensure clarity and consistency, please meet the following criteria:
- Title Format: The PR title must begin with one of these prefixes:
feat:for introducing a new feature.fix:for bug fixes.enhance:for improvements to existing functionality.test: for add tests to existing functionality.doc: for modifying documentation.auto: for the pull request from bot.
- Description Requirement: The PR must include a non-empty description, detailing the changes and their impact.
Required Title Structure:
[Type]: [Description of the PR]
Where Type is one of feat, fix, enhance, test or doc.
Example:
enhance: improve search performance significantly
Please review and update your PR to comply with these guidelines.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
rerun ut
Codecov Report
Attention: Patch coverage is 82.77842% with 300 lines in your changes missing coverage. Please review.
Project coverage is 81.65%. Comparing base (
311f860) to head (974365b). Report is 8 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #35054 +/- ##
==========================================
+ Coverage 79.84% 81.65% +1.80%
==========================================
Files 1239 1256 +17
Lines 148031 150540 +2509
==========================================
+ Hits 118194 122922 +4728
+ Misses 25005 22730 -2275
- Partials 4832 4888 +56
| Files with missing lines | Coverage Δ | |
|---|---|---|
| internal/core/src/segcore/SegmentSealedImpl.h | 52.38% <100.00%> (-4.15%) |
:arrow_down: |
| internal/core/src/segcore/segment_c.cpp | 71.06% <100.00%> (+0.32%) |
:arrow_up: |
| internal/datacoord/analyze_meta.go | 100.00% <100.00%> (ø) |
|
| internal/datacoord/compaction.go | 74.10% <100.00%> (+9.83%) |
:arrow_up: |
| internal/datacoord/compaction_task.go | 90.00% <100.00%> (+1.11%) |
:arrow_up: |
| internal/datacoord/compaction_task_l0.go | 100.00% <100.00%> (+4.70%) |
:arrow_up: |
| internal/datacoord/compaction_task_mix.go | 64.40% <100.00%> (+7.38%) |
:arrow_up: |
| internal/datacoord/compaction_trigger.go | 84.96% <100.00%> (+2.57%) |
:arrow_up: |
| internal/datacoord/index_meta.go | 95.64% <100.00%> (+0.34%) |
:arrow_up: |
| internal/datacoord/server.go | 74.37% <100.00%> (+5.22%) |
:arrow_up: |
| ... and 43 more |
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 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.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
/run-cpu-e2e
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
/run-cpu-e2e
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.
@xiaocai2333 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.