We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f77308e + 61a148b commit 8cc642fCopy full SHA for 8cc642f
replication/binlogsyncer.go
@@ -7,6 +7,7 @@ import (
7
"fmt"
8
"net"
9
"os"
10
+ "strings"
11
"sync"
12
"time"
13
@@ -725,6 +726,11 @@ func (b *BinlogSyncer) onStream(s *BinlogStreamer) {
725
726
switch data[0] {
727
case OK_HEADER:
728
if err = b.parseEvent(b.nextPos.Name, s, data); err != nil {
729
+ // if the error is errMissingTableMapEvent skip
730
+ if strings.Contains(strings.ToLower(errors.Cause(err).Error()), errMissingTableMapEvent.Error()) {
731
+ log.Errorf("invalid table skipping , probably deleted? %s", err.Error())
732
+ continue
733
+ }
734
s.closeWithError(err)
735
return
736
}
0 commit comments