Add a unit test for behavior when merge operator and compaction filter co-exist.
Add a unit test for behavior when merge operator and compaction filter co-exist.

Summary: Add a unit test in db_test to verify the behavior when both of merge operator and compaction filter apply to a key when merging.

Test Plan: Run the new test

Reviewers: ljin, yhchiang, rven, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D28455

ylong/rocksdb,wat-ze-hex/rocksdb,dkorolev/rocksdb,Vaisman/rocksdb,hobinyoon/rocksdb,anagav/rocksdb,luckywhu/rocksdb,makelivedotnet/rocksdb,Andymic/rocksdb,zhangpng/rocksdb,Andymic/rocksdb,kaschaeffer/rocksdb,siddhartharay007/rocksdb,sorphi/rocksdb,biddyweb/rocksdb,biddyweb/rocksdb,vmx/rocksdb,SunguckLee/RocksDB,OverlordQ/rocksdb,jalexanderqed/rocksdb,IMCG/RcoksDB,ryneli/rocksdb,makelivedotnet/rocksdb,virtdb/rocksdb,wskplho/rocksdb,zhangpng/rocksdb,alihalabyah/rocksdb,siddhartharay007/rocksdb,ryneli/rocksdb,amyvmiwei/rocksdb,temicai/rocksdb,ylong/rocksdb,makelivedotnet/rocksdb,NickCis/rocksdb,jalexanderqed/rocksdb,vmx/rocksdb,facebook/rocksdb,tizzybec/rocksdb,alihalabyah/rocksdb,OverlordQ/rocksdb,kaschaeffer/rocksdb,fengshao0907/rocksdb,Vaisman/rocksdb,wenduo/rocksdb,OverlordQ/rocksdb,Applied-Duality/rocksdb,dkorolev/rocksdb,geraldoandradee/rocksdb,anagav/rocksdb,siddhartharay007/rocksdb,alihalabyah/rocksdb,anagav/rocksdb,wenduo/rocksdb,temicai/rocksdb,biddyweb/rocksdb,rDSN-Projects/rocksdb.replicated,geraldoandradee/rocksdb,tizzybec/rocksdb,JohnPJenkins/rocksdb,IMCG/RcoksDB,norton/rocksdb,skunkwerks/rocksdb,wat-ze-hex/rocksdb,dkorolev/rocksdb,luckywhu/rocksdb,wenduo/rocksdb,kaschaeffer/rocksdb,geraldoandradee/rocksdb,fengshao0907/rocksdb,Vaisman/rocksdb,vashstorm/rocksdb,virtdb/rocksdb,Andymic/rocksdb,SunguckLee/RocksDB,zhangpng/rocksdb,anagav/rocksdb,rDSN-Projects/rocksdb.replicated,SunguckLee/RocksDB,jalexanderqed/rocksdb,wskplho/rocksdb,caijieming-baidu/rocksdb,OverlordQ/rocksdb,facebook/rocksdb,dkorolev/rocksdb,JohnPJenkins/rocksdb,sorphi/rocksdb,NickCis/rocksdb,zhangpng/rocksdb,amyvmiwei/rocksdb,OverlordQ/rocksdb,ryneli/rocksdb,kaschaeffer/rocksdb,JohnPJenkins/rocksdb,geraldoandradee/rocksdb,wskplho/rocksdb,kaschaeffer/rocksdb,tizzybec/rocksdb,wskplho/rocksdb,norton/rocksdb,norton/rocksdb,virtdb/rocksdb,IMCG/RcoksDB,dkorolev/rocksdb,wat-ze-hex/rocksdb,OverlordQ/rocksdb,norton/rocksdb,fengshao0907/rocksdb,facebook/rocksdb,alihalabyah/rocksdb,jalexanderqed/rocksdb,amyvmiwei/rocksdb,alihalabyah/rocksdb,tsheasha/rocksdb,SunguckLee/RocksDB,tsheasha/rocksdb,zhangpng/rocksdb,JohnPJenkins/rocksdb,tizzybec/rocksdb,bbiao/rocksdb,ryneli/rocksdb,luckywhu/rocksdb,Andymic/rocksdb,fengshao0907/rocksdb,sorphi/rocksdb,rDSN-Projects/rocksdb.replicated,ryneli/rocksdb,JoeWoo/rocksdb,bbiao/rocksdb,facebook/rocksdb,skunkwerks/rocksdb,amyvmiwei/rocksdb,jalexanderqed/rocksdb,JackLian/rocksdb,lgscofield/rocksdb,Vaisman/rocksdb,hobinyoon/rocksdb,facebook/rocksdb,vashstorm/rocksdb,makelivedotnet/rocksdb,skunkwerks/rocksdb,geraldoandradee/rocksdb,JoeWoo/rocksdb,ylong/rocksdb,mbarbon/rocksdb,luckywhu/rocksdb,caijieming-baidu/rocksdb,skunkwerks/rocksdb,vashstorm/rocksdb,Andymic/rocksdb,IMCG/RcoksDB,bbiao/rocksdb,fengshao0907/rocksdb,flabby/rocksdb,lgscofield/rocksdb,alihalabyah/rocksdb,mbarbon/rocksdb,RyanTech/rocksdb,bbiao/rocksdb,virtdb/rocksdb,JoeWoo/rocksdb,Applied-Duality/rocksdb,virtdb/rocksdb,skunkwerks/rocksdb,ylong/rocksdb,sorphi/rocksdb,tizzybec/rocksdb,vashstorm/rocksdb,mbarbon/rocksdb,IMCG/RcoksDB,anagav/rocksdb,Vaisman/rocksdb,wenduo/rocksdb,RyanTech/rocksdb,ryneli/rocksdb,vmx/rocksdb,NickCis/rocksdb,zhangpng/rocksdb,wenduo/rocksdb,luckywhu/rocksdb,wlqGit/rocksdb,JohnPJenkins/rocksdb,caijieming-baidu/rocksdb,caijieming-baidu/rocksdb,wat-ze-hex/rocksdb,temicai/rocksdb,vmx/rocksdb,bbiao/rocksdb,wskplho/rocksdb,biddyweb/rocksdb,RyanTech/rocksdb,Vaisman/rocksdb,hobinyoon/rocksdb,tsheasha/rocksdb,kaschaeffer/rocksdb,tsheasha/rocksdb,tsheasha/rocksdb,caijieming-baidu/rocksdb,hobinyoon/rocksdb,vashstorm/rocksdb,fengshao0907/rocksdb,hobinyoon/rocksdb,wskplho/rocksdb,skunkwerks/rocksdb,wlqGit/rocksdb,norton/rocksdb,vmx/rocksdb,flabby/rocksdb,lgscofield/rocksdb,JoeWoo/rocksdb,IMCG/RcoksDB,facebook/rocksdb,jalexanderqed/rocksdb,zhangpng/rocksdb,makelivedotnet/rocksdb,mbarbon/rocksdb,JohnPJenkins/rocksdb,amyvmiwei/rocksdb,SunguckLee/RocksDB,fengshao0907/rocksdb,virtdb/rocksdb,ylong/rocksdb,anagav/rocksdb,sorphi/rocksdb,JackLian/rocksdb,lgscofield/rocksdb,rDSN-Projects/rocksdb.replicated,RyanTech/rocksdb,JoeWoo/rocksdb,flabby/rocksdb,Applied-Duality/rocksdb,JackLian/rocksdb,IMCG/RcoksDB,lgscofield/rocksdb,vashstorm/rocksdb,makelivedotnet/rocksdb,wskplho/rocksdb,JoeWoo/rocksdb,SunguckLee/RocksDB,sorphi/rocksdb,wlqGit/rocksdb,geraldoandradee/rocksdb,caijieming-baidu/rocksdb,JackLian/rocksdb,norton/rocksdb,lgscofield/rocksdb,vashstorm/rocksdb,makelivedotnet/rocksdb,biddyweb/rocksdb,jalexanderqed/rocksdb,wenduo/rocksdb,NickCis/rocksdb,dkorolev/rocksdb,biddyweb/rocksdb,ryneli/rocksdb,JackLian/rocksdb,wlqGit/rocksdb,facebook/rocksdb,lgscofield/rocksdb,NickCis/rocksdb,siddhartharay007/rocksdb,ylong/rocksdb,wat-ze-hex/rocksdb,anagav/rocksdb,wlqGit/rocksdb,SunguckLee/RocksDB,tsheasha/rocksdb,virtdb/rocksdb,wenduo/rocksdb,Andymic/rocksdb,kaschaeffer/rocksdb,hobinyoon/rocksdb,luckywhu/rocksdb,JoeWoo/rocksdb,RyanTech/rocksdb,Applied-Duality/rocksdb,flabby/rocksdb,JackLian/rocksdb,hobinyoon/rocksdb,amyvmiwei/rocksdb,Andymic/rocksdb,bbiao/rocksdb,mbarbon/rocksdb,vmx/rocksdb,JackLian/rocksdb,temicai/rocksdb,siddhartharay007/rocksdb,Andymic/rocksdb,norton/rocksdb,temicai/rocksdb,vmx/rocksdb,RyanTech/rocksdb,flabby/rocksdb,vmx/rocksdb,flabby/rocksdb,wat-ze-hex/rocksdb,geraldoandradee/rocksdb,Applied-Duality/rocksdb,skunkwerks/rocksdb,bbiao/rocksdb,Applied-Duality/rocksdb,wat-ze-hex/rocksdb,biddyweb/rocksdb,tizzybec/rocksdb,tizzybec/rocksdb,RyanTech/rocksdb,wlqGit/rocksdb,ylong/rocksdb,flabby/rocksdb,wenduo/rocksdb,mbarbon/rocksdb,NickCis/rocksdb,rDSN-Projects/rocksdb.replicated,OverlordQ/rocksdb,alihalabyah/rocksdb,bbiao/rocksdb,mbarbon/rocksdb,rDSN-Projects/rocksdb.replicated,temicai/rocksdb,SunguckLee/RocksDB,sorphi/rocksdb,siddhartharay007/rocksdb,JohnPJenkins/rocksdb,caijieming-baidu/rocksdb,temicai/rocksdb,rDSN-Projects/rocksdb.replicated,facebook/rocksdb,tsheasha/rocksdb,wlqGit/rocksdb,amyvmiwei/rocksdb,wat-ze-hex/rocksdb,hobinyoon/rocksdb,Vaisman/rocksdb,luckywhu/rocksdb,Applied-Duality/rocksdb,siddhartharay007/rocksdb,tsheasha/rocksdb,dkorolev/rocksdb,NickCis/rocksdb,norton/rocksdb