Use sanitized options while opening db
Use sanitized options while opening db

Summary: We use SanitizeOptions() to set appropriate values for some options, based on other options. So we should use the sanitized options by default. Luckily it hasn't caused a bug yet, but can result in a bug in the fugture.

Test Plan: make check

Reviewers: haobo

CC: leveldb

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

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