You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
In-memory control plane: a failed UpdateTable or TagResource leaves earlier changes applied #92
Priority: medium. DynamoDB applies nothing of a request it refuses; the in-memory backend validates part of the request after applying the rest (backend/memory/admin.rs):
UpdateTable sets the billing mode before validating it, and creates and backfills global indexes before the stream check. Billing mode PROVISIONED (5, 5) together with re-enabling an enabled stream fails, but the table is now provisioned; a GSI creation together with the same stream error fails, but the index exists. billing_mode=PROVISIONED without throughput fails, leaves the table provisioned without capacity, and every later UpdateTable fails the same way, even deletion_protection_enabled=True.
TagResource adds the tags before checking the 50-tag limit: 45 tags plus 10 raise LimitExceededException, and ListTagsOfResource returns 55.
Fix: validate the whole request before changing the table.
Found in a review of the library for bugs (fctl session); the fixes that fit in its ten pull requests are #61 to #65, #67 to #70 and #72.
Activity
fix(memory): refused UpdateTable and TagResource requests change noth…