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

Make VectorClock::isEnabled() internal

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Sharding
    • None
    • Sharding EMEA

    Description

      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:

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: