-
Type: Bug
-
Resolution: Won't Fix
-
Priority: 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.
- causes
-
PYTHON-4356 [Build Failure] TestUnifiedDbAggregateWriteReadPreference on Latest
- Closed
- is depended on by
-
JAVA-5457 Handle failing CRUD tests against 8.x replica sets
- Closed
-
GODRIVER-3218 [Build Failure] Aggregation with $out fails on 8.1.0, with replica-set
- Closed
-
PYTHON-4088 [Build Failure] test_Database-level_aggregate_with__out_includes_read_preference_for_5_0__server
- Closed
- is related to
-
DRIVERS-2914 Server 8.0+ requires tests for aggregation with $out to not pre-create output collection
- Implementing