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

$comment is internally converted to a string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 3.4.13
    • None
    • Querying
    • Query
    • ALL
    • v3.6, v3.4

    Description

      Previously, $comment was permitted to be any type. Per SERVER-27438, 3.4 changed that so that $comment is converted to a string internally. This breaks application that were depending on $comment being a document (in our case, we store things like caller information and tracing spans in $comment). We extract this information from the system.profile log and inprog.

      Separately, it seems like the comment field in the find and aggregate commands should similarly accept a document.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-query Backlog - Query Team (Inactive)
              bartle David Bartley
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: