Fix race condition on view creation of validate_db_metadata_command.js test

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The ticket SERVER-118672(https://jira.mongodb.org/browse/SERVER-118672) fixed the race condition between the validateDBCommand and the index creation during step down, but the same problem also happens during view creation.

      This PR solves it by polling validateDBCommand until is fails or timeouts.

            Assignee:
            Felipe Goron Farinon
            Reporter:
            Felipe Goron Farinon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: