Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3010

Connection pool size of 0 should mean no limit

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.18.0
    • Affects Version/s: None
    • Component/s: Spec Comp
    • Labels:
      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@mongodb.com Dmitry Rybakov
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: