The ReturnValues refusal texts on PutItem, DeleteItem and UpdateItem differ from DynamoDB's current texts
Maintainer thường phản hồi trong vòng 5 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
- 77/100
Hướng nghiên cứu
Đọc RETURN_VALUES_BARE_CLAUSE trong crates/engine/src/lib.rs và ba bài kiểm thử cho cả hai mục tiêu trong tests/test_wording_parity_validation.py. Cập nhật câu chữ DynamoDB mong đợi cho enum và các lỗi xác thực của PutItem và DeleteItem, sau đó chạy các bài kiểm thử này với ExtendDB và DynamoDB. Hoàn thành khi cả hai phần triển khai tạo ra các văn bản hiện tại được nêu trong issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
ExtendDB answers a ReturnValues outside its set with Member must satisfy enum value set: [ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATE_NEW, NONE]. DynamoDB now lists UPDATED_NEW in that text on PutItem, DeleteItem and UpdateItem. For a ReturnValues that PutItem or DeleteItem does not allow, DynamoDB now starts ReturnValues can only be ALL_OLD or NONE with 1 validation error detected: , and ExtendDB sends the text without it.
Measured in us-east-1 on 2026-11-20 at 02:12:52 UTC (the first row) and 02:53:58 UTC (the next three). Each request went out twice and got the same answer both times. The key is absent. The ExtendDB column is a SQLite server built from the head of #558 at b4260658d. A server built from main at deed34631 gives the same answer to the first row.
| Request | DynamoDB | ExtendDB |
|---|---|---|
UpdateItem, UpdateExpression SET #w = :v, ConditionExpression #v = :zz, ReturnValues BOGUS |
1 validation error detected: Failed to satisfy constraint: Member must satisfy enum value set: [ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW, NONE] |
1 validation error detected: Failed to satisfy constraint: Member must satisfy enum value set: [ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATE_NEW, NONE] |
UpdateItem, UpdateExpression SET w = :v, ReturnValues BOGUS |
the UPDATED_NEW text of the first row |
the UPDATE_NEW text of the first row |
PutItem, ReturnValues BOGUS |
the UPDATED_NEW text of the first row |
the UPDATE_NEW text of the first row |
DeleteItem, ReturnValues BOGUS |
the UPDATED_NEW text of the first row |
the UPDATE_NEW text of the first row |
Three dual-target tests in tests/test_wording_parity_validation.py assert the older texts. They pass on ExtendDB and failed against DynamoDB in two runs on 2026-11-20, from 03:25:44 to 03:26:28 UTC and from 03:26:50 to 03:27:31 UTC:
| Test | Request | DynamoDB | Test and ExtendDB |
|---|---|---|---|
test_put_invalid_return_values_enum |
PutItem, ReturnValues GARBAGE |
the UPDATED_NEW text of the first row |
the UPDATE_NEW text of the first row |
test_put_disallowed_return_values |
PutItem, ReturnValues UPDATED_OLD |
1 validation error detected: ReturnValues can only be ALL_OLD or NONE |
ReturnValues can only be ALL_OLD or NONE |
test_delete_disallowed_return_values |
DeleteItem, ReturnValues ALL_NEW |
1 validation error detected: ReturnValues can only be ALL_OLD or NONE |
ReturnValues can only be ALL_OLD or NONE |
RETURN_VALUES_BARE_CLAUSE in crates/engine/src/lib.rs holds the enum text for the three operations. Its doc says that the service wrote UPDATE_NEW in a measurement of 2026-08-24. The measurements above show the service's current texts.
- Ngôn ngữ chính
- Rust
- Star
- 517
- Fork
- 60
- Merge trung bình
- 5 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 132
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
-
Độ 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 5 ngày
-
Độ 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 5 ngày
-
bug
Độ 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 5 ngày
-
test_backup_job.py: the store outage test lists the restore spool before the job removes its entryĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 5 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 5 ngày
Tất cả issue của ExtendDB/extenddb
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
marketing
Độ 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
-
5 advisory ignore entries no longer match anything in `Cargo.lock`Có thể đã có người làm @zyl71 đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày