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

Durable timeseries catalog flags should respect point-in-time lookups

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: 8.2.0-rc0, 8.1.0
    • Component/s: Catalog
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.1
    • CAR Team 2025-05-12
    • 200
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      The _durableTimeseriesBucketsMayHaveMixedSchemaData and _durableTimeseriesBucketingParametersHaveChanged flags introduced by SERVER-98399 and SERVER-91231 respectively, do not respect point-in-time catalog lookups, and are instead always read "at latest".

       

      This is because they are placed inside CollectionImpl::SharedState which is shared by the various versions of the collections.

       

      In order to properly support point-in-time reads (e.g. for readConcern: snapshot or background validate) they should be moved to a data structure that is versioned according to the read timestamp.

            Assignee:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Reporter:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: