• Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.5.0
    • Affects Version/s: None
    • Component/s: Shell API
    • None
    • 5
    • Iteration Nectarine
    • Needed
    • Hide

      NOTE: none of these methods wait for the command to finish, for example if you start or stop balancing it does not wait for the balancer to fully turn on/off before it returns. This is different than what the old shell documentation says, although from reading the old shell code it's not obvious that was ever true.

      Show
      NOTE: none of these methods wait for the command to finish, for example if you start or stop balancing it does not wait for the balancer to fully turn on/off before it returns. This is different than what the old shell documentation says, although from reading the old shell code it's not obvious that was ever true.

      sh.balancerCollectionStatus Wraps DB command balancerCollectionStatus
      sh.enableBalancing Updates config db
      sh.disableBalancing Updates config db
      sh.getBalancerState Queries config db
      sh.isBalancerRunning Wraps DB command balancerStatus
      sh.setBalancerState Helper method calls sh.startBalancer or sh.stopBalancer
      sh.startBalancer Wraps DB command balancerStart
      sh.stopBalancer Wraps DB command balancerStop
       

            Assignee:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Reporter:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: