Oplog of a collection created in a transaction

What changes in Oplog of a collection created in a transaction compared with MongoDB and what your application has to do.

This difference is of the Different kind.

What MongoDB does

It puts that collection's create inside the transaction's applyOps.

What TeselaDB does

It writes the create and its createIndexes in their own entries just before the transaction's applyOps.

What your application has to do

If a tool replays the oplog, make it apply the entries in order.

See also