Deletes that don't change the state of the database visible to the user (e.g. an attempt to delete a missing item) shouldn't produce a cdc log. This commit addresses this DynamoDB compatibility issue if the delete is a partition delete, a row delete, or a cell delete. It works under the assumption that the change was produced by Alternator. This means that it doesn't support range deletes, static row deletes, deletes of collection cells other than a map, etc. See also its parent commit, which introduces the methods that this commit extends. This commit handles the following cases: - `DeleteItem of nonexistent item: nothing`, - `BatchWriteItem.DeleteItem of nonexistent item: nothing`. Refs https://github.com/scylladb/scylladb/pull/26121
35 KiB
35 KiB