[SERVER-14062] Remove the global OperationContext registry Created: 27/May/14  Updated: 02/Aug/18  Resolved: 04/Dec/14

Status: Closed
Project: Core Server
Component/s: Concurrency
Affects Version/s: None
Fix Version/s: 2.8.0-rc2

Type: Task Priority: Major - P3
Reporter: hari.khalsa@10gen.com Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-16032 Replication should not have multiple ... Closed
is depended on by SERVER-16243 Suppress mmapv1 specific stats from d... Closed
Duplicate
is duplicated by SERVER-15999 checkForInterrupt() argument "heedMut... Closed
is duplicated by SERVER-16001 Interrupting DBDirectClient operation... Closed
Tested
Participants:

 Description   

All users of "this operation specific" curop information should access it via OperationContext.



 Comments   
Comment by Githook User [ 04/Dec/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14062 Remove the global OperationContext registry
Branch: master
https://github.com/mongodb/mongo/commit/a07f232ff52244a70244afe0b0ba00f77fe044ae

Comment by Githook User [ 03/Dec/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14062 StorageEngine::cleanShutdown should not accept OpCtx

There should not be active OperationContext when cleanShutdown is called,
because it should be run under a global lock and should not be acquiring
locks or performing recoverable operations.

This change is necessary for the removal of the OperationContext registry
and ensuring there is one OperationContext per client.
Branch: master
https://github.com/mongodb/mongo/commit/293c0ca515eb30cc8f4c74eb82c4e7b5f16d95c5

Comment by Githook User [ 03/Dec/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14062 Add OperationContext argument to RangeDeleter
Branch: master
https://github.com/mongodb/mongo/commit/9a143e7fbaf3c031775a7f8d563d9badce5c97da

Comment by Githook User [ 02/Dec/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: Revert "SERVER-14062 exitCleanly should not create OperationContext"

This reverts commit 15a2b7ca39ce472e43d8d37c6127eb4c3958456c.
Branch: master
https://github.com/mongodb/mongo/commit/d698427a79eed6538b16733463f34e70bcea6a1d

Comment by Githook User [ 02/Dec/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14062 exitCleanly should not create OperationContext
Branch: master
https://github.com/mongodb/mongo/commit/15a2b7ca39ce472e43d8d37c6127eb4c3958456c

Comment by Githook User [ 02/Dec/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: Revert "SERVER-14062 exitCleanly should not create OperationContext"

This reverts commit 15a2b7ca39ce472e43d8d37c6127eb4c3958456c.
Branch: master
https://github.com/mongodb/mongo/commit/d698427a79eed6538b16733463f34e70bcea6a1d

Comment by Githook User [ 02/Dec/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14062 exitCleanly should not create OperationContext
Branch: master
https://github.com/mongodb/mongo/commit/15a2b7ca39ce472e43d8d37c6127eb4c3958456c

Comment by Githook User [ 25/Nov/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14062 Add OperationContext to ServerStatusSection
Branch: master
https://github.com/mongodb/mongo/commit/4429df3a6c2e03f9b406fe27aa98caa660506d73

Comment by Githook User [ 14/Nov/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14062 Remove extra creations of OperationContextImpl in the sharding dbtests
Branch: master
https://github.com/mongodb/mongo/commit/6334d8898369773c99be56ec1a4363ae5ee0e54d

Comment by Githook User [ 13/Nov/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14062 Cleanup Client::hasWrittenSinceCheckpoint and some usages of cc()

This is in preparation for removing the Global OperationContext registry.
OperationContexts will instead be reachable through the client.
Branch: master
https://github.com/mongodb/mongo/commit/284f942a45b877f0baecd19cbf17fc2a4e246a79

Comment by Githook User [ 04/Jun/14 ]

Author:

{u'username': u'hkhalsa', u'name': u'Hari Khalsa', u'email': u'hkhalsa@10gen.com'}

Message: SERVER-14062 migrate more curop via OpCtx
Branch: master
https://github.com/mongodb/mongo/commit/d09ffff4a379dcbafa687f67584c917d7a8e63b9

Comment by Githook User [ 30/May/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert.bosch@mongodb.com'}

Message: SERVER-14062 Move most non-global curop access through OperationContext
Branch: master
https://github.com/mongodb/mongo/commit/38ff08a613439b254e66d2cc2a040270986445a8

Generated at Thu Feb 08 03:33:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.