Fix a rare corner case in which clearing log blocks after a patch storage failure does not behave as expected
Fix a rare corner case in which clearing log blocks after a patch storage failure does not behave as expected

gavioto/rethinkdb,KSanthanam/rethinkdb,pap/rethinkdb,sontek/rethinkdb,niieani/rethinkdb,robertjpayne/rethinkdb,sebadiaz/rethinkdb,grandquista/rethinkdb,grandquista/rethinkdb,niieani/rethinkdb,mbroadst/rethinkdb,lenstr/rethinkdb,gdi2290/rethinkdb,ajose01/rethinkdb,marshall007/rethinkdb,4talesa/rethinkdb,elkingtonmcb/rethinkdb,victorbriz/rethinkdb,victorbriz/rethinkdb,bpradipt/rethinkdb,ayumilong/rethinkdb,tempbottle/rethinkdb,sontek/rethinkdb,bpradipt/rethinkdb,alash3al/rethinkdb,dparnell/rethinkdb,spblightadv/rethinkdb,wkennington/rethinkdb,wojons/rethinkdb,matthaywardwebdesign/rethinkdb,victorbriz/rethinkdb,catroot/rethinkdb,catroot/rethinkdb,dparnell/rethinkdb,sbusso/rethinkdb,catroot/rethinkdb,wujf/rethinkdb,bchavez/rethinkdb,yakovenkodenis/rethinkdb,jmptrader/rethinkdb,niieani/rethinkdb,captainpete/rethinkdb,yakovenkodenis/rethinkdb,mbroadst/rethinkdb,gdi2290/rethinkdb,mcanthony/rethinkdb,4talesa/rethinkdb,yaolinz/rethinkdb,mcanthony/rethinkdb,pap/rethinkdb,sontek/rethinkdb,jfriedly/rethinkdb,victorbriz/rethinkdb,lenstr/rethinkdb,RubenKelevra/rethinkdb,bpradipt/rethinkdb,eliangidoni/rethinkdb,marshall007/rethinkdb,alash3al/rethinkdb,urandu/rethinkdb,dparnell/rethinkdb,pap/rethinkdb,spblightadv/rethinkdb,wojons/rethinkdb,greyhwndz/rethinkdb,Wilbeibi/rethinkdb,mquandalle/rethinkdb,KSanthanam/rethinkdb,jmptrader/rethinkdb,4talesa/rethinkdb,greyhwndz/rethinkdb,alash3al/rethinkdb,scripni/rethinkdb,greyhwndz/rethinkdb,sbusso/rethinkdb,matthaywardwebdesign/rethinkdb,dparnell/rethinkdb,wkennington/rethinkdb,nviennot/rethinkdb,KSanthanam/rethinkdb,scripni/rethinkdb,jfriedly/rethinkdb,wojons/rethinkdb,scripni/rethinkdb,alash3al/rethinkdb,bchavez/rethinkdb,ajose01/rethinkdb,JackieXie168/rethinkdb,grandquista/rethinkdb,urandu/rethinkdb,greyhwndz/rethinkdb,marshall007/rethinkdb,ajose01/rethinkdb,4talesa/rethinkdb,losywee/rethinkdb,KSanthanam/rethinkdb,yakovenkodenis/rethinkdb,nviennot/rethinkdb,mcanthony/rethinkdb,captainpete/rethinkdb,victorbriz/rethinkdb,lenstr/rethinkdb,bpradipt/rethinkdb,marshall007/rethinkdb,bchavez/rethinkdb,bpradipt/rethinkdb,Wilbeibi/rethinkdb,niieani/rethinkdb,sontek/rethinkdb,rrampage/rethinkdb,losywee/rethinkdb,RubenKelevra/rethinkdb,jesseditson/rethinkdb,captainpete/rethinkdb,AtnNn/rethinkdb,sontek/rethinkdb,sebadiaz/rethinkdb,elkingtonmcb/rethinkdb,tempbottle/rethinkdb,Wilbeibi/rethinkdb,AtnNn/rethinkdb,mbroadst/rethinkdb,urandu/rethinkdb,mquandalle/rethinkdb,jmptrader/rethinkdb,gavioto/rethinkdb,jesseditson/rethinkdb,AntouanK/rethinkdb,mbroadst/rethinkdb,wojons/rethinkdb,urandu/rethinkdb,bchavez/rethinkdb,dparnell/rethinkdb,rrampage/rethinkdb,losywee/rethinkdb,catroot/rethinkdb,ajose01/rethinkdb,yaolinz/rethinkdb,sebadiaz/rethinkdb,ayumilong/rethinkdb,mcanthony/rethinkdb,jesseditson/rethinkdb,wojons/rethinkdb,Wilbeibi/rethinkdb,mquandalle/rethinkdb,gavioto/rethinkdb,alash3al/rethinkdb,jmptrader/rethinkdb,jesseditson/rethinkdb,jmptrader/rethinkdb,Wilbeibi/rethinkdb,yaolinz/rethinkdb,Qinusty/rethinkdb,sbusso/rethinkdb,tempbottle/rethinkdb,wkennington/rethinkdb,elkingtonmcb/rethinkdb,greyhwndz/rethinkdb,pap/rethinkdb,niieani/rethinkdb,greyhwndz/rethinkdb,bchavez/rethinkdb,lenstr/rethinkdb,ajose01/rethinkdb,bpradipt/rethinkdb,jesseditson/rethinkdb,alash3al/rethinkdb,pap/rethinkdb,RubenKelevra/rethinkdb,ayumilong/rethinkdb,pap/rethinkdb,marshall007/rethinkdb,mcanthony/rethinkdb,captainpete/rethinkdb,AntouanK/rethinkdb,gdi2290/rethinkdb,wojons/rethinkdb,bchavez/rethinkdb,niieani/rethinkdb,JackieXie168/rethinkdb,spblightadv/rethinkdb,Qinusty/rethinkdb,matthaywardwebdesign/rethinkdb,rrampage/rethinkdb,sbusso/rethinkdb,eliangidoni/rethinkdb,AntouanK/rethinkdb,ayumilong/rethinkdb,JackieXie168/rethinkdb,lenstr/rethinkdb,AntouanK/rethinkdb,ayumilong/rethinkdb,tempbottle/rethinkdb,victorbriz/rethinkdb,yaolinz/rethinkdb,jmptrader/rethinkdb,yakovenkodenis/rethinkdb,marshall007/rethinkdb,jfriedly/rethinkdb,lenstr/rethinkdb,grandquista/rethinkdb,robertjpayne/rethinkdb,dparnell/rethinkdb,robertjpayne/rethinkdb,captainpete/rethinkdb,ayumilong/rethinkdb,elkingtonmcb/rethinkdb,urandu/rethinkdb,eliangidoni/rethinkdb,AtnNn/rethinkdb,wkennington/rethinkdb,rrampage/rethinkdb,Qinusty/rethinkdb,Wilbeibi/rethinkdb,matthaywardwebdesign/rethinkdb,nviennot/rethinkdb,RubenKelevra/rethinkdb,sontek/rethinkdb,spblightadv/rethinkdb,scripni/rethinkdb,AtnNn/rethinkdb,ajose01/rethinkdb,matthaywardwebdesign/rethinkdb,AtnNn/rethinkdb,rrampage/rethinkdb,sontek/rethinkdb,4talesa/rethinkdb,mcanthony/rethinkdb,eliangidoni/rethinkdb,dparnell/rethinkdb,losywee/rethinkdb,dparnell/rethinkdb,sbusso/rethinkdb,urandu/rethinkdb,eliangidoni/rethinkdb,elkingtonmcb/rethinkdb,jfriedly/rethinkdb,mcanthony/rethinkdb,gavioto/rethinkdb,matthaywardwebdesign/rethinkdb,jfriedly/rethinkdb,mbroadst/rethinkdb,robertjpayne/rethinkdb,robertjpayne/rethinkdb,ayumilong/rethinkdb,Qinusty/rethinkdb,AntouanK/rethinkdb,Qinusty/rethinkdb,nviennot/rethinkdb,grandquista/rethinkdb,sbusso/rethinkdb,catroot/rethinkdb,yaolinz/rethinkdb,robertjpayne/rethinkdb,Qinusty/rethinkdb,robertjpayne/rethinkdb,rrampage/rethinkdb,matthaywardwebdesign/rethinkdb,gavioto/rethinkdb,jesseditson/rethinkdb,gdi2290/rethinkdb,jesseditson/rethinkdb,nviennot/rethinkdb,scripni/rethinkdb,elkingtonmcb/rethinkdb,KSanthanam/rethinkdb,marshall007/rethinkdb,pap/rethinkdb,sbusso/rethinkdb,RubenKelevra/rethinkdb,bchavez/rethinkdb,wujf/rethinkdb,JackieXie168/rethinkdb,urandu/rethinkdb,JackieXie168/rethinkdb,KSanthanam/rethinkdb,bpradipt/rethinkdb,grandquista/rethinkdb,AntouanK/rethinkdb,spblightadv/rethinkdb,gavioto/rethinkdb,marshall007/rethinkdb,urandu/rethinkdb,wkennington/rethinkdb,ajose01/rethinkdb,jfriedly/rethinkdb,rrampage/rethinkdb,yakovenkodenis/rethinkdb,scripni/rethinkdb,jmptrader/rethinkdb,bchavez/rethinkdb,yakovenkodenis/rethinkdb,grandquista/rethinkdb,gavioto/rethinkdb,jesseditson/rethinkdb,KSanthanam/rethinkdb,bchavez/rethinkdb,JackieXie168/rethinkdb,victorbriz/rethinkdb,eliangidoni/rethinkdb,Wilbeibi/rethinkdb,Qinusty/rethinkdb,Qinusty/rethinkdb,alash3al/rethinkdb,yakovenkodenis/rethinkdb,sbusso/rethinkdb,losywee/rethinkdb,catroot/rethinkdb,mquandalle/rethinkdb,mcanthony/rethinkdb,tempbottle/rethinkdb,lenstr/rethinkdb,spblightadv/rethinkdb,mbroadst/rethinkdb,sebadiaz/rethinkdb,catroot/rethinkdb,mbroadst/rethinkdb,RubenKelevra/rethinkdb,mbroadst/rethinkdb,alash3al/rethinkdb,catroot/rethinkdb,sebadiaz/rethinkdb,mquandalle/rethinkdb,tempbottle/rethinkdb,wkennington/rethinkdb,lenstr/rethinkdb,spblightadv/rethinkdb,wujf/rethinkdb,wujf/rethinkdb,wkennington/rethinkdb,matthaywardwebdesign/rethinkdb,tempbottle/rethinkdb,Wilbeibi/rethinkdb,AntouanK/rethinkdb,scripni/rethinkdb,mquandalle/rethinkdb,yaolinz/rethinkdb,robertjpayne/rethinkdb,dparnell/rethinkdb,gavioto/rethinkdb,niieani/rethinkdb,4talesa/rethinkdb,RubenKelevra/rethinkdb,sebadiaz/rethinkdb,pap/rethinkdb,gdi2290/rethinkdb,captainpete/rethinkdb,rrampage/rethinkdb,sontek/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,yaolinz/rethinkdb,greyhwndz/rethinkdb,spblightadv/rethinkdb,4talesa/rethinkdb,nviennot/rethinkdb,AntouanK/rethinkdb,losywee/rethinkdb,ayumilong/rethinkdb,JackieXie168/rethinkdb,robertjpayne/rethinkdb,captainpete/rethinkdb,grandquista/rethinkdb,ajose01/rethinkdb,4talesa/rethinkdb,yakovenkodenis/rethinkdb,wojons/rethinkdb,AtnNn/rethinkdb,mquandalle/rethinkdb,niieani/rethinkdb,jfriedly/rethinkdb,wkennington/rethinkdb,yaolinz/rethinkdb,wojons/rethinkdb,sebadiaz/rethinkdb,gdi2290/rethinkdb,jmptrader/rethinkdb,tempbottle/rethinkdb,bpradipt/rethinkdb,AtnNn/rethinkdb,AtnNn/rethinkdb,gdi2290/rethinkdb,losywee/rethinkdb,greyhwndz/rethinkdb,mquandalle/rethinkdb,nviennot/rethinkdb,bpradipt/rethinkdb,wujf/rethinkdb,scripni/rethinkdb,captainpete/rethinkdb,RubenKelevra/rethinkdb,sebadiaz/rethinkdb,Qinusty/rethinkdb,eliangidoni/rethinkdb,grandquista/rethinkdb,nviennot/rethinkdb,elkingtonmcb/rethinkdb,mbroadst/rethinkdb,losywee/rethinkdb,victorbriz/rethinkdb,elkingtonmcb/rethinkdb,wujf/rethinkdb,jfriedly/rethinkdb,eliangidoni/rethinkdb,eliangidoni/rethinkdb,wujf/rethinkdb,KSanthanam/rethinkdb