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

Pass ServiceContext to oplog and ReplicationCoordintor methods that will use LogicalClock

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.3
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2017-02-13

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            misha.tyulenev Misha Tyulenev
            Reporter:
            misha.tyulenev Misha Tyulenev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: