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
..
2016-11-19 14:24:12 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-03-13 09:54:11 -07:00
2017-03-13 11:54:10 -07:00
2017-03-13 09:54:11 -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
2016-12-19 16:54:12 -08:00
2016-07-08 17:50:51 -07:00
2017-02-06 14:54:18 -08:00
2016-10-13 08:48:40 -07:00
2016-07-08 17:50:51 -07:00
2017-02-23 12:09:11 -08:00
2016-11-03 18:54:20 -07:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2016-12-29 15:54:19 -08:00
2017-02-16 10:39:13 -08:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2017-02-06 14:54:18 -08:00
2016-07-13 15:36:22 -07:00
2017-03-13 11:54:10 -07:00
2017-03-30 16:54:52 -07:00
2017-02-06 14:54:18 -08:00