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

Implement a VectorClockService

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2020-04-06, Sharding 2020-04-20, Sharding 2020-05-04, Sharding 2020-05-18

      Description

      This task is to implement a VectorClockService, which will unify, track, gossip and ensure persistence for all of the global vector clock components. Specifically, the components which it will track are: clusterTime, configOpTime, topologyOpTime.

      The VectorClockService will be hooked at all inbound/outbound network places in order to be able to gossip the global vector clock and should implement the following methods:

      • gossipInMemoryVectorClockOut(BSONObjBuilder* outMessage)
      • gossipInMemoryVectorClockIn(const BSONObj& inMessage)
      • advanceVectorClock()
      • waitForInMemoryVectorTimeToBePersisted()
      • registerVectorClockChangeListener(ListenerInterface& nonBlockingListener)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kevin.pulo Kevin Pulo
              Reporter:
              kaloian.manassiev Kaloian Manassiev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: