Tree: use set instead of NodeSet for gwtargets tracking by thiell · Pull Request #562 · clustershell/clustershell · GitHub
Skip to content

Tree: use set instead of NodeSet for gwtargets tracking#562

Merged
thiell merged 4 commits into
clustershell:masterfrom
thiell:b193_560
Sep 3, 2024
Merged

Tree: use set instead of NodeSet for gwtargets tracking#562
thiell merged 4 commits into
clustershell:masterfrom
thiell:b193_560

Conversation

@thiell

@thiell thiell commented May 22, 2024

Copy link
Copy Markdown
Collaborator

Using a NodeSet to track a large and frequent-changing set of remote
targets can lead to performance issue as reported in #560, especially
when RangeSetND is involved.

Use a standard set instead for gwtargets tracking in the TreeWorker
and adapt clush to work with sets in that case.

Fixes #560

thiell added 2 commits May 22, 2024 11:29
Using a NodeSet to track a large and frequent-changing set of remote
targets can lead to performance issue as reported in clustershell#560, especially
when RangeSetND is involved.

Use a standard set instead for gwtargets tracking in the TreeWorker
and adapt clush to work with sets in that case.

Fixes clustershell#560
@thiell thiell added this pull request to the merge queue Sep 3, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 3, 2024
@thiell thiell added this pull request to the merge queue Sep 3, 2024
Merged via the queue into clustershell:master with commit 4fcf213 Sep 3, 2024
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.

Bad performance in treemode mode with over 1000 nodes environment

1 participant