Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3736

Crash with kafkaimporter and no servers

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6.1.1
    • 6.2.0
    • N/A
    • None

    Description

      If the kafkaimporter is started with no servers to connect to and a valid kafka event is read, the following crash will occur.

      2021-08-18 15:06:11   error  : [kafkaimporter] Could not find a valid Master server to stream data into.
      alert  : MaxScale 6.1.1 received fatal signal 11. Commit ID: 9b4abbc9bd86e6f9b6c3fc581214eb8583d959e4 System name: Linux Release string: NAME=“CentOS Linux”
      2021-08-18 15:06:11   alert  : MaxScale 6.1.1 received fatal signal 11. Commit ID: 9b4abbc9bd86e6f9b6c3fc581214eb8583d959e4 System name: Linux Release string: NAME=“CentOS Linux”
      2021-08-18 15:06:11   alert  : Statement currently being classified: none/unknown
      alert  :   /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(mysql_real_query+0x16): _build/connector-c-prefix/src/connector-c/libmariadb/mariadb_lib.c:2377
        /usr/lib64/maxscale/libkafkaimporter.so(_ZN13kafkaimporter5Table7prepareEP8st_mysql+0x17e): server/modules/routing/kafkaimporter/table.cc:108
        /usr/lib64/maxscale/libkafkaimporter.so(_ZN13kafkaimporter8Producer7produceERKSsS2_+0xab): server/modules/routing/kafkaimporter/producer.cc:162
        /usr/lib64/maxscale/libkafkaimporter.so(_ZN13kafkaimporter8Consumer7consumeEv+0x9b9): /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h:3295 (discriminator 3)
        /usr/lib64/maxscale/libkafkaimporter.so(_ZN13kafkaimporter8Consumer3runEv+0x20): server/modules/routing/kafkaimporter/consumer.cc:67
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x2cee6f): thread48.o:?
        /lib64/libpthread.so.0(+0x7ea5): pthread_create.c:?
        /lib64/libc.so.6(clone+0x6d): ??:?
      

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.