Skip to content

[v13] Prevent multiple discovery agents to race against each other#24715

Merged
tigrato merged 1 commit intobranch/v13from
bot/backport-24214-branch/v13
Apr 18, 2023
Merged

[v13] Prevent multiple discovery agents to race against each other#24715
tigrato merged 1 commit intobranch/v13from
bot/backport-24214-branch/v13

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Apr 18, 2023

Backport #24214 to branch/v13

Currently, when multiple discovery services are running with different
selectors, they will race against each other and delete the other
resources.

This PR fixes that behavior if the databases or kube clusters existent
in auth do not match the current selectors, they will be ignored.

This has a slight problem when a user stops a discovery agent, he must
manually delete the resources created, otherwise they will be available
forever.

Fixes #23699
@github-actions github-actions Bot added backport database-access Database access related issues and PRs size/md labels Apr 18, 2023
@tigrato tigrato added this pull request to the merge queue Apr 18, 2023
Merged via the queue into branch/v13 with commit afcf69c Apr 18, 2023
@tigrato tigrato deleted the bot/backport-24214-branch/v13 branch April 18, 2023 16:09
@r0mant r0mant mentioned this pull request Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport database-access Database access related issues and PRs size/md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants