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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0, 8.1.2
    • 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
    • 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 Micó
              Reporter:
              Joan Bruguera Micó
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: