[fixed version] avoid opening multiple writers for the current file; the buffered nature of the global logWriter_ could cause problems patch by jbellis; reviewed for CASSANDRA-370 by Sammy Yu
[fixed version] avoid opening multiple writers for the current file; the buffered nature of the global logWriter_ could cause problems
patch by jbellis; reviewed for CASSANDRA-370 by Sammy Yu

git-svn-id: 1e8683751772dd0ef52a45d586103b4a82d616ff@807399 13f79535-47bb-0310-9956-ffa450edef68

sivikt/cassandra,miguel0afd/cassandra-cqlMod,clohfink/cassandra,sbtourist/cassandra,jasonwee/cassandra,codefollower/Cassandra-Research,macintoshio/cassandra,MasahikoSawada/cassandra,lalithsuresh/cassandra-c3,scaledata/cassandra,sammyyu/Cassandra,fengshao0907/cassandra-1,pofallon/cassandra,bmel/cassandra,likaiwalkman/cassandra,jeromatron/cassandra,carlyeks/cassandra,jasonstack/cassandra,snazy/cassandra,mshuler/cassandra,spodkowinski/cassandra,beobal/cassandra,rdio/cassandra,krummas/cassandra,driftx/cassandra,mambocab/cassandra,aboudreault/cassandra,caidongyun/cassandra,yonglehou/cassandra,nvoron23/cassandra,macintoshio/cassandra,phact/cassandra,dongjiaqiang/cassandra,bcoverston/apache-hosted-cassandra,nakomis/cassandra,strapdata/cassandra,DavidHerzogTU-Berlin/cassandraToRun,qinjin/mdtc-cassandra,boneill42/cassandra,weideng1/cassandra,scylladb/scylla-tools-java,jkni/cassandra,darach/cassandra,jeffjirsa/cassandra,mgmuscari/cassandra-cdh4,rogerchina/cassandra,thobbs/cassandra,project-zerus/cassandra,nitsanw/cassandra,jasobrown/cassandra,fengshao0907/cassandra-1,adelapena/cassandra,belliottsmith/cassandra,iamaleksey/cassandra,heiko-braun/cassandra,hengxin/cassandra,sayanh/ViewMaintenanceSupport,bdeggleston/cassandra,Stratio/stratio-cassandra,pofallon/cassandra,beobal/cassandra,sharvanath/cassandra,pbailis/cassandra-pbs,DavidHerzogTU-Berlin/cassandra,sivikt/cassandra,WorksApplications/cassandra,instaclustr/cassandra,sivikt/cassandra,szhou1234/cassandra,ifesdjeen/cassandra,MasahikoSawada/cassandra,jkni/cassandra,michaelsembwever/cassandra,spodkowinski/cassandra,boneill42/cassandra,segfault/apache_cassandra,rackerlabs/cloudmetrics-cassandra,HidemotoNakada/cassandra-udf,a-buck/cassandra,weipinghe/cassandra,xiongzheng/Cassandra-Research,strapdata/cassandra,pallavi510/cassandra,fengshao0907/Cassandra-Research,xiongzheng/Cassandra-Research,miguel0afd/cassandra-cqlMod,aboudreault/cassandra,josh-mckenzie/cassandra,sayanh/ViewMaintenanceCassandra,Stratio/stratio-cassandra,jkni/cassandra,jeffjirsa/cassandra,dkua/cassandra,kangkot/stratio-cassandra,pcmanus/cassandra,blerer/cassandra,blerer/cassandra,snazy/cassandra,hengxin/cassandra,michaelmior/cassandra,stef1927/cassandra,vaibhi9/cassandra,leomrocha/cassandra,helena/cassandra,aarushi12002/cassandra,pcn/cassandra-1,cooldoger/cassandra,fengshao0907/Cassandra-Research,scylladb/scylla-tools-java,EnigmaCurry/cassandra,chaordic/cassandra,a-buck/cassandra,project-zerus/cassandra,jasonwee/cassandra,clohfink/cassandra,mheffner/cassandra-1,xiongzheng/Cassandra-Research,Imran-C/cassandra,EnigmaCurry/cassandra,mashuai/Cassandra-Research,asias/cassandra,heiko-braun/cassandra,mkjellman/cassandra,DikangGu/cassandra,mgmuscari/cassandra-cdh4,ptnapoleon/cassandra,nitsanw/cassandra,DavidHerzogTU-Berlin/cassandraToRun,nutbunnies/cassandra,qinjin/mdtc-cassandra,sayanh/ViewMaintenanceCassandra,yhnishi/cassandra,leomrocha/cassandra,blambov/cassandra,swps/cassandra,aarushi12002/cassandra,juiceblender/cassandra,pallavi510/cassandra,kangkot/stratio-cassandra,tjake/cassandra,aureagle/cassandra,HidemotoNakada/cassandra-udf,michaelmior/cassandra,josh-mckenzie/cassandra,mt0803/cassandra,iamaleksey/cassandra,Instagram/cassandra,Instagram/cassandra,likaiwalkman/cassandra,pcn/cassandra-1,Bj0rnen/cassandra,regispl/cassandra,weideng1/cassandra,ifesdjeen/cassandra,RyanMagnusson/cassandra,gdusbabek/cassandra,shawnkumar/cstargraph,nvoron23/cassandra,michaelmior/cassandra,vramaswamy456/cassandra,DikangGu/cassandra,aweisberg/cassandra,EnigmaCurry/cassandra,DavidHerzogTU-Berlin/cassandra,caidongyun/cassandra,joesiewert/cassandra,kangkot/stratio-cassandra,exoscale/cassandra,Imran-C/cassandra,christian-esken/cassandra,gdusbabek/cassandra,pthomaid/cassandra,sedulam/CASSANDRA-12201,newrelic-forks/cassandra,krummas/cassandra,aboudreault/cassandra,whitepages/cassandra,gdusbabek/cassandra,shawnkumar/cstargraph,exoscale/cassandra,yonglehou/cassandra,caidongyun/cassandra,mike-tr-adamson/cassandra,fengshao0907/cassandra-1,sedulam/CASSANDRA-12201,knifewine/cassandra,tjake/cassandra,ptuckey/cassandra,LatencyUtils/cassandra-stress2,vramaswamy456/cassandra,chbatey/cassandra-1,mkjellman/cassandra,aweisberg/cassandra,modempachev4/kassandra,rogerchina/cassandra,shookari/cassandra,stuhood/cassandra-old,jasonstack/cassandra,mklew/mmp,nlalevee/cassandra,Jollyplum/cassandra,apache/cassandra,pallavi510/cassandra,guanxi55nba/db-improvement,mariusae/cassandra,sluk3r/cassandra,bdeggleston/cassandra,heiko-braun/cassandra,pcmanus/cassandra,knifewine/cassandra,pauloricardomg/cassandra,pkdevbox/cassandra,ptnapoleon/cassandra,Bj0rnen/cassandra,sbtourist/cassandra,mgmuscari/cassandra-cdh4,mariusae/cassandra,ifesdjeen/cassandra,lalithsuresh/cassandra-c3,MasahikoSawada/cassandra,whitepages/cassandra,jeromatron/cassandra,scylladb/scylla-tools-java,szhou1234/cassandra,aureagle/cassandra,Jaumo/cassandra,guard163/cassandra,asias/cassandra,kgreav/cassandra,qinjin/mdtc-cassandra,rdio/cassandra,yonglehou/cassandra,phact/cassandra,ejankan/cassandra,b/project-cassandra,tongjixianing/projects,modempachev4/kassandra,dprguiuc/Cassandra-Wasef,apache/cassandra,b/project-cassandra,aweisberg/cassandra,bcoverston/cassandra,AtwooTM/cassandra,adejanovski/cassandra,hengxin/cassandra,rackerlabs/cloudmetrics-cassandra,jasobrown/cassandra,cooldoger/cassandra,jbellis/cassandra,newrelic-forks/cassandra,nakomis/cassandra,michaelsembwever/cassandra,helena/cassandra,jeffjirsa/cassandra,helena/cassandra,mshuler/cassandra,project-zerus/cassandra,guard163/cassandra,pbailis/cassandra-pbs,rmarchei/cassandra,strapdata/cassandra,yanbit/cassandra,LatencyUtils/cassandra-stress2,apache/cassandra,knifewine/cassandra,Stratio/stratio-cassandra,mshuler/cassandra,nutbunnies/cassandra,Stratio/cassandra,Stratio/cassandra,GabrielNicolasAvellaneda/cassandra,bpupadhyaya/cassandra,sharvanath/cassandra,jrwest/cassandra,nlalevee/cassandra,iburmistrov/Cassandra,yhnishi/cassandra,pcmanus/cassandra,fengshao0907/Cassandra-Research,joesiewert/cassandra,matthewtt/cassandra_read,DICL/cassandra,Bj0rnen/cassandra,Imran-C/cassandra,pauloricardomg/cassandra,yangzhe1991/cassandra,shawnkumar/cstargraph,bcoverston/cassandra,snazy/cassandra,b/project-cassandra,AtwooTM/cassandra,yangzhe1991/cassandra,driftx/cassandra,stuhood/cassandra-old,mkjellman/cassandra,instaclustr/cassandra,ejankan/cassandra,weipinghe/cassandra,carlyeks/cassandra,nvoron23/cassandra,scaledata/cassandra,blambov/cassandra,guanxi55nba/key-value-store,segfault/apache_cassandra,weideng1/cassandra,ollie314/cassandra,jrwest/cassandra,bdeggleston/cassandra,stuhood/cassandra-old,rmarchei/cassandra,Jollyplum/cassandra,yanbit/cassandra,apache/cassandra,chbatey/cassandra-1,whitepages/cassandra,WorksApplications/cassandra,Stratio/cassandra,ibmsoe/cassandra,guanxi55nba/key-value-store,dkua/cassandra,adejanovski/cassandra,likaiwalkman/cassandra,nlalevee/cassandra,scylladb/scylla-tools-java,ollie314/cassandra,tommystendahl/cassandra,exoscale/cassandra,emolsson/cassandra,szhou1234/cassandra,ifesdjeen/cassandra,jasobrown/cassandra,jeffjirsa/cassandra,jbellis/cassandra,vramaswamy456/cassandra,christian-esken/cassandra,pauloricardomg/cassandra,bcoverston/apache-hosted-cassandra,lalithsuresh/cassandra-c3,tommystendahl/cassandra,christian-esken/cassandra,bpupadhyaya/cassandra,josh-mckenzie/cassandra,pkdevbox/cassandra,scaledata/cassandra,thelastpickle/cassandra,beobal/cassandra,matthewtt/cassandra_read,tjake/cassandra,wreda/cassandra,juiceblender/cassandra,taigetco/cassandra_read,kangkot/stratio-cassandra,blerer/cassandra,newrelic-forks/cassandra,joesiewert/cassandra,josh-mckenzie/cassandra,guard163/cassandra,tjake/cassandra,pkdevbox/cassandra,ptuckey/cassandra,bdeggleston/cassandra,pofallon/cassandra,macintoshio/cassandra,jsanda/cassandra,mashuai/Cassandra-Research,swps/cassandra,yanbit/cassandra,bcoverston/cassandra,sriki77/cassandra,JeremiahDJordan/cassandra,clohfink/cassandra,GabrielNicolasAvellaneda/cassandra,Instagram/cassandra,michaelsembwever/cassandra,dongjiaqiang/cassandra,adelapena/cassandra,sharvanath/cassandra,pbailis/cassandra-pbs,segfault/apache_cassandra,WorksApplications/cassandra,mheffner/cassandra-1,miguel0afd/cassandra-cqlMod,leomrocha/cassandra,mklew/mmp,Jaumo/cassandra,mt0803/cassandra,sayanh/ViewMaintenanceSupport,yhnishi/cassandra,belliottsmith/cassandra,sedulam/CASSANDRA-12201,ejankan/cassandra,bpupadhyaya/cassandra,mklew/mmp,juiceblender/cassandra,krummas/cassandra,jasonwee/cassandra,thobbs/cassandra,chaordic/cassandra,sammyyu/Cassandra,b/project-cassandra,pthomaid/cassandra,sammyyu/Cassandra,aarushi12002/cassandra,regispl/cassandra,thobbs/cassandra,hhorii/cassandra,adelapena/cassandra,modempachev4/kassandra,wreda/cassandra,DavidHerzogTU-Berlin/cassandraToRun,jsanda/cassandra,WorksApplications/cassandra,mambocab/cassandra,mheffner/cassandra-1,aweisberg/cassandra,swps/cassandra,phact/cassandra,nitsanw/cassandra,pthomaid/cassandra,codefollower/Cassandra-Research,DICL/cassandra,sriki77/cassandra,kgreav/cassandra,Instagram/cassandra,mariusae/cassandra,rmarchei/cassandra,GabrielNicolasAvellaneda/cassandra,strapdata/cassandra,DavidHerzogTU-Berlin/cassandra,AtwooTM/cassandra,JeremiahDJordan/cassandra,mashuai/Cassandra-Research,aureagle/cassandra,asias/cassandra,iburmistrov/Cassandra,RyanMagnusson/cassandra,nakomis/cassandra,rogerchina/cassandra,pcn/cassandra-1,DikangGu/cassandra,chbatey/cassandra-1,cooldoger/cassandra,spodkowinski/cassandra,mike-tr-adamson/cassandra,sriki77/cassandra,thelastpickle/cassandra,driftx/cassandra,bmel/cassandra,darach/cassandra,yangzhe1991/cassandra,vaibhi9/cassandra,mkjellman/cassandra,JeremiahDJordan/cassandra,instaclustr/cassandra,jasonstack/cassandra,carlyeks/cassandra,krummas/cassandra,cooldoger/cassandra,bcoverston/apache-hosted-cassandra,ben-manes/cassandra,stuhood/cassandra-old,sluk3r/cassandra,guanxi55nba/key-value-store,yukim/cassandra,belliottsmith/cassandra,ben-manes/cassandra,blambov/cassandra,rdio/cassandra,darach/cassandra,blambov/cassandra,weipinghe/cassandra,HidemotoNakada/cassandra-udf,ibmsoe/cassandra,Stratio/stratio-cassandra,emolsson/cassandra,szhou1234/cassandra,hhorii/cassandra,vaibhi9/cassandra,mariusae/cassandra,shookari/cassandra,dprguiuc/Cassandra-Wasef,iamaleksey/cassandra,taigetco/cassandra_read,ptnapoleon/cassandra,jbellis/cassandra,Jollyplum/cassandra,yukim/cassandra,kgreav/cassandra,RyanMagnusson/cassandra,regispl/cassandra,boneill42/cassandra,sluk3r/cassandra,guanxi55nba/db-improvement,mt0803/cassandra,clohfink/cassandra,guanxi55nba/db-improvement,belliottsmith/cassandra,iburmistrov/Cassandra,michaelsembwever/cassandra,nutbunnies/cassandra,thelastpickle/cassandra,sbtourist/cassandra,jsanda/cassandra,mambocab/cassandra,stef1927/cassandra,jrwest/cassandra,iamaleksey/cassandra,bmel/cassandra,blerer/cassandra,jasobrown/cassandra,kgreav/cassandra,sayanh/ViewMaintenanceCassandra,stef1927/cassandra,bcoverston/cassandra,juiceblender/cassandra,matthewtt/cassandra_read,a-buck/cassandra,pauloricardomg/cassandra,emolsson/cassandra,mike-tr-adamson/cassandra,codefollower/Cassandra-Research,beobal/cassandra,mike-tr-adamson/cassandra,Jaumo/cassandra,ibmsoe/cassandra,tongjixianing/projects,kangkot/stratio-cassandra,jeromatron/cassandra,shookari/cassandra,tommystendahl/cassandra,DICL/cassandra,ollie314/cassandra,ben-manes/cassandra,tommystendahl/cassandra,mariusae/cassandra,rackerlabs/cloudmetrics-cassandra,driftx/cassandra,thelastpickle/cassandra,wreda/cassandra,snazy/cassandra,Stratio/stratio-cassandra,yukim/cassandra,instaclustr/cassandra,tongjixianing/projects,LatencyUtils/cassandra-stress2,spodkowinski/cassandra,dprguiuc/Cassandra-Wasef,adejanovski/cassandra,dkua/cassandra,dongjiaqiang/cassandra,yukim/cassandra,mshuler/cassandra,chaordic/cassandra,taigetco/cassandra_read,stef1927/cassandra,hhorii/cassandra,ptuckey/cassandra,jrwest/cassandra,adelapena/cassandra