Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

UpdateTable GSI create on an undefined key attribute: sentence differs from the service

Đang mở Phù hợp với người mới
#520 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@LeeroyHannigan đang làm issue này rồi.

Từ ngày 25/10/2026.

  • #548 của @LeeroyHannigan — đang mở

Đá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
76/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
database

Hướng nghiên cứu

Bắt đầu tại crates/core/src/validation/mod.rs và lần theo luồng xác thực UpdateTable cho một Create của GlobalSecondaryIndexUpdates có thuộc tính khóa không có trong AttributeDefinitions. So sánh với luồng CreateTable và các câu dịch vụ trong issue. Thêm một hàng wire cho mỗi luồng; hoàn tất khi UpdateTable nêu tên chỉ mục còn CreateTable giữ nguyên câu hiện có.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Summary

An UpdateTable GlobalSecondaryIndexUpdates Create whose key attribute is not in AttributeDefinitions is refused on both sides, with different sentences.

Message
Service (measured 2026-10-24, twice) One or more parameter values were invalid: AttributeDefinitions is not specified for index: <index name>
ExtendDB (crates/core/src/validation/mod.rs) One or more parameter values were invalid: Some index key attributes are not defined in AttributeDefinitions. Keys: [<attr>], AttributeDefinitions: [...]

ExtendDB's sentence is the one the service uses for CreateTable with the same defect; on UpdateTable the service names the index instead of the keys. Whether the CreateTable form on the service still matches ExtendDB's was not re-measured here.

Fix shape

On the UpdateTable path, render the per-index sentence with the index name; keep the CreateTable sentence. One wire row for each path.

Found while reviewing #515.

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ExtendDB/extenddb

Tất cả issue của ExtendDB/extenddb

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.