SERVER-137816ClosedFixed
Write `allowEndOfTransaction` flag into applyOps
This change writes an {{allowEndOfTransaction}} flag into the final applyOps oplog entry of replica set transactions if the server parameter {{allowEndOfTransactions}} is enabled. This allows change streams to unambiguously determine the final applyOps entry in a non-sharded transaction _and_ if the parameter was enabled at commit time. Sharded transaction oplog augmentation will follow in a separate commit. This work is part of SPM-4826.