[SERVER-37382] printShardingStatus.js races with ShardingUptimeReporter thread Created: 28/Sep/18 Updated: 29/Oct/23 Resolved: 14/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.13, 4.0.7, 4.1.7 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Randolph Tan | Assignee: | Randolph Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||
| Participants: | |||||||||
| Linked BF Score: | 16 | ||||||||
| Description |
|
Test checks for entries in config.mongos which are populated on a background thread by ShardingUptimeReporter and can miss some expected entries if it checked too soon. It's easy to make a test fail by simply putting a sleep inside the background thread. |
| Comments |
| Comment by Githook User [ 03/Jun/19 ] |
|
Author: {'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}Message: (cherry picked from commit ae932281fe1677400456ee5297764606cac6f577) |
| Comment by Dianna Hohensee (Inactive) [ 17/Apr/19 ] |
|
renctan adding a request to backport to v3.6 because the associated BF is still failing on that branch. |
| Comment by Githook User [ 27/Feb/19 ] |
|
Author: {'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}Message: (cherry picked from commit ae932281fe1677400456ee5297764606cac6f577) |
| Comment by Githook User [ 14/Jan/19 ] |
|
Author: {'username': 'renctan', 'email': 'randolph@10gen.com', 'name': 'Randolph Tan'}Message: |