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

Unexpected checkpoint taken at start time

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Atlas Streams
    • Fully Compatible
    • ALL
    • Sprint 44

      The checkpoint coordinator takes a checkpoint based (amongst other things) on the time delta between `steady_clock::now()` and `_lastCheckpointTimestamp` (here)]

       

      However `_lastCheckpointTimestamp` is only being default constructed and so starts off at the epoch of `steady_clock` which in general might already be behind `now()` by more than the checkpoint interval.

       

      So we may end up with an unexpected checkpoint at start time.

            Assignee:
            mayuresh.kulkarni@mongodb.com Mayuresh Kulkarni
            Reporter:
            mayuresh.kulkarni@mongodb.com Mayuresh Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: