Yi Wu
9e44531803
Refactor WriteImpl (pipeline write part 1)
...
Summary:
Refactor WriteImpl() so when I plug-in the pipeline write code (which is
an alternative approach for WriteThread), some of the logic can be
reuse. I split out the following methods from WriteImpl():
* PreprocessWrite()
* HandleWALFull() (previous MaybeFlushColumnFamilies())
* HandleWriteBufferFull()
* WriteToWAL()
Also adding a constructor to WriteThread::Writer, and move WriteContext into db_impl.h.
No real logic change in this patch.
Closes https://github.com/facebook/rocksdb/pull/2042
Differential Revision: D4781014
Pulled By: yiwu-arbug
fbshipit-source-id: d45ca18
2017-04-04 10:24:32 -07:00
..
2017-04-03 18:39:14 -07:00
2016-11-19 14:24:12 -08:00
2017-03-23 15:54:13 -07:00
2017-03-23 15:54:13 -07:00
2017-03-29 11:54:20 -07:00
2017-03-15 19:39:12 -07:00
2017-01-19 15:39:12 -08:00
2017-02-06 14:54:18 -08:00
2017-03-15 19:39:12 -07:00
2017-03-13 11:54:10 -07:00
2016-12-01 07:09:15 -08:00
2017-02-23 15:09:12 -08:00
2017-01-11 15:09:21 -08:00
2017-01-11 15:09:21 -08:00
2017-04-03 18:39:14 -07:00
2016-09-23 16:34:04 -07:00
2017-04-03 18:39:14 -07:00
2017-01-11 15:09:21 -08:00
2017-02-21 10:24:17 -08:00
2017-04-03 18:39:14 -07:00
2016-12-07 11:54:11 -08:00
2016-12-07 11:54:11 -08:00
2016-12-07 11:54:11 -08:00
2016-09-27 18:20:57 -07:00
2016-02-09 15:12:00 -08:00
2017-04-03 18:39:14 -07:00
2016-11-16 09:39:09 -08:00
2017-02-27 12:24:11 -08:00
2016-08-23 13:53:49 -07:00
2017-03-28 12:09:12 -07:00
2016-12-01 07:09:15 -08:00
2017-02-06 14:54:18 -08:00
2017-03-13 09:54:11 -07:00
2017-04-03 18:39:14 -07:00
2017-03-13 09:54:11 -07:00
2017-04-04 10:24:32 -07:00
2017-03-15 19:39:12 -07:00
2017-03-30 12:09:21 -07:00
2017-03-13 11:54:10 -07:00
2017-04-04 10:24:32 -07:00
2017-04-04 10:24:32 -07:00
2017-04-03 18:39:14 -07:00
2016-09-23 16:34:04 -07:00
2016-11-16 09:39:09 -08:00
2016-11-21 18:09:13 -08:00
2017-03-30 12:09:21 -07:00
2017-04-03 18:39:14 -07:00
2017-03-30 12:09:21 -07:00
2017-03-13 09:54:11 -07:00
2016-02-09 15:12:00 -08:00
2017-03-13 09:54:11 -07:00
2017-03-13 09:54:11 -07:00
2017-03-20 22:54:13 -07:00
2017-03-13 09:54:11 -07:00
2017-01-25 11:09:12 -08:00
2017-03-16 12:09:15 -07:00
2017-03-13 09:54:11 -07:00
2017-03-13 09:54:11 -07:00
2017-03-22 09:24:15 -07:00
2017-03-28 12:09:12 -07:00
2017-04-03 18:39:14 -07:00
2017-04-03 18:39:14 -07:00
2017-02-23 18:39:13 -08:00
2017-02-28 17:39:10 -08:00
2016-04-25 23:02:14 -07:00
2017-03-13 10:39:12 -07:00
2016-12-19 16:54:12 -08:00
2017-04-03 18:39:14 -07:00
2017-01-11 10:54:37 -08:00
2016-04-29 11:35:00 -07:00
2016-02-09 15:12:00 -08:00
2017-03-13 11:39:13 -07:00
2017-03-15 19:39:12 -07:00
2016-12-06 14:09:17 -08:00
2017-03-13 11:39:13 -07:00
2017-04-03 18:39:14 -07:00
2016-02-09 15:12:00 -08:00
2016-12-16 11:24:18 -08:00
2016-02-09 15:12:00 -08:00
2017-04-03 18:39:14 -07:00
2016-11-14 17:39:13 -08:00
2017-04-03 18:39:14 -07:00
2017-01-19 23:09:15 -08:00
2016-07-08 17:50:51 -07:00
2016-02-09 15:12:00 -08:00
2017-02-06 14:54:18 -08:00
2017-02-02 16:54:19 -08:00
2016-09-27 18:20:57 -07:00
2016-11-22 14:09:13 -08:00
2016-11-22 14:09:13 -08:00
2017-04-03 11:24:10 -07:00
2017-03-29 11:54:20 -07:00
2016-10-13 08:48:40 -07:00
2017-04-03 18:39:14 -07:00
2016-02-09 15:12:00 -08:00
2016-07-08 17:50:51 -07:00
2016-05-22 22:00:15 -07:00
2016-05-22 22:00:15 -07:00
2016-02-09 15:12:00 -08:00
2016-07-21 16:29:06 -07:00
2017-02-23 12:09:11 -08:00
2016-09-27 18:20:57 -07:00
2016-02-09 15:12:00 -08:00
2016-07-13 19:33:57 -07:00
2016-07-05 18:11:25 -07:00
2016-11-03 18:54:20 -07:00
2017-03-15 19:39:12 -07:00
2017-04-03 18:39:14 -07:00
2017-03-21 11:09:10 -07:00
2017-03-21 11:09:10 -07:00
2017-02-06 14:54:18 -08:00
2016-07-25 15:31:41 -07:00
2017-02-23 15:09:12 -08:00
2017-02-23 15:09:12 -08:00
2017-02-23 15:09:12 -08:00
2016-07-20 09:49:03 -07:00
2017-02-23 15:09:12 -08:00
2016-02-09 15:12:00 -08:00
2017-02-06 14:54:18 -08:00
2016-12-29 15:54:19 -08:00
2017-04-03 18:39:14 -07:00
2016-11-16 09:39:09 -08:00
2017-01-05 10:39:12 -08:00
2017-01-25 11:09:12 -08:00
2017-01-05 10:39:12 -08:00
2017-02-16 10:39:13 -08:00
2017-04-03 18:39:14 -07:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2017-04-03 18:39:14 -07:00
2016-11-21 21:24:11 -08:00
2016-10-21 11:31:42 -07:00
2016-05-19 14:24:48 -07:00
2016-05-19 14:24:48 -07:00
2016-09-23 16:34:04 -07:00
2017-04-03 18:39:14 -07:00
2016-10-07 17:21:45 -07:00
2017-02-06 14:54:18 -08:00
2016-07-20 11:23:31 -07:00
2016-02-09 15:12:00 -08:00
2016-07-12 14:15:32 -07:00
2016-07-13 15:36:22 -07:00
2016-10-07 17:21:45 -07:00
2017-04-03 18:39:14 -07:00
2017-03-13 11:54:10 -07:00
2016-09-23 16:34:04 -07:00
2017-04-03 18:39:14 -07:00
2016-09-23 16:34:04 -07:00
2016-08-16 08:16:04 -07:00
2016-10-07 11:32:10 -07:00
2017-03-30 16:54:52 -07:00
2017-03-22 11:24:12 -07:00
2017-02-06 14:54:18 -08:00
2016-02-09 15:12:00 -08:00
2017-02-14 18:24:24 -08:00
2017-03-16 18:24:17 -07:00
2017-03-29 11:54:20 -07:00
2017-04-04 10:24:32 -07:00
2017-04-04 10:24:32 -07:00