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

Core Dumps & Data Files not available in Antithesis

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • None
    • None
    • Fully Compatible
    • STM 2022-01-24

    Description

      It looks like you can't kill PID 1 in Docker (https://unix.stackexchange.com/questions/457649/unable-to-kill-process-with-pid-1-in-docker-container), which is why core dumps weren't working. We need to change the docker-compose.yml entrypoint to be a shell script that starts `mongod` instead of directly starting `mongod` as the entrypoint. This makes it so that `mongod` is not PID 1. This is what we do with `mongos`, which is why the core dump for `mongos` worked as expected.

      We also need to volume mount the data directory out of the images so that Antithesis can get us the data files for each node.

      Attachments

        Activity

          People

            tausif.rahman@mongodb.com Tausif Rahman (Inactive)
            tausif.rahman@mongodb.com Tausif Rahman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: