thomas-gantenbein-tga opened a new pull request, #16604:
URL: https://github.com/apache/camel/pull/16604

   # Description
   
   The current implementation of the mongodb save operation forces mongodb to 
scan the whole collection when a document is saved without _id. This change 
makes an insert if no _id is given, instead of making an upsert with a filter 
condition that can never be satisfied. The behaviour for the save operation 
_with_ _id remains untouched.
   
   See also 
https://camel.zulipchat.com/#narrow/channel/257298-camel/topic/mongodb.20save.20operation.20performance


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to