[SERVER-29224] Move applyOps out of db/catalog/ and into db/repl/oplog Created: 15/May/17  Updated: 30/Oct/23  Resolved: 17/May/17

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.5.8

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-27912 Stand up an interface to `src/mongo/d... Closed
Related
related to SERVER-29802 Non-atomic applyOps command should no... Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-05-29
Participants:

 Description   

The applyOps function is mutually recursive with functions in the oplog.cpp TU. It should be moved into the repl/oplog library, as it isn't really part of the catalog.



 Comments   
Comment by Githook User [ 17/May/17 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: Revert "Revert "SERVER-29224 Unify apply_ops and oplog libraries""

This reverts commit 99c7fa1a9dd229ad1ad274e2d9914d82f4732146.
Branch: master
https://github.com/mongodb/mongo/commit/04cb0eafbd1dd8c5e50a53f823df7f2cca94702e

Comment by Githook User [ 17/May/17 ]

Author:

{u'username': u'spencerjackson', u'name': u'Spencer Jackson', u'email': u'spencer.jackson@mongodb.com'}

Message: Revert "SERVER-29224 Unify apply_ops and oplog libraries"

This reverts commit c7b0794c64074d07f23a18b685e4beada76bb71f.
Branch: master
https://github.com/mongodb/mongo/commit/99c7fa1a9dd229ad1ad274e2d9914d82f4732146

Comment by Githook User [ 17/May/17 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-29224 Unify apply_ops and oplog libraries

Doing so required removing the state from the dbhash command that was
used to cache hashes, but this was only needed by sharding before
MongoDB 3.4, and was logically dead code in modern MongoDB.
Branch: master
https://github.com/mongodb/mongo/commit/c7b0794c64074d07f23a18b685e4beada76bb71f

Comment by Githook User [ 15/May/17 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-29224 Move apply_ops from catalog to repl
Branch: master
https://github.com/mongodb/mongo/commit/24aea90b857f37d9fed8e1cd7902c4440997f0ba

Generated at Thu Feb 08 04:20:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.