Skip to content

Prevent pooled sends from stalling after failed attempts in 9.x #724

Closed

Description

@bbottema

Concurrent pooled sends can stay blocked after active attempts fail and their transports are invalidated. The released 9.3.3 batch layer reproduces this with both SMTP disconnects and recipient rejection; an unrelated healthy release can mask the problem. The default connection-pool claim wait is approximately 24.9 days.

The root defect is fixed in bbottema/generic-object-pool#20 (2.4.3). Consume it through clustered-object-pool 4.0.4 and SMTP Connection Pool 4.0.2, add pooled recovery regression coverage, and release a narrow Java-8-compatible 9.3.4 patch from the separate 9.x checkout.

No 10.0.0 feature work or public API changes belong in this patch.

Related release work: bbottema/generic-object-pool#20, bbottema/clustered-object-pool#22, simple-java-mail/smtp-connection-pool#28, #724.

Activity

  1. added this to the 9.3.4 milestone on Sep 7, 2026
  2. self-assigned this
    on Sep 7, 2026
  3. added
    dependencies
    on Sep 7, 2026
  4. bbottema commented on Sep 7, 2026

    @bbottema
    OwnerAuthor

    Released in 9.3.4. Upgrade Simple Java Mail and any separately declared batch-module dependency to 9.3.4; waiting pooled sends now recover after connection failures or recipient rejection, with no code or configuration changes needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority-Highbugdependencies

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions