[CDRIVER-1149] min_pool_size 0 should mean "no minimum" Created: 08/Mar/16  Updated: 03/Jan/18  Resolved: 14/Apr/16

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.1.11
Fix Version/s: 1.4.0

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to CDRIVER-1196 Make client pool a LIFO Closed
Case:
Backwards Compatibility: Major Change

 Description   

Improve minpoolsize docs:

http://api.mongodb.org/c/current/mongoc_uri_t.html
http://api.mongodb.org/c/current/mongoc_client_pool_min_size.html

Don't close any clients pushed into pool if min size is 0.

Introduced in https://github.com/mongodb/mongo-c-driver/pull/171, specifically:

https://github.com/mschoenlaub/mongo-c-driver/commit/4d0ff8c6c807ef998adafc2b21c50e4f4983fc34#diff-570835aa57126f0dd8f862fa975ff0c3R204

This appears to date to release 1.1.2. I marked this "affects version 1.1.11" since that was the first version tracked in Jira.



 Comments   
Comment by Githook User [ 14/Apr/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1149 minPoolSize=0 means "no minimum"
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/052820ba52717f41896c5810ab9c76bfb099cf46

Generated at Wed Feb 07 21:11:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.