Skip to content

Create context per collector in TestAllGroupsCollector.createRandomCollectorManager#16094

Merged
javanna merged 2 commits into
apache:mainfrom
gaobinlong:fixContext
May 21, 2026
Merged

Create context per collector in TestAllGroupsCollector.createRandomCollectorManager#16094
javanna merged 2 commits into
apache:mainfrom
gaobinlong:fixContext

Conversation

@gaobinlong
Copy link
Copy Markdown
Contributor

Description

In TestAllGroupsCollector.createRandomCollectorManager, we create on context and make it be shared across collectors in concurrent search scenario, this is not thread-safe, need to create context for each collector.

…llectorManager

Signed-off-by: Binlong Gao <gbinlong@amazon.com>
@gaobinlong
Copy link
Copy Markdown
Contributor Author

Hi @javanna, this was introduced in previous PR, could you help to review, thanks!

Copy link
Copy Markdown
Contributor

@javanna javanna left a comment

Choose a reason for hiding this comment

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

LGTM thanks a lot for coming back to this!

@javanna javanna added the skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check. label May 21, 2026
@javanna javanna added this to the 10.5.0 milestone May 21, 2026
@javanna javanna merged commit f2c9d79 into apache:main May 21, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:grouping skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants