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

Pass ServiceContext to oplog and ReplicationCoordintor methods that will use LogicalClock

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2017-02-13

      This is the prep work for allow LogicalClock that will be a decoration on the ServiceContext without calling getGlobalServiceContext().

      That will include passing a ServiceContext pointer to
      setNewTimestamp()
      getNextOpTime() - already has OpeartionContext
      ReplicationCoordinatorImpl::_performPostMemberStateUpdateAction
      ReplicationCoordinatorImpl::_setCurrentRSConfig_inlock
      fixDocumentForInsert
      ModifierCurrentDate::apply
      fixupTimestamps

      will NOT change the OplogReplaySlaveReadTill::run()

      There will be no new tests , as the only anticipated problems are possible compile and dependencies issues.

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: