Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4019

controllernode hangs on SIGTERM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.5.1
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2020-7

      Description

      As of pre-release 1.5 code controllernode must gracefully finishes all workernode connections and returns however it hangs infinitely and can be only killed with -SIGKILL. Here is the state it hangs in.

      #0  0x00007f56cefa8a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1  0x000055602b2e3411 in boost::condition_variable::wait (this=0x55602d206cc8, m=...) at /usr/include/boost/thread/pthread/condition_variable.hpp:73
      #2  0x00007f56c9f83784 in boost::thread::join_noexcept() () from /lib64/libboost_thread-mt.so.1.53.0
      #3  0x00007f56ce37b63f in boost::thread::join (this=0x55602d1a37c0) at /usr/include/boost/thread/detail/thread.hpp:751
      #4  0x00007f56cb7a1612 in threadpool::ThreadPool::stop (this=0x7f56ce7c22c0 <joblist::JobStep::jobstepThreadPool>) at /data/mdb-server/storage/columnstore/utils/threadpool/threadpool.cpp:137
      #5  0x00007f56cb7a0ead in threadpool::ThreadPool::~ThreadPool (this=0x7f56ce7c22c0 <joblist::JobStep::jobstepThreadPool>, __in_chrg=<optimized out>) at /data/mdb-server/storage/columnstore/utils/threadpool/threadpool.cpp:60
      #6  0x00007f56c811d05a in __cxa_finalize () from /lib64/libc.so.6
      #7  0x00007f56ce1bc7c3 in __do_global_dtors_aux () from /lib64/libjoblist.so
      #8  0x00007ffe9b51ace0 in ?? ()
      #9  0x00007f56cf1c907a in _dl_fini () from /lib64/ld-linux-x86-64.so.2
      

      JFYI threadpool::ThreadPool::stop() waits on fPruneThread->join().

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dleeyh Daniel Lee
              Reporter:
              drrtuy Roman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.