Background in #36
bulkDocuments has a bunch of moving parts:
- Validate incoming documents
- Retrieve existing documents
- Merge existing records with incoming documents (using
rev)
Each of these steps can be improved using transducers, and generally speaking coverage of bulk could be better. So this issue will cover that work:
- beef up tests for
bulk
- optimize each of the steps in
bulk