[SERVER-21704] JS Test single_node_config_server_smoke has race condition Created: 30/Nov/15 Updated: 25/Jan/17 Resolved: 15/Dec/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.1, 3.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | William Zhang | Assignee: | Randolph Tan |
| Resolution: | Done | Votes: | 0 |
| Labels: | test-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Backport Completed: | |
| Steps To Reproduce: | Run the jstest jstests/sharding/sync_cluster_config/single_node_config_server_smoke.js. |
| Sprint: | Sharding E (01/08/16) |
| Participants: |
| Description |
|
Sometimes TestColl.count({}) could return 3, because the document in the shard0000 is not deleted in time. This issue could be avoided by adding "_waitForDelete : true" at the moveChunk command in the previous line. |
| Comments |
| Comment by Githook User [ 15/Dec/15 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: (cherry picked from commit 9f8d1f830e8f7bf18d05788fcca32d9972ed14d2) |
| Comment by Githook User [ 15/Dec/15 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: |