Yanqin Jin
671a7eb36f
Avoid switching empty memtable in certain cases ( #4792 )
...
Summary:
in certain cases, we do not perform memtable switching if the active
memtable of the column family is empty. Two exceptions:
1. In manual flush, if cached_recoverable_state_empty_ is false, then we need
to switch memtable due to requirement of transaction.
2. In switch WAL, we need to switch memtable anyway because we have to seal the
memtable if the WAL on which it depends will be closed.
This change can potentially delay the occurence of write stalls because number
of memtables increase more slowly.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4792
Differential Revision: D13499501
Pulled By: riversand963
fbshipit-source-id: 91c9b17ae753578578039f3851667d93610005e1
2018-12-18 16:47:23 -08:00
..
2018-12-17 17:33:46 -08:00
2018-12-17 13:20:51 -08:00
2018-12-13 14:21:24 -08:00
2018-12-17 13:52:12 -08:00
2018-11-09 11:19:58 -08:00
2018-12-17 17:33:46 -08:00
2018-04-27 11:57:39 -07:00
2018-12-13 14:21:24 -08:00
2018-10-08 22:54:43 -07:00
2018-12-07 17:06:02 -08:00
2017-08-19 14:10:08 -07:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-07-13 17:27:39 -07:00
2018-11-09 11:19:58 -08:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-11-29 16:04:52 -08:00
2018-11-29 16:04:52 -08:00
2018-11-29 16:04:52 -08:00
2018-07-27 16:12:23 -07:00
2018-05-29 15:44:34 -07:00
2018-11-29 16:04:52 -08:00
2018-11-29 16:04:52 -08:00
2018-10-09 15:19:38 -07:00
2018-10-09 15:19:38 -07:00
2018-07-13 17:27:39 -07:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-07-13 17:27:39 -07:00
2018-11-09 11:19:58 -08:00
2017-10-17 08:57:09 -07:00
2018-11-30 13:13:27 -08:00
2018-11-09 11:19:58 -08:00
2018-12-17 17:33:46 -08:00
2018-12-14 13:47:36 -08:00
2018-11-12 16:42:16 -08:00
2018-11-09 11:19:58 -08:00
2018-11-12 12:24:26 -08:00
2018-12-13 15:12:40 -08:00
2018-12-18 16:47:23 -08:00
2018-10-26 15:08:43 -07:00
2018-08-03 17:42:34 -07:00
2018-11-13 11:32:16 -08:00
2018-12-17 13:20:51 -08:00
2018-12-17 17:33:46 -08:00
2018-12-13 14:21:24 -08:00
2018-11-12 12:24:26 -08:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-10-09 17:15:51 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-10-29 14:36:31 -07:00
2018-05-21 14:43:11 -07:00
2018-06-12 16:57:36 -07:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-11-21 18:31:34 -08:00
2018-11-09 11:19:58 -08:00
2018-12-17 17:33:46 -08:00
2018-06-27 12:23:07 -07:00
2018-10-08 22:54:43 -07:00
2018-11-09 11:19:58 -08:00
2018-10-29 19:23:27 -07:00
2018-08-08 07:27:46 -07:00
2017-07-15 16:11:23 -07:00
2018-09-20 15:15:28 -07:00
2018-07-17 14:43:18 -07:00
2018-11-27 14:27:05 -08:00
2018-12-17 17:33:46 -08:00
2018-11-09 11:19:58 -08:00
2018-12-13 14:21:24 -08:00
2018-10-24 08:17:56 -07:00
2018-11-13 11:32:16 -08:00
2018-05-14 21:13:35 -07:00
2018-07-13 17:42:38 -07:00
2018-08-06 18:27:44 -07:00
2018-10-26 14:30:30 -07:00
2018-07-13 17:27:39 -07:00
2018-09-17 13:14:07 -07:00
2018-10-04 20:46:50 -07:00
2018-10-04 20:46:50 -07:00
2018-09-15 13:43:04 -07:00
2018-09-15 13:43:04 -07:00
2018-04-12 17:59:16 -07:00
2018-12-11 10:21:37 -08:00
2018-10-04 20:46:50 -07:00
2018-07-27 16:12:23 -07:00
2018-11-02 17:26:35 -07:00
2018-11-09 11:19:58 -08:00
2018-03-05 13:13:41 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-11-09 11:19:58 -08:00
2018-12-17 13:20:51 -08:00
2018-10-15 20:01:17 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-07-13 17:27:39 -07:00
2018-12-17 17:33:46 -08:00
2018-03-05 13:13:41 -08:00
2018-11-05 20:24:40 -08:00
2018-11-05 20:24:40 -08:00
2018-11-09 11:19:58 -08:00
2018-10-12 18:36:11 -07:00
2018-08-24 18:13:20 -07:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-05-14 10:57:56 -07:00
2018-11-09 11:19:58 -08:00
2018-05-03 15:43:09 -07:00
2018-05-03 15:43:09 -07:00
2018-10-12 11:50:50 -07:00
2017-07-15 16:11:23 -07:00
2018-07-13 17:27:39 -07:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-12-11 12:10:48 -08:00
2018-11-28 15:29:02 -08:00
2018-12-17 17:33:46 -08:00
2017-07-15 16:11:23 -07:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2017-07-15 16:11:23 -07:00
2018-11-09 11:19:58 -08:00
2018-08-03 13:57:40 -07:00
2018-07-13 17:27:39 -07:00
2018-10-17 11:19:40 -07:00
2017-07-15 16:11:23 -07:00
2018-11-09 11:19:58 -08:00
2018-04-05 11:12:16 -07:00
2018-07-13 17:27:39 -07:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-12-18 14:28:42 -08:00
2018-12-18 14:28:42 -08:00
2018-12-11 12:10:48 -08:00
2018-12-17 13:20:51 -08:00
2018-12-17 13:20:51 -08:00
2018-06-27 12:23:07 -07:00
2018-10-12 10:41:54 -07:00
2018-12-17 13:20:51 -08:00
2018-08-23 10:12:58 -07:00
2017-07-15 16:11:23 -07:00
2018-08-06 16:57:42 -07:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-11-09 11:19:58 -08:00
2018-10-30 15:34:27 -07:00
2018-10-30 15:34:27 -07:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-07-27 16:12:23 -07:00
2018-09-14 19:43:04 -07:00
2018-05-21 14:43:11 -07:00
2018-08-20 14:58:00 -07:00
2018-12-13 15:12:40 -08:00
2018-08-20 14:58:00 -07:00
2018-12-13 15:12:40 -08:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-01-11 18:57:33 -08:00
2017-07-15 16:11:23 -07:00
2018-06-28 18:58:29 -07:00
2018-11-28 15:29:02 -08:00
2018-11-09 11:19:58 -08:00
2018-07-13 17:27:39 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-11-07 14:07:53 -08:00
2018-10-09 22:52:40 -07:00