From the 4.0 version MongoDB provides ability to perform multi-document transactions. With multi-document transactions, until a transaction commits, no write operations in the transaction are visible outside the transaction. That is, the multi-document transactions are atomic. We are thinking about implemeting it in GrandNode in some actions. We will inform you if we decide.
The featureCompatibilityVersion of all members of the replica set must be 4.0 or greater. To check the featureCompatibilityVersion for a member, connect to the member and run the following command: