[SERVER-1793] getLastError(2) hangs/timesout about every N inserts into replica set shard Created: 14/Sep/10 Updated: 12/Jul/16 Resolved: 27/Dec/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 1.7.0 |
| Fix Version/s: | 1.7.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tony Hannan | Assignee: | Kristina Chodorow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
db version v1.7.1-pre-, pdfile version 4.5 |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
1. Create replica set of 3 servers. There is a jstest for this test case at: jstests/grid/shard_insert_getlasterror_w2. Problem: About every 170th insert fails (getLastError times out) on my Macbook ], Result of a successful getLastErrorObj(2,30000) looks like: |
| Comments |
| Comment by auto [ 25/Dec/10 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: Revert "don't forward getlasterror to config servers This reverts commit 9fbb4f81f42a50d88bb520af307cb237a48146dc. |
| Comment by auto [ 23/Dec/10 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: don't forward getlasterror to config servers |
| Comment by Kristina Chodorow (Inactive) [ 17/Nov/10 ] |
|
Tony already wrote one (jstests/grid/shard_insert_getlasterror_w2.js), do you want another? I added a line to his to make it assert when it fails. |
| Comment by auto [ 17/Nov/10 ] |
|
Author: {'login': 'kchodorow', 'name': 'Kristina Chodorow', 'email': 'kristina@10gen.com'}Message: make test assert |
| Comment by Eliot Horowitz (Inactive) [ 15/Nov/10 ] |
|
Kristina, can you try and make a test case that shows this |