Rafael Ávila de Espíndola
9cd14f2602
Don't write to system.large_partition during shutdown
...
The included testcase used to crash because during database::stop() we
would try to update system.large_partition.
There doesn't seem to be an order we can stop the existing services in
cql_test_env that makes this possible.
This patch then adds another step when shutting down a database: first
stop updating system.large_partition.
This means that during shutdown any memtable flush, compaction or
sstable deletion will not be reflected in system.large_partition. This
is hopefully not too bad since the data in the table is TTLed.
This seems to impact only tests, since main.cc calls _exit directly.
Tests: unit (release,debug)
Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com >
Message-Id: <20190213194851.117692-1-espindola@scylladb.com >
2019-02-15 10:49:10 +01:00
..
2019-02-03 13:57:42 +02:00
2019-01-14 10:47:21 +01:00
2019-01-30 11:17:38 +02:00
2018-09-12 12:14:21 +01:00
2018-11-01 13:16:17 +00:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 15:24:31 +00:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2018-12-03 14:40:35 +01:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-02-13 09:08:12 +00:00
2019-02-13 09:08:12 +00:00
2019-01-30 11:17:38 +02:00
2019-01-08 13:16:36 +02:00
2019-02-15 10:49:10 +01:00
2019-02-15 10:49:10 +01:00
2019-02-13 09:08:12 +00:00
2018-11-01 10:19:32 +02:00
2019-01-30 11:17:38 +02:00
2019-02-07 10:16:50 +00:00
2019-02-07 10:16:50 +00:00
2019-02-07 20:18:14 +02:00
2019-01-08 13:16:36 +02:00
2019-01-30 11:17:38 +02:00
2019-01-20 15:55:20 +02:00
2019-01-30 11:17:38 +02:00
2019-02-05 16:04:17 +01:00
2019-01-08 13:16:36 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-02-15 10:49:10 +01:00
2019-01-15 17:31:47 +01:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-01-30 11:17:38 +02:00
2018-08-01 16:50:58 +01:00
2018-11-01 13:16:17 +00:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-01-30 11:17:38 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2019-02-07 20:18:14 +02:00
2018-09-20 11:31:24 +02:00
2019-02-07 10:16:50 +00:00
2018-11-21 00:01:44 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2018-11-21 00:01:44 +02:00
2019-01-08 13:16:36 +02:00
2018-07-17 16:32:04 +03:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-02-12 16:20:51 +02:00
2019-02-07 10:16:50 +00:00
2018-12-20 13:27:25 +00:00
2019-02-07 20:18:14 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2019-01-08 13:16:36 +02:00
2018-11-21 00:01:44 +02:00
2019-01-30 11:17:38 +02:00
2019-02-05 14:16:36 +02:00
2018-12-19 10:52:19 +00:00
2019-01-08 13:16:36 +02:00
2018-11-01 13:16:17 +00:00
2019-01-22 18:24:52 -05:00
2018-11-01 13:16:17 +00:00
2018-07-18 12:28:06 +01:00
2019-01-30 11:17:38 +02:00
2018-11-21 00:01:44 +02:00
2019-01-08 13:16:36 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-02-05 13:26:45 +02:00
2019-01-30 11:17:38 +02:00
2018-11-01 13:16:17 +00:00
2019-01-18 17:49:46 +02:00
2019-01-30 11:17:38 +02:00
2019-02-12 16:08:24 +02:00
2019-02-12 16:08:24 +02:00
2019-02-12 16:08:24 +02:00
2019-02-07 20:18:14 +02:00
2018-11-24 20:16:54 -02:00
2019-02-07 20:18:14 +02:00
2019-02-07 20:18:14 +02:00
2019-01-22 18:25:01 -05:00
2019-01-28 15:03:14 -08:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2018-12-28 16:31:24 +01:00
2019-01-08 13:16:36 +02:00
2019-01-30 11:17:38 +02:00
2019-02-13 09:08:12 +00:00
2019-01-30 11:17:38 +02:00
2018-12-05 21:51:01 +02:00
2018-07-26 12:03:37 +01:00
2019-02-14 12:04:40 +02:00
2019-01-30 11:17:38 +02:00
2019-02-14 16:08:41 +02:00
2019-01-30 11:17:38 +02:00