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

Internal change stream stages should not be serialized for query stats

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Integration
    • 200

      Recently a few issues have come up related to internal change stream stages like DocumentSourceChangeStreamEnsureResumeTokenPresent.

      My understanding is that users typically use the $changeStream which is then expanded internally to various internal stages. We should probably just put a single top-level $changeStream node into query stats, but not serialize any of the internal stages. This would both solve existing issues and might make query stats easier to work with, since internal change stream details would not be exposed.

            Assignee:
            gil.alon@mongodb.com Gil Alon
            Reporter:
            chris.wolff@mongodb.com Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: