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

expose isLegacyTimeseriesBuckets() function on catalog API

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The function should implement the following logic:

      return isTimeseriesCollection() && ns().isTimeseriesBucketsCollection()

       

      This new API need to be available both in shard and router role. Thus, we will need to expose it respectively in:

      This function allows us to simplify all the places in which we do:

      if (coll->isTimeseries() && !coll->isNewTimeseriesWithoutView())
      if (coll->isLegacyTimeseriesBuckets()) 

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None