Skip to content

DATAMONGO-2130 - Fix Repository count inside transaction. #618

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

Closed
wants to merge 3 commits into from

Conversation

christophstrobl
Copy link
Member

We now make sure invocations on repository count methods delegate to countDocuments when inside a transaction.

We now make sure invocations on repository count and exists methods delegate to countDocuments when inside a transaction.
Set timeout for InetAdress host lookup to reduce test execution time.
mp911de pushed a commit that referenced this pull request Nov 16, 2018
We now make sure invocations on repository count and exists methods delegate to countDocuments when inside a transaction.

Original pull request: #618.
mp911de pushed a commit that referenced this pull request Nov 16, 2018
Set timeout for InetAdress host lookup to reduce test execution time.

Original pull request: #618.
mp911de added a commit that referenced this pull request Nov 16, 2018
Replace duplicate checks to ClientSession.hasActiveTransaction() with MongoResourceHolder.hasActiveTransaction(). Introduce MongoResourceHolder.getRequiredSession() to avoid nullability warnings.

Original pull request: #618.
mp911de pushed a commit that referenced this pull request Nov 16, 2018
We now make sure invocations on repository count and exists methods delegate to countDocuments when inside a transaction.

Original pull request: #618.
mp911de pushed a commit that referenced this pull request Nov 16, 2018
Set timeout for InetAdress host lookup to reduce test execution time.

Original pull request: #618.
mp911de added a commit that referenced this pull request Nov 16, 2018
Replace duplicate checks to ClientSession.hasActiveTransaction() with MongoResourceHolder.hasActiveTransaction(). Introduce MongoResourceHolder.getRequiredSession() to avoid nullability warnings.

Original pull request: #618.
@mp911de
Copy link
Member

mp911de commented Nov 16, 2018

That's merged and polished now.

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

Successfully merging this pull request may close these issues.

2 participants