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

Add CheckReplDBHashInBackground hook to concurrency_replication.yml test suite

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      TIG 2018-06-18
    • Story Points:
      2

      Description

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

      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:
       executor:
         archive:
           hooks:
      +      - 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.

        Attachments

          Activity

            People

            Assignee:
            jonathan.abrahams Jonathan Abrahams
            Reporter:
            max.hirschhorn Max Hirschhorn
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: