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

Aggregation with $out fails on 8.1.0, with replica-set

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • QE 2024-05-27

      The Ruby, Java, and Python drivers (at least) have noticed test failures when running an aggregation with $out against server version 8.1.0, in a replica-set topology. The failures do not happen against a sharded topology.

      The error message is: "PlanExecutor error during aggregation :: caused by :: indexes of target collection db0.coll1 changed during processing".

      The only indexes are those on _id, and there are no concurrent operations running.

      A failing task for the Java driver, with attached server logs, can be found here: https://spruce.mongodb.com/task/mongo_java_driver_tests_jdk_secure__version~latest_os~linux_topology~replicaset_auth~auth_ssl~ssl_jdk~jdk21_test_1816e3cc9bef5e2321505f1d2b087fe90996dad5_24_04_30_17_57_13/tests?execution=0&sortBy=STATUS&sortDir=ASC

      A client-side log for the Ruby driver, of issued commands during one of these failing tests, is attached to this ticket.

            Assignee:
            ivan.fefer@mongodb.com Ivan Fefer
            Reporter:
            jamis.buck@mongodb.com Jamis Buck
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: