Welcome to the new MongoDB Feedback Portal!
{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.
We’ve upgraded our feedback system to better capture, track, and act on your feedback. Here’s what you need to know:
|
What problem are you trying to solve? Focus on the what and why of the need you have, not the how you'd like it solved. |
MongoClient uses the number of elements requested via the first call to org.reactivestreams.Subscription.request(long) as the number of documents to return in the first batch and uses the number of elements requested via subsequent calls as the batchSize in the getMore commands. |
|
What would you like to see happen? Describe the desired outcome or enhancement. |
force the default batch size to 101 instead of the number of elements requested via the first (per Subscription) call |
|
Why is this important to you or your team? Explain how the request adds value or solves a business need. |
This can avoid performance impact when the number does not match the optimal one. |
What steps, if any, are you taking today to manage this problem? |
|
Thanks, Flavio, for upbringing this up.
Thank you so much for looking into this!
The current solution defaulted our batch size to 2, which eventually lead to a major outage causing missed revenue.
I think it will help a lot of people to get this fixed.