Fix racy double check of AllBinariesSupportRawDataOperations feature flag in timeseries $out index retrieval

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2026-06-08
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In timeseries $out we clone the indexes of the collection and we always work in raw/physical format. This is achieved by only targeting either (the buckets NS without rawData) OR (the main NS with rawData:true).

       

      However while retrieving the indexes we check AllBinariesSupportRawDataOperations feature flag with two different FCV snapshots (here and here), so there is a race condition where we may target (the main NS without rawData) under a concurrent FCV downgrade. This will retrieve the indexes in logical format, which is unexpected.

            Assignee:
            Joan Bruguera Micó
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: