Improve connection pool queue documentation and add invariants

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.7.0.rc0
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Connection pool queue is confusing to work with because half the methods refer to the connection pool rather than the queue, which is a queue of available connections only. The docs for each attribute/method should clearly state whether the attribute/method refers to the queue or the pool, where appropriate.

      Additionally since we must leave some of the confusing methods in place for compatibility reasons, it will be good to have invariant checks using our lint framework to ensure the state is internally consistent. This becomes more important when we try to close connections upon enqueueing as per 1319.

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

              Created:
              Updated:
              Resolved: