Files
milvus/tests/scripts/ci_compaction_integrity.sh
15fcd798cf test: add continuous streaming data integrity draft (#53307) (#53868)
issue: #53307

## What changed

- Add a Phase 2 draft continuous-streaming DataIntegrity L3 workload
with concurrent MutationIngress and ImportIngress lanes, no manual
flush, and no manual compaction during streaming.
- Extend the Phase 1 framework through opt-in sequence, level, and
filtered-verification helpers while keeping existing cases unchanged.
- Add the Phase 2 design contract and include the draft workload in the
existing dedicated serial DataIntegrity job.
- After automatic coverage and final ingress verification pass, request
one post-ingress compaction and require Phase 1 lineage/serving
checkpoints, fenced full-data verification, and release/load
verification; this does not establish per-Delete L0 attribution.
- Keep fixed epochs without producer/validator coordination; missing
suffix progress fails with explicit coverage diagnostics for CI
failure-rate measurement.

## Validation

- Related DataIntegrity unit tests: 202 passed.
- Ruff, format checks, and scoped git diff checks passed.
- This review update was verified in medium mode; the new post-ingress
compaction phase has not yet been rerun against a live cluster.

Signed-off-by: MrPresent-Han <[email protected]>
Co-authored-by: MrPresent-Han <[email protected]>
Co-authored-by: GPT-5 <[email protected]>
2026-09-30 14:21:36 +08:00

34 lines
1.4 KiB
Bash
Executable File

#!/usr/bin/env bash
# Licensed to the LF AI & Data foundation under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -euo pipefail
# The dedicated job owns deployment, dependencies, timeout, and artifact retention.
# Never invoke this entry from the shared per-PR or Nightly runner.
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
cd "${ROOT}/tests/python_client"
# Preserve caller connection options and filters; keep workload selection serial.
exec pytest "$@" \
-n 0 \
--tags L3 \
--run-compaction-integrity-serial \
-m compaction_data_integrity_serial \
milvus_client/test_milvus_client_data_integrity.py::TestMilvusClientCompactionDataIntegrity \
milvus_client/test_milvus_client_continuous_data_integrity.py::TestMilvusClientContinuousStreamingDataIntegrity