Block instead of panicking when event buffer is reached.
Block instead of panicking when event buffer is reached.

Since we are now more tolerant of blocking in the multiraft thread (see
also #1143), it is better to block than panic when the event channel is
full. This also allows us to remove the hard-coded constant for channel
size, and use an unbuffered channel by default.

glycerine/cockroach,vaibhavarora/cockroach,bg451/cockroach,arjun4084346/cockroach,SustainFund/cockroach,veteranlu/cockroach,marcuswestin/cockroach,petermattis/cockroach,vivekmenezes/cockroach,yosiat/cockroach,jess-edwards/cockroach,fengshao0907/cockroach,mbonaci/cockroach,petermattis/cockroach,cuongdo/cockroach,chrisseto/cockroach,jgautheron/cockroach,cockroachdb/cockroach,il9ue/cockroach,XisiHuang/cockroach,Abioy/cockroach,arypurnomoz/cockroach,vivekmenezes/cockroach,sunya123/cockroach,arjun4084346/cockroach,jamesgraves/cockroach,vaibhavarora/cockroach,GokulSrinivas/cockroach,fengshao0907/cockroach,slavau/cockroach,cuongdo/cockroach,maxlang/cockroach,sunya123/cockroach,chrisseto/cockroach,briceburg/cockroach,c4pt0r/cockroach,mbonaci/cockroach,il9ue/cockroach,jmank88/cockroach,arjun4084346/cockroach,vivekmenezes/cockroach,alunarbeach/cockroach,nieyy/cockroach,domluna/cockroach,petermattis/cockroach,vivekmenezes/cockroach,cuongdo/cockroach,mbertschler/cockroach,sunya123/cockroach,glycerine/cockroach,bg451/cockroach,maxlang/cockroach,vaibhavarora/cockroach,paperstreet/cockroach,jgautheron/cockroach,jamesgraves/cockroach,hassyma/cockroach,vivekmenezes/cockroach,jgautheron/cockroach,freakynit/cockroach,Abioy/cockroach,nkhuyu/cockroach,cockroachdb/cockroach,veteranlu/cockroach,jgautheron/cockroach,bg451/cockroach,linearb/cockroach,petermattis/cockroach,alunarbeach/cockroach,ngaut/cockroach,SustainFund/cockroach,jgautheron/cockroach,ngaut/cockroach,linearb/cockroach,marcuswestin/cockroach,paperstreet/cockroach,vaibhavarora/cockroach,bg451/cockroach,abhishekgahlot/cockroach,paperstreet/cockroach,GokulSrinivas/cockroach,sunya123/cockroach,mbertschler/cockroach,loucash/cockroach,ajayaa/cockroach,chrisseto/cockroach,alunarbeach/cockroach,XisiHuang/cockroach,mbertschler/cockroach,cuongdo/cockroach,vaibhavarora/cockroach,glycerine/cockroach,ngaut/cockroach,yiixiansheng/cockroach,briceburg/cockroach,briceburg/cockroach,marcuswestin/cockroach,paperstreet/cockroach,vaibhavarora/cockroach,ajayaa/cockroach,alex/cockroach,marcuswestin/cockroach,mbonaci/cockroach,loucash/cockroach,bg451/cockroach,domluna/cockroach,fengshao0907/cockroach,maxlang/cockroach,mbertschler/cockroach,paperstreet/cockroach,alunarbeach/cockroach,SustainFund/cockroach,cockroachdb/cockroach,yosiat/cockroach,briceburg/cockroach,XisiHuang/cockroach,jess-edwards/cockroach,glycerine/cockroach,alex/cockroach,marcuswestin/cockroach,marcuswestin/cockroach,jamesgraves/cockroach,ngaut/cockroach,ajayaa/cockroach,jmank88/cockroach,arjun4084346/cockroach,GokulSrinivas/cockroach,maxlang/cockroach,Abioy/cockroach,freakynit/cockroach,ngaut/cockroach,il9ue/cockroach,SustainFund/cockroach,il9ue/cockroach,XisiHuang/cockroach,veteranlu/cockroach,mbertschler/cockroach,il9ue/cockroach,alex/cockroach,abhishekgahlot/cockroach,maxlang/cockroach,XisiHuang/cockroach,hassyma/cockroach,slavau/cockroach,paperstreet/cockroach,alex/cockroach,nkhuyu/cockroach,alex/cockroach,linearb/cockroach,yosiat/cockroach,jamesgraves/cockroach,petermattis/cockroach,maxlang/cockroach,mbertschler/cockroach,slavau/cockroach,abhishekgahlot/cockroach,jmank88/cockroach,nkhuyu/cockroach,veteranlu/cockroach,mbonaci/cockroach,linearb/cockroach,bg451/cockroach,Abioy/cockroach,jmank88/cockroach,cuongdo/cockroach,marcuswestin/cockroach,vivekmenezes/cockroach,jmank88/cockroach,jess-edwards/cockroach,yosiat/cockroach,nieyy/cockroach,domluna/cockroach,il9ue/cockroach,cockroachdb/cockroach,cuongdo/cockroach,abhishekgahlot/cockroach,c4pt0r/cockroach,yiixiansheng/cockroach,maxlang/cockroach,sunya123/cockroach,nkhuyu/cockroach,nieyy/cockroach,yosiat/cockroach,cockroachdb/cockroach,petermattis/cockroach,jgautheron/cockroach,jess-edwards/cockroach,cockroachdb/cockroach,briceburg/cockroach,maxlang/cockroach,freakynit/cockroach,domluna/cockroach,sunya123/cockroach,bg451/cockroach,veteranlu/cockroach,mbonaci/cockroach,glycerine/cockroach,hassyma/cockroach,arjun4084346/cockroach,arypurnomoz/cockroach,il9ue/cockroach,arypurnomoz/cockroach,il9ue/cockroach,c4pt0r/cockroach,nkhuyu/cockroach,linearb/cockroach,jamesgraves/cockroach,fengshao0907/cockroach,sunya123/cockroach,jess-edwards/cockroach,loucash/cockroach,arjun4084346/cockroach,linearb/cockroach,abhishekgahlot/cockroach,glycerine/cockroach,nieyy/cockroach,veteranlu/cockroach,slavau/cockroach,cockroachdb/cockroach,GokulSrinivas/cockroach,Abioy/cockroach,SustainFund/cockroach,ajayaa/cockroach,petermattis/cockroach,paperstreet/cockroach,loucash/cockroach,loucash/cockroach,yiixiansheng/cockroach,cockroachdb/cockroach,yiixiansheng/cockroach,vaibhavarora/cockroach,sunya123/cockroach,Abioy/cockroach,nieyy/cockroach,linearb/cockroach,freakynit/cockroach,yiixiansheng/cockroach,jess-edwards/cockroach,chrisseto/cockroach,mbertschler/cockroach,glycerine/cockroach,vivekmenezes/cockroach,chrisseto/cockroach,alunarbeach/cockroach,mbonaci/cockroach,jmank88/cockroach,loucash/cockroach,vaibhavarora/cockroach,XisiHuang/cockroach,arjun4084346/cockroach,slavau/cockroach,chrisseto/cockroach,arypurnomoz/cockroach,domluna/cockroach,hassyma/cockroach,ajayaa/cockroach,nieyy/cockroach,arypurnomoz/cockroach,glycerine/cockroach,domluna/cockroach,yiixiansheng/cockroach,jmank88/cockroach,jess-edwards/cockroach,arjun4084346/cockroach,alex/cockroach,ngaut/cockroach,SustainFund/cockroach,cuongdo/cockroach,c4pt0r/cockroach,nkhuyu/cockroach,petermattis/cockroach,jamesgraves/cockroach,yosiat/cockroach,ngaut/cockroach,hassyma/cockroach,nieyy/cockroach,marcuswestin/cockroach,c4pt0r/cockroach,GokulSrinivas/cockroach,veteranlu/cockroach,freakynit/cockroach,veteranlu/cockroach,ajayaa/cockroach,fengshao0907/cockroach,slavau/cockroach,GokulSrinivas/cockroach,paperstreet/cockroach,cuongdo/cockroach,alunarbeach/cockroach,hassyma/cockroach,domluna/cockroach,jamesgraves/cockroach,abhishekgahlot/cockroach,briceburg/cockroach,nieyy/cockroach,c4pt0r/cockroach,fengshao0907/cockroach,arypurnomoz/cockroach,freakynit/cockroach,vivekmenezes/cockroach