Fix compaction_job_test
Fix compaction_job_test

Summary:
Two issues:
* the input keys to the compaction don't include sequence number.
* sequence number is set to max(seq_num), but it should be set to max(seq_num)+1, because the condition here is strictly-larger (i.e. we will only zero-out sequence number if the DB's sequence number is strictly greater than the key's sequence number): https://github.com/facebook/rocksdb/blob/master/db/compaction_job.cc#L830

Test Plan: make compaction_job_test && ./compaction_job_test

Reviewers: sdong, lovro

Reviewed By: lovro

Subscribers: dhruba, leveldb

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

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