While studying MongoDB, I got to know Flush, Journal, and Oplog.
Flush is once the memory stores the data, it stores it on disk after a certain period of time (default 60 seconds).
Journal is before saving data to disk, save it to a Journal record and save it to disk.
Oplog is after storing the data completely, store the details of the work in the form of a log in the oplog.
Then, when the data write operation comes into the primary node,
does it proceed in the order of flush → journal → oplog?
Can you tell me in detail what is the order of the these processes?