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

Improve cluster locking

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.13.0.beta1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible

      Looking at the Cluster code, it updates instance variables in a number of places without taking locks. Since Cluster can be used by multiple threads concurrently, all instance variable accesses and updates generally must be locked.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: