Cassandra ttl_integration: test_ttl_enable_rejects_asynchronous_gsi asserts a refusal wording #384 replaced; masked by continue-on-error
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 74/100
Hướng nghiên cứu
Bắt đầu với crates/storage-cassandra/tests/ttl_integration.rs::test_ttl_enable_rejects_asynchronous_gsi và so sánh chuỗi con được kiểm tra với async_gsi_ttl_refusal trong crates/storage-cassandra/src/metadata_engine.rs và bài kiểm thử đơn vị liền kề. Chạy cargo test -p extenddb-storage-cassandra --test ttl_integration -- --test-threads=1 với Cassandra 4.1. Công việc hoàn tất khi bài kiểm thử tích hợp mong đợi câu từ chối hiện tại và chạy thành công; sau đó kiểm tra xem bước CI của TTL có lỗi nào khác khi bỏ continue-on-error hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
crates/storage-cassandra/tests/ttl_integration.rs::test_ttl_enable_rejects_asynchronous_gsi fails on every run of main, and the cassandra-storage job does not report it because the TTL step runs with continue-on-error: true.
The test asserts
matches!(result, Err(StorageError::Validation(message)) if message.contains("asynchronously propagated GSIs"))
and the engine's refusal (async_gsi_ttl_refusal in crates/storage-cassandra/src/metadata_engine.rs) reads
Time to Live cannot be enabled on table <name>: the Cassandra backend does not support TTL on a table with an asynchronously propagated global secondary index, and index <index> propagates after <n> ms (...)
The substring the test looks for was the wording before 9d132022 (#384) replaced it. The unit test beside the function pins the current wording, so the two tests disagree and only one of them runs in a step whose result counts.
Observed 2026-10-25 on the cassandra-storage job of run 40193137961 (fix/505-deleting-window-answers, no change to this path) and on 2026-10-24 on run 40044685053 (fix/pg-gsi-create-race). Locally against a cassandra:4.1 node at 744ea291: cargo test -p extenddb-storage-cassandra --test ttl_integration -- --test-threads=1 gives 26 passed, 1 failed, 1 ignored, this test the failure, on two runs.
Fix: change the asserted substring to the current wording (asynchronously propagated global secondary index) or call async_gsi_ttl_refusal for the expected text. Separately, the continue-on-error: true on the TTL step cites #338, which is the merged in-tree storage PR rather than an open flake issue; with this test corrected, the step should be run once with the flag removed to see whether anything else in the binary still fails under CI load.
- Ngôn ngữ chính
- Rust
- Star
- 517
- Fork
- 60
- Merge trung bình
- 2 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 25
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ExtendDB/extenddb
-
backend:mongodb bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 2 ngày
-
backend:cassandra bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[storage.cassandra] accepts unknown keys silentlyCó thể đã có người làm @LeeroyHannigan đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ExtendDB/extenddb#540 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của ExtendDB/extenddb
Issue tương tự
-
vorbis: Inverse coupling runs in wrong orderCó thể đã có người làm @computerfan đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
area:kernel needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
bherbruck/solvecraft#8454 · 1 reaction ·
-
Add `Path.parent`Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
audit(c2): assert [profile.release] parity across RUST_MANIFESTS in scripts/ci/check-workfl (C2-26)Đang mởhygiene type:refactor
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày