Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-339

Ability to execute database commands on an ARBITER

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3
    • Affects Version/s: 2.1, 2.1.1
    • Component/s: None
    • Fully Compatible

      Admittedly, there's not a ton of interesting stuff to do on an arbiter.
      But there are a few commands you might want to run there, like replSetGetStatus or shutdown.

      Right now, pymongo forbids all connections to arbiters (cf. https://github.com/mongodb/mongo-python-driver/blob/master/pymongo/connection.py#L538 & https://github.com/mongodb/mongo-python-driver/blob/master/pymongo/connection.py#L558 )

      If it would permit a direct connection to an arbiter (i.e., a connection specifying just that node), then these commands could be issued via such a connection. That would be handy.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            dampier T. Dampier
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: