Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48886

Make VectorClock::isEnabled() internal

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Sharding EMEA

      Currently the isEnabled() method in VectorClock is public, because various external places need to know whether or not the vector clock is enabled. It would be better (from a code coupling/cohesion POV) if iEnabled() was only used from within VectorClock class (and closely related classes).

      Current uses:

            Assignee:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: