Skip to content

feat: [3.0] expose compaction lifecycle observability metadata - #669

Merged
sre-ci-robot merged 1 commit into
milvus-io:3.0from
MrPresent-Han:codex/compaction-e2e-observability-proto-3.0
Sep 15, 2026
Merged

sre-ci-robot merged 1 commit into
milvus-io:3.0from
MrPresent-Han:codex/compaction-e2e-observability-proto-3.0

Conversation

@MrPresent-Han

Copy link
Copy Markdown
Contributor

pr: #668
issue: #667

Backports #668 at 4989b8d to 3.0, exposing the metadata clients need to observe segment lineage and compaction tasks.

  • Add segment-state filtering, insert-channel ownership, and direct compaction sources.
  • Support collection-wide retained task queries while preserving job-ID lookup, with explicit selector semantics.
  • Expose task identity, typed task state and compaction type, failure reason, and complete source/target sets while retaining the legacy first target.

Go bindings were regenerated from the 3.0 schemas using the repository's existing generator versions; the source proto changes match #668.

Validation: go test -p 6 -timeout 90s ./... passed in go-api, and git diff --check passed.

Backport milvus-io#668 at 4989b8d; regenerate Go bindings against the 3.0 schemas.

Signed-off-by: MrPresent-Han <chun.han@gmail.com>
@mergify

mergify Bot commented Sep 14, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@congqixia congqixia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sre-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, MrPresent-Han

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

The pull request process is described here

Details 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

@sre-ci-robot
sre-ci-robot merged commit 9e4f0eb into milvus-io:3.0 Sep 15, 2026
5 checks passed
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this pull request Sep 15, 2026
) (#3799)

## What changed

- Bump the PyMilvus 3.0 `milvus-proto` submodule from `0d1eefd` to
`9e4f0eb`.
- Regenerate the Python protobuf bindings from merged
`milvus-io/milvus-proto#669`.

## Why

This establishes the 3.0 protocol baseline required by the compaction
lifecycle observability backport without mixing generated protocol
changes into the feature PR.

## Verification

- `make check_proto_product`
- Related PyMilvus unit tests

pr: #3797

Signed-off-by: MrPresent-Han <chun.han@gmail.com>
Co-authored-by: MrPresent-Han <chun.han@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants