Adding logging and checks to track an intermittent issue I'm seeing.
Adding logging and checks to track an intermittent issue I'm seeing.

LGTM Ric.

fanngyuan/vitess,nso95/vitess,nso95/vitess,fanngyuan/vitess,fanngyuan/vitess,fanngyuan/vitess,fanngyuan/vitess,nso95/vitess,nso95/vitess,nso95/vitess