lightblue-platform / lightblue-mongo

MongoDB backend for lightblue
GNU General Public License v3.0
3 stars 14 forks source link

Documents that are removed from update response because they didn't match after a concurrent update are still counted in matchCount #386

Closed alechenninger closed 7 years ago

alechenninger commented 7 years ago

Thus, you can have matchCount=N and get <N entities in the returned response. In particular, when matchCount=1 and there are 0 entities, this can be a critical error.

This is related to the refactoring which also caused: https://github.com/lightblue-platform/lightblue-mongo/issues/384