The MongoDB 3.0 FAQ states that:
MongoDB uses reader-writer locks that allow concurrent readers shared access to a resource, such as a database or collection, but give exclusive access to a single write operation.
I have understood that the read operation will be blocked until the write commits the changes to the main memory.
My question is:
Instead of getting blocked by the write lock, is there any way to allow the read operation to obtain the document (row) state that existed prior to the modification?
I know that the data prior to the write operation will be inconsistent (stale) data, but that is ok for me.