]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix DBCompactionTestWithParam.CompactionTrigger in non-jemalloc build.
authorsdong <siying.d@fb.com>
Tue, 1 Dec 2015 06:16:49 +0000 (22:16 -0800)
committersdong <siying.d@fb.com>
Tue, 1 Dec 2015 20:25:22 +0000 (12:25 -0800)
commit0ad68518bb2e04707c06b6c87535b21ae44b6ced
tree7d819f3a809c7fcd3935933ba98fdfd0a2f064c0
parent459c7fba36fbcbfe848947bf3e3e903895b2233c
Fix DBCompactionTestWithParam.CompactionTrigger in non-jemalloc build.

Summary: DBCompactionTestWithParam.CompactionTrigger fails in non-jemalloc build, after the skip list memtable change. Fix it by making mem table flush trigger by number of entries.

Test Plan: Run the test using both of jemalloc and non-jemalloc build.

Reviewers: anthony, IslamAbdelRahman, rven, kradhakrishnan, igor, yhchiang

Reviewed By: yhchiang

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D51471
db/db_compaction_test.cc