kailiu bf86af5174 Remove the terrible hack in for flush_block_policy_factory
Summary:
Previous code is too convoluted and I must be drunk for letting
such code to be written without a second thought.

Thanks to the discussion with @sdong, I added the `Options` when
generating the flusher, thus avoiding the tricks.

Just FYI: I resisted to add Options in flush_block_policy.h since I
wanted to avoid cyclic dependencies: FlushBlockPolicy dpends on Options
and Options also depends FlushBlockPolicy... While I appreciate my
effort to prevent it, the old design turns out creating more troubles than
it tried to avoid.

Test Plan: ran ./table_test

Reviewers: sdong

Reviewed By: sdong

CC: sdong, leveldb

Differential Revision: https://reviews.facebook.net/D16503
2014-02-28 16:39:27 -08:00
..
2014-02-24 15:15:34 -08:00
2014-02-25 10:32:28 -08:00
2014-02-25 10:43:46 -08:00
2014-02-28 13:19:47 -08:00
2013-10-25 08:32:14 -07:00
2014-01-29 20:40:41 -08:00
2014-01-29 20:40:41 -08:00
2014-02-28 13:19:47 -08:00
2014-01-27 14:49:10 -08:00
2014-02-28 13:19:47 -08:00
2014-02-12 11:42:54 -08:00
2014-02-12 11:42:54 -08:00
2014-01-17 12:46:06 -08:00
2014-02-28 13:19:47 -08:00
2014-01-30 22:10:10 -08:00
2014-01-23 16:26:08 -08:00