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

Change dbHash output based on non-existence of db

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 13 (04/22/16), TIG 14 (05/13/16), TIG 15 (06/03/16), TIG 16 (06/24/16), TIG 17 (07/15/16)
    • 0

    Description

      If the database doesn't exist the dbhash output should have a clear indication of that, possible like this:

      {  host: "mci-osx108.build.10gen.cc:20011",
         md5: false, // for compat.
         missing: true, // indication it is missing and doesn't exist
      ...}
      

      Adding this additional information will allow the test framework to distinguish when a db exists or not on a replica, independent of storage engine impl. Right now we cannot detect some types of replication failures using dbhash.

      Attachments

        Activity

          People

            robert.guo@mongodb.com Robert Guo (Inactive)
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: