Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tdbg dlq purge for v2 #5023

Merged
merged 1 commit into from Oct 26, 2023
Merged

Add tdbg dlq purge for v2 #5023

merged 1 commit into from Oct 26, 2023

Conversation

MichaelSnowden
Copy link
Contributor

@MichaelSnowden MichaelSnowden commented Oct 23, 2023

What changed?
I added the ability to purge DLQ tasks from tdbg.

Why?

How did you test it?
I added an end-to-end test which starts a workflow that produces terminally failing tasks, verifies that it's added to the DLQ, and then uses the new tdbg purge command to delete the DLQ tasks.

Potential risks

Is hotfix candidate?

@MichaelSnowden MichaelSnowden requested a review from a team as a code owner October 23, 2023 16:04
@MichaelSnowden MichaelSnowden changed the base branch from main to snowden/no-wrapper October 24, 2023 23:09
Comment on lines 87 to 94
if len(sourceCluster) == 0 {
sourceCluster = targetCluster
}
Copy link
Member

Choose a reason for hiding this comment

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

nit: required for the replication queue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, added validation and a test for it.

Base automatically changed from snowden/no-wrapper to main October 25, 2023 23:34
@MichaelSnowden MichaelSnowden enabled auto-merge (squash) October 25, 2023 23:35
@MichaelSnowden MichaelSnowden merged commit 6a82c54 into main Oct 26, 2023
10 checks passed
@MichaelSnowden MichaelSnowden deleted the snowden/dlq-purge branch October 26, 2023 00:24
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.

None yet

2 participants