[RocksDB] Universal compaction trigger condition minor fix
[RocksDB] Universal compaction trigger condition minor fix

Summary: Currently, when total number of files reaches level0_file_num_compaction_trigger, universal compaction will schedule a compaction job, but the job will not honor the compaction until the total number of files is level0_file_num_compaction_trigger+1. Fixed the condition for consistent behavior (start compaction on reaching level0_file_num_compaction_trigger).

Test Plan: make check; db_stress

Reviewers: dhruba

CC: leveldb

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

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