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

Consider adding nss to endOfTransaction event depending on the change stream type

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution

    Description

      Rather than omitting the ns entirely, or trying to list every affected namespace, it might be preferable to have the ChangeStreamEventTransformation synthesize a namespace for the EOT based on the stream type.

      A single-coll stream would have ns: {db: db, coll: coll}.

      {}A database stream would have ns: {db: db}

      {}A whole-cluster stream would have ns: {db: admin}.

      {}The latter two potentially also including coll: "$cmd"

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: