Fix stack-use-after-scope in UpdateTimeseriesBucketingParamsDisablesFixedBucketing test

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2026-06-08
    • 200
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      getFixedBucketing() returns const OptionalBool& into a temporary returned by getConfigCollectionEntry(). Binding it with const auto& leaves a dangling reference, triggering an ASan stack-use-after-scope error.

            Assignee:
            Daniele Alessandrelli
            Reporter:
            Daniele Alessandrelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: