[SERVER-4726] Spurious warning: ClientCursor::yield can't unlock b/c of recursive lock during --repair Created: 19/Jan/12  Updated: 11/Jul/16  Resolved: 10/Jun/12

Status: Closed
Project: Core Server
Component/s: Concurrency, Tools
Affects Version/s: 2.0.2
Fix Version/s: 2.1.2

Type: Bug Priority: Major - P3
Reporter: Daniel Pasette (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 4
Labels: logging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-8412 repairDatabase: no Cloner, and use mu... Closed
Operating System: ALL
Participants:

 Description   

This is only a warning, and repair is still doing the right thing. I think this is caused by DBDirectClient connection. Need to test if this is already fixed in the 2.1 code.



 Comments   
Comment by auto [ 10/Jun/12 ]

Author:

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

Message: SERVER-4726 ClientCursor::yield can't unlock b/c of recursive lock during --repair
Hacky solution, but will be better for now
Branch: master
https://github.com/mongodb/mongo/commit/4e1b5c81b5b61d09c3b1e81ad663b61bb1857243

Comment by auto [ 01/Mar/12 ]

Author:

{u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-4726: Fix logic error that prevents batch queries from executing in exhaust mode in the C++ client.
Branch: master
https://github.com/mongodb/mongo/commit/5d065652e1318dcab9ddaf54eaea763f7d8caf6a

Comment by auto [ 01/Mar/12 ]

Author:

{u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: Promote C++ batch query execution functions to DBClientBase.

There's no good reason I can think of why the batch-processing forms of query()
shouldn't be available to all implementations of DBClientBase, and simply
optimized for DBClientConnection when exhaust-mode is available on the
connection.

This change facilitates another optimization, coming soon, which is that
DBDirectClient's batch query form can scan all rows rather than issuing a find
query when the query parameters are appropriate. This allows for a clever
resolution of SERVER-4726, which is really about an unwanted log message.
Branch: master
https://github.com/mongodb/mongo/commit/6288c5f13973717a2ec0168f4b28242c0c981bd3

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