mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-04 05:53:13 +00:00
Merged pull request https://github.com/scylladb/scylla/pull/7063 By Calle Wilund: Fixes #6935 DynamoDB streams for some reason duplicate the record keys into both the "Keys" and "OldImage"/"NewImage" sub-objects when doing GetRecords. But only if there is other data to include. This patch appends the pk/ck parts into old/new image iff we had any record data. Updated to handle keys-only updates, and distinguish creating vs. updating rows. Changes cdc to not generate preimage for non-existent/deleted rows, and also fixes missing operations/ttls in keys-only delta mode. alternator_streams: Include keys in OldImage/NewImage cdc: Do not generate pre/post image for non-existent rows