[SERVER-20108] mr_during_migrate.js should retry operations Created: 25/Aug/15 Updated: 25/Aug/15 Resolved: 25/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Adam Midvidy | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
mr_during_migrate.js recently failed when performing a query (find command) on a sharded collection. The error appears to be a leaked SCE, which can only happen if mongos gets 5 SCEs in a row. As the operations in the test are not guaranteed to complete, we should wrap them in a retry loop of some sort (or rewrite the test as it is not guaranteed to complete). cc milkie |
| Comments |
| Comment by Spencer Brody (Inactive) [ 25/Aug/15 ] |
|
I believe the real bug is |