Nadav Har'El
9b9609c65b
merge: row_marker: correct row expiry condition
...
Merged patch set by Piotr Dulikowski:
This change corrects condition on which a row was considered expired by its
TTL.
The logic that decides when a row becomes expired was inconsistent with the
logic that decides if a single cell is expired. A single cell becomes expired
when expiry_timestamp <= now, while a row became expired when
expiry_timestamp < now (notice the strict inequality). For rows inserted
with TTL, this caused non-key cells to expire (change their values to null)
one second before the row disappeared. Now, row expiry logic uses non-strict
inequality.
Fixes #4263 ,
Fixes #5290 .
Tests:
unit(dev)
python test described in issue #5290
2019-11-19 18:14:15 +02:00
..
2019-11-12 13:35:41 +01:00
2019-11-07 08:41:08 -08:00
2019-09-07 10:07:33 -07:00
2019-06-28 16:43:25 +03:00
2019-07-04 11:32:57 +02:00
2019-05-07 07:11:07 +03:00
2019-09-15 14:44:54 -07:00
2019-10-29 07:49:05 +01:00
2019-10-29 19:25:12 +01:00
2019-11-14 15:07:16 +01:00
2019-06-28 16:43:25 +03:00
2019-11-12 13:35:41 +01:00
2019-11-12 13:01:34 +01:00
2019-11-12 13:01:34 +01:00
2019-06-28 16:43:25 +03:00
2019-05-07 09:58:21 +03:00
2019-11-12 13:01:34 +01:00
2019-11-07 08:19:52 -08:00
2019-10-17 11:28:23 +02:00
2019-05-07 10:00:58 +03:00
2019-10-25 12:04:44 +02:00
2019-07-15 17:38:00 +03:00
2019-09-26 17:40:46 +03:00
2019-05-07 07:11:07 +03:00
2019-03-28 14:21:10 +02:00
2019-07-29 17:15:51 +02:00
2019-05-07 07:11:07 +03:00
2019-05-07 07:11:07 +03:00
2019-06-28 16:43:25 +03:00
2019-10-30 15:34:10 +01:00
2019-08-13 10:16:02 +03:00
2019-11-12 13:35:41 +01:00
2019-08-26 18:54:44 +03:00
2019-11-12 13:35:41 +01:00
2019-03-28 14:21:10 +02:00
2019-08-28 09:46:17 +03:00
2019-08-21 19:35:59 +02:00
2019-03-28 14:21:10 +02:00
2019-06-13 14:45:48 +03:00
2019-11-12 18:24:47 +01:00
2019-08-12 19:48:31 +03:00
2019-05-07 10:00:58 +03:00
2019-08-26 18:54:44 +03:00
2019-09-23 12:51:24 +02:00
2019-10-03 22:03:29 +02:00
2019-11-12 13:35:41 +01:00
2019-08-26 18:54:44 +03:00
2019-10-15 15:42:05 +03:00
2019-07-21 16:42:54 +03:00
2019-10-23 08:29:58 +03:00
2019-10-30 09:51:18 +01:00
2019-10-25 12:04:44 +02:00
2019-08-01 13:03:03 +03:00
2019-11-19 13:45:30 +01:00
2019-10-25 12:04:44 +02:00
2019-11-12 13:35:41 +01:00
2019-08-26 18:54:44 +03:00
2019-06-28 16:43:25 +03:00
2019-05-13 19:30:50 +02:00
2019-05-13 19:18:20 +02:00
2019-06-28 16:43:25 +03:00
2019-09-07 18:07:01 +03:00
2019-10-25 12:04:44 +02:00
2019-10-15 08:52:39 +03:00
2019-07-15 17:38:00 +03:00
2019-04-29 19:56:20 -07:00
2019-10-04 11:38:12 +02:00
2019-11-12 13:35:41 +01:00
2019-11-07 08:41:08 -08:00
2019-07-19 11:58:42 +02:00
2019-10-03 22:03:29 +02:00
2019-03-28 14:21:10 +02:00
2019-10-26 22:53:37 +03:00
2019-11-18 10:52:20 +01:00
2019-10-26 22:53:37 +03:00
2019-03-26 16:05:08 +02:00
2019-04-11 18:50:42 +03:00
2019-10-25 14:10:28 +02:00
2019-10-26 22:53:37 +03:00
2019-03-26 16:24:19 +02:00
2019-08-21 19:35:59 +02:00
2019-03-26 16:05:08 +02:00
2019-07-08 15:28:21 +00:00
2019-03-28 14:21:10 +02:00
2019-05-07 10:00:58 +03:00
2019-11-07 08:19:52 -08:00
2019-09-07 10:07:33 -07:00
2019-11-07 08:41:08 -08:00
2019-10-25 12:05:10 +02:00
2019-03-26 16:24:19 +02:00
2019-10-25 12:05:10 +02:00
2019-08-26 18:54:44 +03:00
2019-07-12 18:09:15 +02:00