You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cursor.count() operation can be expensive. Make it optional. By default, it should work as before (i.e. return count). For new streaming apis, which are not used by anyone yet, we can default to the less expensive noMatchCount: true.
The text was updated successfully, but these errors were encountered:
When writeConcern: unacknowledged is used, Lightblue fails with "Can not get information about an unacknowledged write", because Lightblue needs to check modified count. So it'd be good to have that flag for all counts, not just match.
We can make the java lightblue-client not request the match count by default and refactor the apis so that anyone using the match count will get a compilation error (this is when they should realize they need to set noMatchCount: false). This will allow us to minimize the match count overhead without creating a risk of runtime errors for the clients.
cursor.count() operation can be expensive. Make it optional. By default, it should work as before (i.e. return count). For new streaming apis, which are not used by anyone yet, we can default to the less expensive noMatchCount: true.
The text was updated successfully, but these errors were encountered: