johannaojeling opened a new issue, #25012:
URL: https://github.com/apache/beam/issues/25012

   ### What needs to happen?
   
   While working on #24822 and testing on a MongoDB version 5 instance, I 
noticed that I had missed to set `allowDiskUse` to true in the `mongodbio.Read` 
bucketAuto aggregation (or rather, misplaced it to the non-sorting find query). 
It should be done to allow MongoDB to write data to temporary files on disk if 
exceeding the memory limit of 100 MB when performing the operation. The 
allowDiskUse option is true by default starting from version 6.0, but needs to 
be set explicitly in earlier versions, or if the parameter 
`allowDiskUseByDefault` has been set to false 
([ref](https://www.mongodb.com/docs/manual/reference/method/cursor.allowDiskUse/)).
   
   ### Issue Priority
   
   Priority: 2 (default / most normal work should be filed as P2)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [ ] Component: Java SDK
   - [X] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to