Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queries and Extents with non-TX-read will not work in a multi-session setting #93

Open
tzaeschke opened this issue Feb 19, 2017 · 0 comments

Comments

@tzaeschke
Copy link
Owner

Queries and extents may fail or return wrong results when used outside of a transaction with the non-transactional-read feature. The reason is that they may rely on iterators, which may be modified by concurrently by other transactions.

Solutions:

  1. Disallow Extents outside of transactions. JDO spec 3.1, section 5.6 only requires Queries and navigation to work with non-TX-read
  2. For queries, use infinite batch size, i.e. load all results, at least as HOLLOW. We should consider putting a warning out if the result is too big.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant