Skip to content

fix: add break to skip dead loop in "transaction does not exist"#632

Open
wangwq10 wants to merge 1 commit intoselectdb:devfrom
wangwq10:pr6
Open

fix: add break to skip dead loop in "transaction does not exist"#632
wangwq10 wants to merge 1 commit intoselectdb:devfrom
wangwq10:pr6

Conversation

@wangwq10
Copy link
Copy Markdown
Contributor

fix: add break to skip dead loop in "transaction does not exist"

Comment thread pkg/ccr/base/spec.go
Comment on lines +1134 to +1136
if strings.Contains(err.Error(), "does not exist") {
break
}
Copy link
Copy Markdown
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants