aws-samples / aws-samples/aws-dynamodb-examples
DynamboDb ignores new property in Entity when using Streams
- Dominant language
- TypeScript
- Stars
- 602
- Forks
- 242
- Avg merge
- 14m
- Merged PRs (30d)
- 2
Description
We had issue where a new Entity property was being missed from the DBStream New_Image event record. We couldn't understand why this occurred and the resolution we ended up using was to drop the database table and recreate it. However in production this wouldn't be a good outcome.
Any guidance to why this occurred and how to avoid it? FYI...Our solution is a .NET 6 code base using Servleress Framework for the deployment model.
Contributor guide
Research direction
The report names no file, test, or entry point; begin by locating the DynamoDB Streams New_Image handling and the entity/table definition in this repository. Reproduce the missing-property behavior and document a migration-safe way to make the new property appear without dropping the table.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100