Java Driver
  1. Java Driver
  2. JAVA-252

clean up the list of servers in replica based on list returned from isMaster

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor - P4 Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None
    • # Replies:
      4
    • Last comment by Customer:
      false

      Description

      for driver, should we clean up the hosts in repl set list based on isMaster
      right now we only add new nodes
      but if a server gets removed, will stay in there
      potentially it can create problems if client app is not restarted, but server gets repurposed, then driver will end up hitting servers that are not in same repl set.

        Issue Links

          Activity

          Hide
          auto
          added a comment -

          Author:

          {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

          Message: JAVA-252: clean up the list of servers in replica based on list returned from isMaster
          https://github.com/mongodb/mongo-java-driver/commit/d3019f4227a49dc2288c6001867546b6f43ef208

          Show
          auto
          added a comment - Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'} Message: JAVA-252 : clean up the list of servers in replica based on list returned from isMaster https://github.com/mongodb/mongo-java-driver/commit/d3019f4227a49dc2288c6001867546b6f43ef208
          Hide
          auto
          added a comment -

          Author:

          {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

          Message: JAVA-252: NPE fix
          https://github.com/mongodb/mongo-java-driver/commit/498a873180bb1687e831363c9cc2d5904c3c04bf

          Show
          auto
          added a comment - Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'} Message: JAVA-252 : NPE fix https://github.com/mongodb/mongo-java-driver/commit/498a873180bb1687e831363c9cc2d5904c3c04bf
          Hide
          auto
          added a comment -

          Author:

          {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

          Message: JAVA-252: new nodes still need to be discovered in ensuremaster
          https://github.com/mongodb/mongo-java-driver/commit/3e8f5a8a6f18c02a28bd84e105da4a55ce391dc6

          Show
          auto
          added a comment - Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'} Message: JAVA-252 : new nodes still need to be discovered in ensuremaster https://github.com/mongodb/mongo-java-driver/commit/3e8f5a8a6f18c02a28bd84e105da4a55ce391dc6
          Hide
          auto
          added a comment -

          Author:

          {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

          Message: JAVA-252: prevent removal of all nodes if all nodes update fail
          https://github.com/mongodb/mongo-java-driver/commit/a6e3ce42bfa185fafc61e70c783aaff15f3d6572

          Show
          auto
          added a comment - Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'} Message: JAVA-252 : prevent removal of all nodes if all nodes update fail https://github.com/mongodb/mongo-java-driver/commit/a6e3ce42bfa185fafc61e70c783aaff15f3d6572

            People

            • Assignee:
              Antoine Girbal
              Reporter:
              Antoine Girbal
              Participants:
              Last commenter:
              Barrie Segal
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                3 years, 10 weeks, 5 days ago
                Date of 1st Reply: