Kamil Braun
a1e235b1a4
CDC: Don't split collection tombstone away from base update
...
Overwriting a collection cell using timestamp T is a process with
following steps:
1. inserting a row marker (if applicable) with timestamp T;
2. writing a collection tombstone with timestamp T-1;
3. writing the new collection value with timestamp T.
Since CDC does clustering of the operations by timestamp, this
would result in 3 separate calls to `transform` (in case of
INSERT, or 2 - in the case of UPDATE), which seems excessive,
especially when pre-/postimage is enabled. This patch makes
collection tombstones being treated as if they had the same TS as
the base write and thus they are processed in one call to `transform`
(as long as TTLs are not used).
Also, `cdc_test` had to be updated in places that relied on former
splitting strategy.
Fixes #6084
2020-06-07 17:09:05 +03:00
..
2020-05-21 18:26:59 +03:00
2020-05-18 16:05:23 +02:00
2020-06-01 16:11:49 +02:00
2020-05-28 11:34:35 +03:00
2020-03-05 11:38:11 +03:00
2020-05-28 11:34:35 +03:00
2020-04-21 15:10:28 +02:00
2020-06-07 17:09:05 +03:00
2020-03-10 13:13:48 -07:00
2020-05-28 11:34:35 +03:00
2020-05-07 16:19:56 +03:00
2020-04-09 11:22:49 +02:00
2020-05-28 11:34:35 +03:00
2020-02-20 10:43:41 +01:00
2020-03-23 23:19:21 +03:00
2020-03-16 20:27:45 +03:00
2020-03-16 20:27:45 +03:00
2020-03-16 20:27:45 +03:00
2020-03-16 20:27:45 +03:00
2020-05-17 12:28:36 +03:00
2020-03-05 11:38:11 +03:00
2020-06-03 10:32:46 -07:00
2020-05-26 20:46:45 +03:00
2020-01-05 17:20:31 +02:00
2020-06-03 14:44:00 +02:00
2020-03-05 16:09:44 +01:00
2020-02-16 17:23:36 +03:00
2020-05-28 11:34:35 +03:00
2020-04-05 12:46:04 +03:00
2020-05-13 16:51:25 -04:00
2020-04-05 12:46:04 +03:00
2020-03-16 20:26:34 +03:00
2020-03-04 13:28:16 +02:00
2020-05-13 09:37:39 +03:00
2020-03-05 11:38:11 +03:00
2020-05-26 20:49:58 +03:00
2020-05-27 15:51:16 +03:00
2020-05-28 11:34:35 +03:00
2020-05-28 11:34:35 +03:00
2020-05-31 16:08:02 +03:00
2020-05-28 11:34:35 +03:00
2020-05-28 11:34:35 +03:00
2020-06-03 17:35:22 +03:00
2020-05-28 11:34:35 +03:00
2020-04-22 16:28:07 +08:00
2020-03-05 11:38:11 +03:00
2020-03-15 10:25:20 +01:00
2020-02-05 09:31:32 +01:00
2020-04-22 18:24:54 +02:00
2020-05-28 11:34:35 +03:00
2020-02-18 16:16:20 +02:00
2020-02-05 09:31:32 +01:00
2020-03-05 11:38:11 +03:00
2020-03-05 11:38:11 +03:00
2020-05-28 11:34:35 +03:00
2020-06-05 14:30:02 +02:00
2020-05-28 11:34:35 +03:00
2020-03-25 14:19:30 +01:00
2020-04-06 08:59:40 +02:00
2020-04-12 17:48:44 +03:00
2020-06-07 11:46:48 +03:00
2020-03-16 20:26:34 +03:00
2020-06-07 11:46:48 +03:00
2020-05-28 11:34:35 +03:00
2020-06-07 11:46:48 +03:00
2020-06-07 11:46:48 +03:00
2020-06-03 10:32:46 -07:00
2020-03-23 09:29:45 +02:00
2020-02-17 10:59:06 +01:00
2020-03-19 12:52:18 +03:00
2020-03-05 13:34:24 +03:00
2020-03-05 11:38:11 +03:00
2020-02-03 15:16:23 +03:00
2020-05-17 11:31:00 +03:00
2020-04-03 20:00:24 +02:00
2020-01-03 15:48:20 +02:00
2020-01-27 11:09:01 +02:00
2020-04-15 10:53:32 -04:00
2020-03-16 20:27:45 +03:00
2020-03-16 20:27:45 +03:00
2020-03-16 20:27:45 +03:00
2020-02-10 20:54:32 +03:00