ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Overview

      All command slow query logs report collectionType: "normal" for operations against a viewless timeseries collection, instead of "timeseries". This was a known limitation of the viewless timeseries initiative since previously OpDebug used the system.buckets namespace to indicate the collection was a timeseries collection. We tried to solve this in SERVER-105541 and SERVER-113634 by adding a set of known timeseries namespaces in ObDebug since we cannot use the namespace string anymore to decide on the collection type. However, we would have to add this logic to every single command (not just reads/writes) and we would have to remove the namespace on retries. This proved quite difficult to ensure correctness and we did not want some commands to be wrong and some commands to be right, so we remove this set and accepted this limitation (see SERVER-122110). This ticket is to investigate if there is a way we can be confident in OpDebug that we have a timeseries collection without having to change logic in every single command.

      Test Re-enable

      In jstests/noPassthrough/logging/log_write_command_fields.js, flip it.skip to it for "TIMESERIES TODO SERVER-XXXXX: timeseries insert logs collectionType 'timeseries'" and replace SERVER-XXXXX with this ticket number.

            Assignee:
            Unassigned
            Reporter:
            Finley Lau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: