Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/ccr/base/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,9 @@ func (s *Spec) WaitTransactionDone(txnId int64) {
for {
if err := s.waitTransactionDone(txnId); err != nil {
log.Errorf("wait transaction done failed, err +%v", err)
if strings.Contains(err.Error(), "does not exist") {
break
}
Comment on lines +1134 to +1136
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skipping the waiting process by default is not recommended, as it may obscure critical issues. Could you implement a feature flag that is disabled by default?

time.Sleep(time.Second)
} else {
break
Expand Down
Loading