Nadav Har'El
6fb42269e9
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
(cherry picked from commit 9b9609c65b )
(cherry picked from commit 95acf71680 )
2019-11-20 21:40:40 +02:00
..
2018-12-08 13:42:43 +02:00
2019-05-24 06:23:38 +03:00
2018-09-28 09:45:27 +02:00
2018-09-12 12:14:21 +01:00
2018-05-14 09:41:06 +03:00
2018-05-31 15:51:11 +01:00
2018-06-25 09:21:47 +01:00
2018-06-27 21:51:04 +02:00
2018-03-12 20:05:23 +02:00
2018-06-25 09:21:47 +01:00
2018-06-19 16:26:52 +03:00
2018-12-08 13:42:43 +02:00
2018-10-24 09:43:39 +03:00
2018-04-29 11:03:21 +03:00
2018-05-31 15:51:11 +01:00
2018-10-24 09:44:46 +03:00
2018-10-24 09:44:46 +03:00
2018-03-14 01:54:31 -04:00
2019-04-17 18:01:48 +01:00
2019-08-08 16:47:26 +03:00
2018-11-15 17:46:20 +02:00
2018-06-26 18:54:44 +02:00
2018-04-29 11:03:21 +03:00
2018-03-11 18:22:49 +02:00
2018-08-27 19:24:05 +01:00
2018-04-24 11:29:57 +02:00
2018-05-09 16:52:26 +01:00
2019-06-25 10:05:34 +02:00
2018-09-25 18:02:46 -07:00
2019-05-06 11:19:04 +03:00
2018-03-05 15:22:33 +02:00
2019-03-04 17:58:46 +02:00
2018-09-20 11:31:24 +02:00
2018-03-11 18:22:49 +02:00
2019-03-20 17:25:35 +08:00
2019-03-20 17:25:35 +08:00
2018-09-18 17:22:59 +01:00
2018-06-15 09:56:45 +01:00
2018-08-01 16:50:58 +01:00
2018-07-20 13:51:13 -07:00
2019-02-22 15:52:46 +02:00
2018-07-25 13:16:06 +02:00
2018-05-28 18:12:12 +03:00
2018-04-16 21:00:35 +02:00
2018-09-05 10:19:59 +03:00
2018-06-11 15:34:14 +03:00
2018-06-11 15:34:14 +03:00
2018-05-31 15:51:11 +01:00
2019-10-22 19:47:02 +02:00
2018-09-20 11:31:24 +02:00
2018-07-17 20:15:32 +08:00
2018-05-31 10:09:01 +01:00
2018-12-04 12:13:13 +02:00
2018-09-20 11:31:24 +02:00
2018-09-03 10:31:44 +03:00
2018-07-17 16:32:04 +03:00
2018-09-20 11:31:24 +02:00
2018-09-06 20:54:57 +03:00
2019-08-19 15:09:47 +03:00
2019-01-08 14:53:55 +02:00
2018-12-18 14:57:50 +00:00
2019-11-20 21:40:40 +02:00
2019-10-22 19:47:02 +02:00
2018-10-23 07:36:21 +00:00
2018-09-26 19:24:10 -07:00
2018-09-25 17:55:52 -07:00
2018-07-11 10:15:01 +01:00
2018-05-31 15:51:11 +01:00
2018-09-20 11:31:24 +02:00
2018-12-18 14:34:33 +02:00
2018-12-18 14:57:50 +00:00
2018-07-18 12:28:06 +01:00
2018-09-20 11:31:24 +02:00
2019-10-22 19:47:02 +02:00
2019-10-22 19:47:02 +02:00
2018-05-22 16:52:58 +02:00
2018-04-27 17:12:33 +03:00
2019-11-15 09:15:29 +01:00
2019-10-22 19:47:02 +02:00
2019-05-24 06:23:38 +03:00
2019-07-22 15:07:00 +03:00
2019-03-24 16:34:42 +02:00
2018-06-25 09:37:43 +01:00
2018-12-04 14:30:19 +02:00
2018-12-08 14:08:44 +02:00
2018-05-04 14:38:13 +02:00
2018-06-28 17:20:28 +08:00
2018-03-12 20:05:23 +02:00
2018-03-14 23:49:07 +00:00
2018-07-18 12:28:06 +01:00
2019-07-17 21:56:03 +03:00
2018-07-26 12:03:37 +01:00
2019-02-16 21:54:41 +02:00
2019-11-19 11:17:54 +02:00
2019-03-27 21:56:21 +00:00
2018-04-16 20:26:44 +02:00
2019-08-14 12:51:33 +02:00