Make client pool a LIFO

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The mongoc_client_pool_t is currently a FIFO queue: mongoc_client_pool_push stores the pushed client at the tail of the queue, while mongoc_client_pool_pop removes and returns a client from the head. For cache coherence, transform the pool to a LIFO.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: