Check if the 'Cursor::queryStatsWillNeverExhaust' flag is duplicating 'Cursor::isChangeStream'

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Both ClientCursor and ClusterClientCursor have the following flags:

      • bool _queryStatsWillNeverExhaust = false
      • bool _isChangeStreamQuery = false

      We need to check if _queryStatsWillNeverExhaust is redundant and always duplicating _isChangeStreamQuery. In this case, we can just remove it (and re-add later if required).

            Assignee:
            Kritika Singh
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: