Uploaded image for project: 'Core Server'
  1. Core Server
  2. 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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 11

      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,

            Assignee:
            nikita.lapkov@mongodb.com Nikita Lapkov (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: