Presently, system.profile is the only non-replicated collection that can be read from in a multi-document transaction (we exclude operations on local from transactions).
This collection does not have a commit timestamp with which to set its minimum visible snapshot. This collection also does not require an ID index build, hence will not have its minimum visible snapshot set to the cluster time via the ID index build. It can therefore not have a minimum visible snapshot be set.
We believe the best solution for this is to prohibit operations on the system.profile collection inside of a transaction.
- is related to
-
SERVER-48309 Remove 'requires_fcv_46' tag from 'banned_collection_reads_in_txn.js' and 'jstests/core/txns/no_writes_to_system_collections_in_txn.js'
- Closed
- related to
-
SERVER-47835 Un-blacklist txn_passthrough_runner_selftest.js system.profile read
- Closed
-
SERVER-44854 Ensure collections with commit timestamps have appropriately set minimum visible snapshots by the time the collections are visible in the catalog
- Closed