[SERVER-54181] aggregation_secondary_reads verify_index_stats_output.js fails to see finished index in $indexStats results against a secondary because the test only guarantees a finished index on the primary Created: 01/Feb/21 Updated: 29/Oct/23 Resolved: 12/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Nikita Lapkov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Linked BF Score: | 11 | ||||
| Description |
|
verify_index_stats_output.js sets and unsets a failpoint to hang index builds on PRIMARY nodes only. Then, in the aggregation_secondary_reads test suite, presumably the agg $indexStats are called against one of the SECONDARIES. The index is not guaranteed to have finished on secondaries by the time the agg $indexStats runs on a secondary, |
| Comments |
| Comment by Githook User [ 12/Feb/21 ] |
|
Author: {'name': 'Nikita Lapkov', 'email': 'nikita.lapkov@mongodb.com', 'username': 'laplab'}Message: |