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

Modify existing replica set magic restore targeted tests to use dbhash for consistency checks

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication

      Our current targeted replica set tests for magic restore restore nodes to a new port, and then compare the data between source and destination. To do this, we have to manually modify replica set configs to ensure the new set can initialize. To more closely align with how Cloud performs restores, we can do a magic restore and start up the restored node on the original port. To perform the consistency checks, we can store the dbhashes from the source collections prior to restore, and then compare them with the destination dbhashes.

      We should determine if we want to go back and modify the existing tests to follow this behavior. If we do decide to do this, we should ensure that both source and destination data files are preserved by resmoke in the event of a failure, to make debugging easier.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: