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

ReplSetTest.remove() should call stop() on the node to be removed

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: 3.5.13
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-05-04, Repl 2020-05-18

      d20002| 2017-08-28T10:35:36.613-0400 E STORAGE  [thread2] WiredTiger error (2) [1503930936:613065][16730:0x7f3029f2c700], log-server: /data/db/__unknown_name__-2/journal: directory-list: opendir: No such file or directory
      d20002| 2017-08-28T10:35:36.613-0400 E STORAGE  [thread2] WiredTiger error (2) [1503930936:613149][16730:0x7f3029f2c700], log-server: log pre-alloc server error: No such file or directory
      d20002| 2017-08-28T10:35:36.613-0400 E STORAGE  [thread2] WiredTiger error (2) [1503930936:613161][16730:0x7f3029f2c700], log-server: log server error: No such file or directory
      d20002| 2017-08-28T10:35:36.613-0400 E STORAGE  [thread2] WiredTiger error (-31804) [1503930936:613171][16730:0x7f3029f2c700], log-server: the process must exit and restart: WT_PANIC: WiredTiger library panic
      d20002| 2017-08-28T10:35:36.613-0400 F -        [thread2] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361
      d20002| 2017-08-28T10:35:36.613-0400 F -        [thread2] 
      d20002| 
      d20002| ***aborting after fassert() failure
      

      This crash occurs after the following steps:

      $  ./mongo --nodb
      MongoDB shell version v0.0.0
      > var replTest = new ReplSetTest({nodes: 1});
      > replTest.startSet();      // start mongod
      > replTest.remove(0);    // Remove it from replsettest's config
      > replTest.stopSet();      // crashes mongod.
      

            Assignee:
            jason.chan@mongodb.com Jason Chan
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: