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

Switch OplogApplierImplTest to use WiredTiger

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL
    • Repl 2020-05-18
    • 0

      ephemeralForTest cursors are not thread_safe (SERVER-42213). So fillWriterVectors could race with oplog insertions when trying to readTransactionOperationsFromOplogChain. We switched idempotency tests to use WiredTiger in SERVER-45288. I think we may need to do the same for all OplogApplierImplTest in general.

      We should be careful with oplog visibility issues though after switching to WiredTiger. SERVER-42925 fixed oplog visiblity issues in idempotency tests by introducing an oplogDiskLocRegister call to update the oplog visibility timestamp after applying each batch. But in non-idempotency tests like this one, we call applyOplogBatch directly which I believe doesn't update the oplog visibility timestamp.

            Assignee:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: