[SERVER-16445] Queued updates are showing up as queued reads in mongostat Created: 29/Aug/13 Updated: 18/Dec/14 Resolved: 12/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0-rc3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alexander Komyagin | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MongoDB 2.4.6 |
||
| Issue Links: |
|
||||
| Backwards Compatibility: | Minor Change | ||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
I was pumping up updates on my test server and noticed that although updates are waiting for the write lock, in mongostat output I can see them in the 'qr' column instead of the 'qw'. It's non-obvious and confusing. |
| Comments |
| Comment by Githook User [ 12/Dec/14 ] | ||||||||
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: | ||||||||
| Comment by Michael O'Brien [ 05/Dec/14 ] | ||||||||
|
Just confirmed that this is a server problem, running a bunch of updates in a loop (with no other reads or writes going on):
checking serverstatus directly on the same mongod (which is where the qr/qw field values come from: | ||||||||
| Comment by Alexander Komyagin [ 23/Sep/13 ] | ||||||||
|
Scripts are attached in Sample output:
| ||||||||
| Comment by Daniel Pasette (Inactive) [ 31/Aug/13 ] | ||||||||
|
Can you attach a test script and attach some sample output? |