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

Notify oplog waiter after advancing the lastApplied timestamp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.0-rc2, 4.1.1
    • Storage
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2018-06-04, Storage NYC 2018-06-18

    Description

      We create a new test suite called concurrency_replication_causal_consistency inĀ SERVER-32883, which runs all the fsm workloads with causal consistency on a 5-node linear chained replica set.
      Tests such as auth_create_role.js timed out due to very slow dropRole operations which are done with majority write concerns. We later figured out the slowness was caused by not notifying the oplog waiter immediately after advancing the lastApplied timestamp. So another secondary which syncs from the secondary would wait long time(~20s) for the notification that lastApplied has been advanced.

      Attachments

        Issue Links

          Activity

            People

              xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
              xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: