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

Time-series buckets often close due to time moving backward with concurrent writers

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-02-08

    Description

      When there are concurrent writers inserting into a time-series collection, the writers racing to call BucketCatalog::insert causes these inserts to be out of order of the times specified by the timeField. Since we always close a bucket if time moves backward, we end up closing many buckets this way that otherwise would not need to be closed. We should find a way to mitigate this behavior so that we don't end up with many small buckets.

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: