Connection pool size of 0 should mean no limit

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 2.18.0
    • Affects Version/s: None
    • Component/s: Spec Comp
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Per investigation with dmitry.rybakov@mongodb.com, currently Ruby driver connection pool treats the max size of 0 literally. This behavior isn't useful in practice because the pool, not ever having any connections, won't be able to perform any useful work. Additionally this behavior conflicts with cmap spec which in https://github.com/mongodb/specifications/blob/master/source/connection-monitoring-and-pooling/connection-monitoring-and-pooling.rst#id1 requires for max size of 0:

      > * A value of 0 means there is no limit.

            Assignee:
            Dmitry Rybakov
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: