Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Ensure connections are being closed #133

Merged

Conversation

darroyocazorla
Copy link
Member

It is the first step to solve the connections issue. As @wuciawe pointed out, there were several leaks.

Once the issue is solved, We'll clean up the MongodbClientFactory by removing the connection reuse because it's not working properly. Therefore, a new MongoClient will be created per partition.

Meanwhile, we will be working on the connection handler refactor, working with a single MongoClient instance per executor/config. It will be available soon (for 0.12.X)

@compae
Copy link
Member

compae commented May 12, 2016

+1

@mafernandez-stratio
Copy link
Member

LGTM

@darroyocazorla darroyocazorla merged commit 513fb00 into Stratio:branch-0.11 May 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants