[SERVER-15294] Query (read-only) paths should not try to create database or collection Created: 17/Sep/14  Updated: 02/Aug/18  Resolved: 06/Oct/14

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 2.7.8

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-15615 Running {listIndexes: 1} causes a seg... Closed
related to SERVER-15642 Passing an integer as a collection na... Closed
related to SERVER-15714 Invariant failure when running aggreg... Closed
Tested
Participants:
Linked BF Score: 0

 Description   

Currently all read-only paths in the server go through ReadContext, which tries to create db or collection, by dropping and re-acquiring the DB lock. This is incorrect and should be cleaned up.



 Comments   
Comment by Githook User [ 08/Oct/14 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-15294 add fileSize to db.stats() on empty db
Branch: master
https://github.com/mongodb/mongo/commit/341ba88e426eb41685c0599fad91af4d73992f16

Comment by Githook User [ 06/Oct/14 ]

Author:

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

Message: SERVER-14668/SERVER-15294 Collection-level locking for all read paths
Branch: master
https://github.com/mongodb/mongo/commit/101e026f45dea5e9e68520238495c89a476e6172

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