Dhruba Borthakur 39190588e1 Fix failure in rocksdb unit test CompressedCache
Summary:
The problem was that there was only a single key-value in a block
and its compressibility was less than 88%. Rocksdb refuses to
compress a block unless its compresses to lesser than 88% of its
original size. If a block is not compressed, it does nto get inserted
into the compressed block cache.

Create the test data so that multiple records fit into the same
data block. This increases the compressibility of these data block.

Test Plan: ./db_test

Reviewers: kailiu, haobo

Reviewed By: kailiu

CC: leveldb

Differential Revision: https://reviews.facebook.net/D13905
2013-11-05 16:11:34 -08:00
..
2013-10-30 10:52:33 -07:00
2013-10-30 10:52:33 -07:00
2013-10-28 17:54:09 -07:00
2013-10-28 17:54:09 -07:00
2013-10-28 17:54:09 -07:00
2013-10-28 14:34:27 -07:00
2013-10-25 08:32:14 -07:00
2013-11-01 12:32:27 -07:00