File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -628,12 +628,6 @@ func (r *Runtime) followerDoCommit(req *commitReq) (err error) {
628628 // check for last commit availability
629629 myLastCommit := atomic .LoadUint64 (& r .lastCommit )
630630 if req .lastCommit != myLastCommit {
631- // wait for next round
632- log .WithFields (log.Fields {
633- "expected" : req .lastCommit ,
634- "actual" : myLastCommit ,
635- }).Warning ("new commit arrived too early, wait for real commit" )
636-
637631 // TODO(): need counter for retries, infinite commit re-order would cause troubles
638632 go func (req * commitReq ) {
639633 r .commitCh <- req
Original file line number Diff line number Diff line change @@ -102,9 +102,9 @@ func (hook *CallerHook) Levels() []logrus.Level {
102102 logrus .PanicLevel ,
103103 logrus .FatalLevel ,
104104 logrus .ErrorLevel ,
105- logrus .WarnLevel ,
106- logrus .InfoLevel ,
107- logrus .DebugLevel ,
105+ // logrus.WarnLevel,
106+ // logrus.InfoLevel,
107+ // logrus.DebugLevel,
108108 }
109109}
110110
You can’t perform that action at this time.
0 commit comments