spring-projects / spring-projects/spring-ldap

Add CrAC Support for PooledContextSource

Open
#834 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: core type: enhancement
Dominant language
Java
Stars
375
Forks
501
Avg merge
6h 4m
Merged PRs (30d)
63

Description

PooledContextSource cannot be restored after checkpoint since the GenericKeyedObjectPool no longer functions once it is closed.

One way to address this would be to enhance Apache Commons Pool so that GenericKeyedObjectPool can be restored.

Another would be to have PooledContextSource construct a new GenericKeyedObjectPool instance when restored.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating PooledContextSource and its use of GenericKeyedObjectPool. Trace the checkpoint and restore path to confirm why the closed pool cannot be reused, then evaluate whether restoration belongs in PooledContextSource or Apache Commons Pool. Done means a restored PooledContextSource has a functioning pool.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.