[SERVER-11906] convertToCapped shouldn't use DBDirectClient Created: 30/Nov/13  Updated: 11/Jul/16  Resolved: 04/Dec/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.4.8, 2.5.4
Fix Version/s: 2.5.5

Type: Improvement Priority: Major - P3
Reporter: Asya Kamsky Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-11611 remove DataFileMgr::insert* Closed
Participants:

 Description   

convertToCapped shouldn't use DBDIrectClient - generates huge number of can't yield due to recursive lock.



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

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-11906: make convertToCapped command log the entire command
some parts don't make sense to log individually
Branch: master
https://github.com/mongodb/mongo/commit/6d66a10732d3eba3b993cb2b5ef7962717d94c26

Comment by Githook User [ 04/Dec/13 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-11906: fix compile on older gcc
Branch: master
https://github.com/mongodb/mongo/commit/4ef1858bf853a72f6553538c7340cc3353612dfd

Comment by Githook User [ 04/Dec/13 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-11906: convertToCapped should use new Database API, and not commands
Branch: master
https://github.com/mongodb/mongo/commit/110ec04e053a4f55a0b35407fedf32d85cc3a931

Comment by Githook User [ 04/Dec/13 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-11906: do not yield while converting to capped
Branch: master
https://github.com/mongodb/mongo/commit/42a87f45b983188631b0081fdc2ca30abb9ea332

Comment by Githook User [ 04/Dec/13 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-11906: cloneCollectionAsCapped using Runner
Branch: master
https://github.com/mongodb/mongo/commit/fd2d7dabb55ed87e3e081bfba9e07972f738569c

Comment by Githook User [ 04/Dec/13 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-11906: move convertToCapped and cloneCollectionToCapped to own files
Branch: master
https://github.com/mongodb/mongo/commit/05b96df46795366f2ea395fb20062a7ba3874358

Comment by Eliot Horowitz (Inactive) [ 02/Dec/13 ]

This was going to happen as part of SERVER-11611 anyway.

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