spring-projects / spring-projects/spring-batch

Discrepancy in Thread Safety Documentation for AbstractPagingItemReader Subclasses

Open
#4,580 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage type: bug
Dominant language
Java
Stars
3k
Forks
2.5k
Avg merge
6d 53m
Merged PRs (30d)
3

Description

Hi.

Please confirm the discrepancy in the "thread safety" annotation across subclasses' comments.

There is a discrepancy between the documentation for version 5 of AbstractPagingItemReader,
which states that it is not thread-safe, and the comments in certain classes such as JpaPagingItemReader, JdbcPagingItemReader, and HibernatePagingItemReader,
which indicate that they are thread-safe. This raises doubts about the accuracy of these claims.

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

Compare the thread-safety documentation for AbstractPagingItemReader version 5 with the comments in JpaPagingItemReader, JdbcPagingItemReader, and HibernatePagingItemReader. Determine which claims are inconsistent, update the inaccurate documentation, and verify that the affected class comments consistently describe thread safety.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.