Solve IllegalChangeToExpectedShardVersion edge case in timeseries_reads_subpipelines_setFCV.js

XMLWordPrintableJSON

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

      This test hits an edge case bug where queries on timeseries with $lookup and $graphLookup stages where the inner and outer collection are the same will fail during concurrent FCV upgrades/downgrades. The error raised is IllegalChangeToExpectedShardVersion when we try to attach a cursor for local read here. I think the error is meant to be caught by tryAttachCursorSourceForLocalRead but it propagates up the routing context and ultimately fails the aggregation.

            Assignee:
            Gil Alon
            Reporter:
            Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: