Crash with "checkpoint server error" if early shutdown is invoked due to socket error at startup

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: WiredTiger
    • None
    • Storage Execution
    • ALL
    • Hide

      Not a reliable repro, but trying to start mongod using a port, which is in use should do the trick.

      Show
      Not a reliable repro, but trying to start mongod using a port, which is in use should do the trick.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is specific to MongoD with WiredTiger storage engine and only happens during early shutdown.

      If mongod invokes shutdown very early in the startup sequence (say, because it cannot bind to the listening socket, because it's in use), this may catch the WiredTiger engine still initializing and cause it to crash. The call stack below shows the location of the crash and I am also attaching the complete logs.

      mongo::printStackTrace(std::ostream&) at /tmp/TestRunDirectory/mongo/src/mongo/util/stacktrace_posix.cpp:171
      mongo::(anonymous namespace)::printSignalAndBacktrace(int) at /tmp/TestRunDirectory/mongo/src/mongo/util/signal_handlers_synchronous.cpp:179
       (inlined by) mongo::(anonymous namespace)::abruptQuit(int) at /tmp/TestRunDirectory/mongo/src/mongo/util/signal_handlers_synchronous.cpp:235
      ?? ??:0
      ?? ??:0
      ?? ??:0
      mongo::fassertFailed(int) at /tmp/TestRunDirectory/mongo/src/mongo/util/assert_util.cpp:172
      mongo::(anonymous namespace)::mdb_handle_error(__wt_event_handler*, __wt_session*, int, char const*) at /tmp/TestRunDirectory/mongo/src/mongo/util/assert_util.h:214
      __wt_eventv at /tmp/TestRunDirectory/mongo/src/third_party/wiredtiger/src/support/err.c:286
      __wt_err at /tmp/TestRunDirectory/mongo/src/third_party/wiredtiger/src/support/err.c:311
      __wt_panic at /tmp/TestRunDirectory/mongo/src/third_party/wiredtiger/src/support/err.c:494
      __ckpt_server at /tmp/TestRunDirectory/mongo/src/third_party/wiredtiger/src/conn/conn_ckpt.c:124
      ?? ??:0
      ?? ??:0
      

        1. crash.log
          55 kB
          Kaloian Manassiev

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: