Yanqin Jin
fb4c6a31ce
Log replay integration for secondary instance ( #5305 )
...
Summary:
RocksDB secondary can replay both MANIFEST and WAL now.
On the one hand, the memory usage by memtables will grow after replaying WAL for sometime. On the other hand, replaying the MANIFEST can bring the database persistent data to a more recent point in time, giving us the opportunity to discard some memtables containing out-dated data.
This PR coordinates the MANIFEST and WAL replay, using the updates from MANIFEST replay to update the active memtable and immutable memtable list of each column family.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5305
Differential Revision: D15386512
Pulled By: riversand963
fbshipit-source-id: a3ea6fc415f8382d8cf624f52a71ebdcffa3e355
2019-05-17 19:19:51 -07:00
..
2019-04-10 19:31:18 -07:00
2019-04-10 19:31:18 -07:00
2019-04-25 11:25:43 -07:00
2019-05-13 17:47:21 -07:00
2019-02-14 14:41:36 -08:00
2019-04-24 17:11:36 -07:00
2019-04-16 23:32:20 -07:00
2019-02-14 14:41:36 -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
2019-02-14 14:41:36 -08:00
2019-05-15 13:53:54 -07:00
2019-05-03 17:30:22 -07:00
2019-02-14 14:41:36 -08:00
2019-05-03 17:30:22 -07:00
2019-05-15 13:19:15 -07:00
2019-05-03 17:30:22 -07:00
2019-04-16 23:32:20 -07:00
2019-04-16 23:32:20 -07:00
2019-02-14 14:41:36 -08:00
2019-02-28 10:27:59 -08:00
2018-05-29 15:44:34 -07:00
2019-04-16 23:32:20 -07:00
2019-04-16 23:32:20 -07:00
2019-02-14 11:23:55 -08:00
2018-10-09 15:19:38 -07:00
2019-02-14 14:41:36 -08:00
2018-11-09 11:19:58 -08:00
2019-02-14 14:41:36 -08:00
2019-02-14 14:41:36 -08:00
2019-04-15 11:35:21 -07:00
2017-10-17 08:57:09 -07:00
2019-04-22 08:20:35 -07:00
2019-05-13 17:47:21 -07:00
2019-02-14 14:41:36 -08:00
2019-04-18 22:39:34 -07: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
2019-05-10 17:56:48 -07:00
2019-05-15 13:19:15 -07:00
2019-04-16 23:32:20 -07:00
2018-08-03 17:42:34 -07:00
2019-04-25 10:11:41 -07:00
2019-05-13 17:47:21 -07:00
2019-02-28 10:27:59 -08:00
2019-03-27 16:24:45 -07:00
2019-05-17 19:19:51 -07:00
2019-05-17 19:19:51 -07:00
2019-05-15 13:53:54 -07:00
2019-05-01 10:17:30 -07:00
2019-05-17 19:19:51 -07: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
2019-02-14 14:41:36 -08:00
2019-05-17 10:28:31 -07:00
2018-12-17 17:33:46 -08:00
2019-05-09 14:20:04 -07:00
2019-02-14 14:41:36 -08:00
2019-05-15 11:21:48 -07:00
2019-04-02 14:47:16 -07:00
2019-03-29 10:08:50 -07:00
2019-02-15 09:51:41 -08:00
2019-04-16 23:32:20 -07:00
2019-05-17 19:19:51 -07:00
2019-04-16 23:32:20 -07:00
2019-03-01 10:42:09 -08:00
2018-09-20 15:15:28 -07:00
2018-07-17 14:43:18 -07:00
2019-05-01 10:17:30 -07:00
2019-05-13 17:47:21 -07:00
2019-05-13 17:47:21 -07:00
2019-04-11 14:28:26 -07:00
2019-02-14 14:41:36 -08:00
2018-12-28 18:02:28 -08:00
2019-04-06 06:40:36 -07:00
2018-07-13 17:42:38 -07:00
2019-03-27 16:24:45 -07:00
2019-04-11 14:28:26 -07:00
2019-05-15 15:17:55 -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
2019-04-22 15:30:07 -07:00
2018-09-15 13:43:04 -07:00
2018-04-12 17:59:16 -07:00
2019-02-14 14:41:36 -08:00
2019-03-19 17:28:19 -07:00
2019-02-12 19:16:17 -08:00
2019-04-08 11:16:34 -07:00
2019-02-14 14:41:36 -08:00
2019-02-14 14:41:36 -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
2019-03-19 17:28:19 -07:00
2019-04-10 19:31:18 -07:00
2019-03-19 17:28:19 -07:00
2017-07-15 16:11:23 -07:00
2019-05-13 17:47:21 -07:00
2018-07-13 17:27:39 -07:00
2019-04-16 11:37:47 -07:00
2018-03-05 13:13:41 -08:00
2019-02-20 15:52:54 -08:00
2019-02-20 15:52:54 -08:00
2019-04-18 10:55:01 -07:00
2019-03-19 17:28:19 -07:00
2019-01-15 21:34:38 -08:00
2019-04-16 23:32:20 -07:00
2018-08-24 18:13:20 -07:00
2019-03-26 16:45:31 -07:00
2019-04-24 12:08:44 -07:00
2019-03-26 16:45:31 -07:00
2019-04-25 10:11:41 -07:00
2019-04-25 10:11:41 -07:00
2018-05-03 15:43:09 -07:00
2018-05-03 15:43:09 -07:00
2019-04-11 14:28:26 -07:00
2019-01-03 16:30:12 -08:00
2017-07-15 16:11:23 -07:00
2019-02-14 14:41:36 -08:00
2019-02-14 14:41:36 -08:00
2019-05-17 19:19:51 -07:00
2019-05-17 19:19:51 -07:00
2019-04-17 10:15:05 -07:00
2019-02-19 12:15:39 -08:00
2019-04-11 14:28:26 -07:00
2019-02-14 14:41:36 -08:00
2019-02-28 10:27:59 -08:00
2018-12-17 17:33:46 -08:00
2017-07-15 16:11:23 -07:00
2019-02-14 14:41:36 -08:00
2019-03-28 13:16:02 -07:00
2018-07-13 17:27:39 -07:00
2019-03-27 12:27:54 -07:00
2017-07-15 16:11:23 -07:00
2019-05-13 17:47:21 -07:00
2019-04-02 15:17:47 -07:00
2019-05-15 13:19:15 -07:00
2018-12-19 13:29:51 -08:00
2018-12-17 17:33:46 -08:00
2019-04-18 12:27:25 -07:00
2019-05-16 15:24:28 -07:00
2018-12-11 12:10:48 -08:00
2019-04-16 11:37:47 -07:00
2018-12-17 13:20:51 -08:00
2019-04-12 14:40:41 -07:00
2018-10-12 10:41:54 -07:00
2019-04-19 11:55:13 -07:00
2019-01-16 09:55:32 -08:00
2017-07-15 16:11:23 -07:00
2019-05-03 17:30:22 -07:00
2019-04-26 21:24:10 -07:00
2019-04-11 14:28:26 -07:00
2019-03-18 12:15:34 -07:00
2019-03-18 12:15:34 -07:00
2019-03-18 12:15:34 -07:00
2019-03-27 12:27:54 -07:00
2019-03-27 12:27:54 -07:00
2019-02-19 13:39:49 -08:00
2019-03-26 16:45:31 -07:00
2019-03-26 16:45:31 -07:00
2019-02-11 11:20:24 -08:00
2019-02-08 11:33:11 -08:00
2019-03-26 16:45:31 -07:00
2019-02-19 13:39:49 -08:00
2019-05-17 10:28:31 -07:00
2019-04-17 18:15:20 -07:00
2018-11-09 11:19:58 -08:00
2019-03-28 15:17:13 -07: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
2019-02-19 13:39:49 -08:00
2019-05-13 17:47:21 -07:00
2019-05-13 17:47:21 -07:00
2017-07-15 16:11:23 -07:00
2019-02-19 13:39:49 -08: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
2019-01-03 12:40:42 -08:00