DynamoDB GSI returns stale or missing item after successful base-table write
A successful PutItem on a DynamoDB base table does not guarantee that a global secondary index (GSI) immediately reflects the new item. Because GSI updates are asynchronous, a subsequent Query on the GSI can return stale attributes or no matching item even though the base-table write succeeded. Assumes the current DynamoDB API and AWS SDK behavior. Goal: det