Exception: ActiveStorage::AwsRecord::TransactionTooLarge

Inherits:
StandardError
  • Object
show all
Defined in:
lib/active_storage/aws_record/transaction.rb

Overview

Raised, before any write, when a batched attachment change would exceed DynamoDB’s hard 100-action limit for transact_write_items. The operation fails closed rather than chunking or falling back to per-row deletes — both of which would reintroduce the partial-clear bug this batching exists to prevent. Split the change into smaller batches instead.