Ivan Prisyazhnyy
1c444b7e1e
api: support table auto compaction control
...
This patch adds API endpoint /column_family/autocompaction/{name}
that listen to GET and POST requests to pick and control table
background compactions.
To implement that the patch introduces "_compaction_disabled_by_user"
flag that affects if CompactionManager is allowed to push background
compactions jobs into the work.
It introduces
table::enable_auto_compaction();
table::disable_auto_compaction();
bool table::is_auto_compaction_disabled_by_user() const
to control auto compaction state.
Fixes #1488
Fixes #1808
Fixes #440
Tests: unit(sstable_datafile_test autocompaction_control_test), manual
2020-04-08 21:18:38 +03:00
..
2020-01-28 08:13:16 +02:00
2020-03-05 11:38:11 +03:00
2020-02-17 10:59:06 +01:00
2020-04-08 13:48:54 +02:00
2020-03-10 13:13:48 -07:00
2020-04-05 12:46:04 +03:00
2020-04-01 09:12:21 +02:00
2020-01-28 08:13:16 +02: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-04-07 08:47:38 +03:00
2020-03-05 11:38:11 +03:00
2020-04-05 12:46:04 +03:00
2020-01-05 17:20:31 +02:00
2020-04-01 16:22:52 +02:00
2020-03-05 16:09:44 +01:00
2020-02-16 17:23:36 +03:00
2020-03-05 11:38:11 +03:00
2020-04-05 12:46:04 +03:00
2020-04-05 13:47:39 +03: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-02-26 14:00:04 -05:00
2020-03-05 11:38:11 +03:00
2020-04-05 12:46:04 +03:00
2020-03-05 11:38:11 +03:00
2020-03-05 11:38:11 +03:00
2020-03-30 18:42:33 +02:00
2020-03-30 18:42:33 +02:00
2020-01-28 08:13:16 +02:00
2020-03-01 17:29:17 +02:00
2020-04-08 13:54:06 +02:00
2020-03-05 13:34:24 +03:00
2020-03-30 18:42:33 +02: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-03-30 18:42:33 +02:00
2020-03-01 17:29:17 +02: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-03-10 13:17:49 -07:00
2020-03-05 16:11:20 +01:00
2020-03-23 09:29:45 +02:00
2020-03-25 14:19:30 +01:00
2020-04-06 08:59:40 +02:00
2020-04-05 12:46:04 +03:00
2020-03-16 20:26:34 +03:00
2020-04-08 21:18:38 +03:00
2020-03-16 20:26:34 +03:00
2020-03-31 19:57:53 -04:00
2020-03-23 09:29:45 +02:00
2020-04-05 12:46:04 +03: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-03-04 13:28:16 +02: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-02-25 14:31:04 +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-02-10 20:54:32 +03:00