Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 8, 2026. It is now read-only.

fix: Do not use directExecutor() for the publish callback when ordering is enabled#2693

Merged
michaelpri10 merged 1 commit into
googleapis:maingoogleapis/java-pubsub:mainfrom
michaelpri10:ccmmichaelpri10/java-pubsub:ccmCopy head branch name to clipboard
Feb 17, 2026
Merged

fix: Do not use directExecutor() for the publish callback when ordering is enabled#2693
michaelpri10 merged 1 commit into
googleapis:maingoogleapis/java-pubsub:mainfrom
michaelpri10:ccmmichaelpri10/java-pubsub:ccmCopy head branch name to clipboard

Conversation

@michaelpri10

Copy link
Copy Markdown
Contributor

This prevents a ConcurrentModificationException from occurring that is caused by the use of the directExecutor() when scheduling a callback, which can cause lock isolation to be broken.

Fixes #2377

@michaelpri10 michaelpri10 requested a review from a team February 16, 2026 23:01
@product-auto-label product-auto-label Bot added size: xs Pull request size is extra small. api: pubsub Issues related to the googleapis/java-pubsub API. labels Feb 16, 2026
@michaelpri10

Copy link
Copy Markdown
Contributor Author

/gcbrun

@michaelpri10 michaelpri10 merged commit c7ecd2b into googleapis:main Feb 17, 2026
26 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: pubsub Issues related to the googleapis/java-pubsub API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PubSub: ConcurrentModificationException when publishing messages with ordering keys

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.