$collStats should check for presence of time series options rather than relying on namespace checks

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc8, 5.0.20, 6.0.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0, v6.0, v5.0
    • Hide
      1. Create a collection "A".
      2. Create a collection "system.buckets.A".
      3. Run $collStats against "A" -> response will contain a bogus "timeseries" field, and stats will be reported for "system.buckets.A" rather than "A".
      Show
      Create a collection "A". Create a collection "system.buckets.A". Run $collStats against "A" -> response will contain a bogus "timeseries" field, and stats will be reported for "system.buckets.A" rather than "A".
    • Execution NAMR Team 2023-07-10, Execution NAMR Team 2023-07-24
    • 105
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It appears that when collecting collection statistics for a collection A, we check to see if system.buckets.A exists, and if so, assume that A is the view associated with time series collection system.buckets.A. However, it's possible to create a regular collection on such a namespace, and for this to prevent us from properly collecting stats on A.

              Assignee:
              Dan Larkin-York
              Reporter:
              Dan Larkin-York
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: