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

Calculate the snapshot window more precisely in snapshot_history_window.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2020-06-01
    • 22

      We use the time before the initial insert as the startTime of the window calculation. I think it would be more precise to take the startTime after the insert takes place. And it is more precise to sleep based on the window expiration time (like in chunk_history_window.js) before testing a command would fail with SnapshotTooOld error.

            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: