I have a mongodb database where multiple nodes handle reading and writing documents. I need to make sure that only one process can work with the document at a time. That is,