Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40917

collstats_shows_ready_and_in_progress_indexes.js should use checkLog instead of currentOp to check for active index builds

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage Execution
    • ALL
    • 5

      A test failure shows that we aren't waiting properly for an index build to start. I can't tell why because none of the currentOp results are logged.

      Instead of using currentOp, we can use checkLog (call clearLog cmd first because the server is shared across tests).

      SERVER-40916 will improve the logging of the IndexBuildTest::waitForIndexBuildToStart, so we can see what it finds if a test ever fails again.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: