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

Notify oplog waiter after advancing the lastApplied timestamp

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc2, 4.1.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2018-06-04, Storage NYC 2018-06-18

      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.

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

              Created:
              Updated:
              Resolved: