fix a bug for unwanted commit when the current replica state is already potential secondary, which happens when the learning msg is lost (e.g., by fault injection)
fix a bug for unwanted commit when the current replica state is already potential secondary, which happens when the learning msg is lost (e.g., by fault injection)

ykwd/rDSN,pandaworrior/rDSN,goksyli/rDSN,Microsoft/rDSN,Microsoft/rDSN,shengofsun/rDSN,imzhenyu/rDSN,qinzuoyan/rDSN,Microsoft/rDSN,ykwd/rDSN,lshmouse/rDSN,shengofsun/rDSN,Microsoft/rDSN,qinzuoyan/rDSN,imzhenyu/rDSN,qinzuoyan/rDSN,imzhenyu/rDSN,shengofsun/rDSN,qinzuoyan/rDSN,lshmouse/rDSN,pandaworrior/rDSN,qinzuoyan/rDSN,imzhenyu/rDSN,lshmouse/rDSN,qinzuoyan/rDSN,imzhenyu/rDSN,qinzuoyan/rDSN,shengofsun/rDSN,glglwty/rDSN,mcfatealan/rDSN,imzhenyu/rDSN,Microsoft/rDSN,lshmouse/rDSN,Microsoft/rDSN,ykwd/rDSN,pandaworrior/rDSN,lshmouse/rDSN,glglwty/rDSN,lshmouse/rDSN,shengofsun/rDSN,mcfatealan/rDSN,goksyli/rDSN,goksyli/rDSN,ykwd/rDSN,glglwty/rDSN,lshmouse/rDSN,imzhenyu/rDSN,ykwd/rDSN,goksyli/rDSN,imzhenyu/rDSN,Microsoft/rDSN,pandaworrior/rDSN,shengofsun/rDSN,lshmouse/rDSN,Microsoft/rDSN,glglwty/rDSN,shengofsun/rDSN,mcfatealan/rDSN,shengofsun/rDSN,qinzuoyan/rDSN,glglwty/rDSN,pandaworrior/rDSN,mcfatealan/rDSN