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

Add CheckReplDBHashInBackground hook to concurrency_replication.yml test suite

    • Fully Compatible
    • v4.0
    • TIG 2018-06-18
    • 2

      Apply the following patch and run it several times in Evergreen to see if there are any failures before turning it on.

      Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      diff --git a/buildscripts/resmokeconfig/suites/concurrency_replication.yml b/buildscripts/resmokeconfig/suites/concurrency_replication.yml
      index 7ae625b..05dfa72 100644
      --- a/buildscripts/resmokeconfig/suites/concurrency_replication.yml
      +++ b/buildscripts/resmokeconfig/suites/concurrency_replication.yml
      @@ -16,6 +16,7 @@ selector:
      +      - CheckReplDBHashInBackground
             - CheckReplDBHash
             - ValidateCollections
           tests: true
      @@ -26,7 +27,7 @@ executor:
         # The CheckReplDBHash hook waits until all operations have replicated to and have been applied
         # on the secondaries, so we run the ValidateCollections hook after it to ensure we're
         # validating the entire contents of the collection.
      -  #
      +  - class: CheckReplDBHashInBackground
         # TODO SERVER-26466: Add CheckReplOplogs hook to the concurrency suite.
         - class: CheckReplDBHash
         - class: ValidateCollections

      Note: Unlike SERVER-34555, there shouldn't need to be any additional synchronization as the CheckReplDBHashInBackground hook is safe to run while the $config.setup() and $config.teardown() functions are being run.

            jonathan.abrahams Jonathan Abrahams
            max.hirschhorn@mongodb.com Max Hirschhorn
            0 Vote for this issue
            3 Start watching this issue