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

Forgot to setOldestTimestamp when crash recovery in MongoDB 4.0

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 4.0.0
    • Component/s: Storage
    • None
    • ALL

      In ReplicationRecovery::_applyToEndOfOplog, you forgot to call StorageEngine::setOldestTimestamp to release WiredTiger cache, it may lead to stressful cache pressure when crash recovery. Neither ApplyBatchFinalizer nor ReplicationCoordinatorImpl::setMyLastAppliedOpTimeForward be called.

      I have described details inĀ google groups

      Please let me know if any progress.

            Assignee:
            Unassigned Unassigned
            Reporter:
            hellocode hellocode
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: