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

[Test-only] Implement a well behaved shut down process in standalone_in_queryable_backup_mode.js test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.0, v6.0
    • CAR Team 2024-09-16, CAR Team 2024-09-30
    • 200
    • 1

      SERVER-43758 added a test to check that a node would successfully apply pending oplog entries with -shardsvr and -queryableBackupMode flags. In order to do so, it manually stops a secondary node of a shard, and then starts a custom mongod with said flags to verify the oplog entries were applied on startup. The problem with this approach is that after shutting down the test node any correctness validation performed in the stop of the ShardingTest object will fail.

      We should do something similar to the read only tests set up, simply restore the node that was shutdown from the cluster, and allow the correctness checks to work as expected.

            Assignee:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: