Remove _checkOIDs from balancer code

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • 200
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-927 added collision check for machine IDs generated before performing balancer rounds. We do this in every balancing round and it can be potentially expensive in slow machines or during resource exhaustion. Moreover, today we use cryptographically secure SecureRandom to generate machine ID that has no practical chances of collisions. We should remove this check from balancer and if at all it needs to exist it should be a one time operation during addShard.

            Assignee:
            Unassigned
            Reporter:
            Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: