The RestoreTableFromBackup response for a PROVISIONED table has no BillingModeSummary and no NumberOfDecreasesToday, where DynamoDB sends both
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
- 78/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ệ
- mongodb, postgresql, rust, sqlite
- Lĩnh vực
- backend-api-design, database
Hướng nghiên cứu
Đọc crates/engine/src/backup.rs, tập trung vào restore_response và chú thích tài liệu của hàm. Kiểm tra cách hàm tạo phản hồi từ mô tả của backend cho một đích PROVISIONED; issue đề xuất đặt BillingModeSummary và NumberOfDecreasesToday thành 0. Hoàn tất khi phản hồi khôi phục bao gồm cả hai thành viên và chú thích khớp với hành vi quan sát được; issue không nêu bài kiểm tra nào cần chạy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
DynamoDB's RestoreTableFromBackup response for a backup of a PROVISIONED table carries "BillingModeSummary": {"BillingMode": "PROVISIONED"}, and "NumberOfDecreasesToday": 0 in ProvisionedThroughput. ExtendDB's response has neither member, on SQLite, PostgreSQL, MongoDB and Cassandra. Apart from these two, the TableDescription of the response has the same members on both sides.
Measured in us-east-1 on 20 Nov 2026, twice, with the same answers both times. Each run created a PROVISIONED 5/7 table keyed on pk (S), raised it to 9/11, waited for ACTIVE, made a backup and restored it to a new table.
TableDescription member of the RestoreTableFromBackup response |
DynamoDB | ExtendDB |
|---|---|---|
BillingModeSummary |
{"BillingMode": "PROVISIONED"} |
absent |
ProvisionedThroughput |
{"NumberOfDecreasesToday": 0, "ReadCapacityUnits": 9, "WriteCapacityUnits": 11} |
{"ReadCapacityUnits": 9, "WriteCapacityUnits": 11} |
The DescribeTable of the restored table once ACTIVE carries no BillingModeSummary on DynamoDB either, so only the response differs there. Its NumberOfDecreasesToday is a separate difference, in #1197.
ExtendDB ran on the fix for #1035, stacked on #1093's head 8ec2603ea, on all four backends, and on #1093's head on SQLite. All of them gave the answer above.
restore_response in crates/engine/src/backup.rs builds the response from the backend's description. Its doc comment says that DynamoDB omits ProvisionedThroughput.NumberOfDecreasesToday from this response. On 20 Nov DynamoDB sent it in both runs. The backends describe a PROVISIONED table with no BillingModeSummary, and the function keeps what the backend gives.
Proposed change: in restore_response, set BillingModeSummary with BillingMode PROVISIONED and send NumberOfDecreasesToday 0 for a PROVISIONED target, and correct the doc comment. A restore to a PAY_PER_REQUEST target was not measured in this run.
- 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 77/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ự
-
[App Request] ZaptideĐang mởapp-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
flatpark/flatpark#1423 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
helix-editor/termina#35 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
Add coverage reportsĐang mởtype:ci
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/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