Add C++ test for splitVector to attest correct BSONObj lifetime management

XMLWordPrintableJSON

    • Type: Engineering Test
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Cluster Scalability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      No test was added as part of SERVER-91412. The issue was incidentally exposed only by testing under the sharding_clustered_collections Evergreen task. We should add an explicit C++ test to solidify the safe usage of PlanExecutor::getNext() within the splitVector() function.

              Assignee:
              Unassigned
              Reporter:
              Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: