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

bugzillaId-738: logging to file instead of shared memory breaks 'load_balancing' and 'crash_out_of_files' tests

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 1.0.6
    • 1.1.1
    • Core, Plugin
    • None
    • Linux

    Description

      This is imported from bugzilla. http://bugs.mariadb.com/show_bug.cgi?id=738

      Timofey Turenko 2015-02-25 17:39:22 UTC
      1. start Maxscale with logging to file (now it is default option)
      2. run 'load_balancing' or 'crash_out_of_files' test

      Expected result: test PASSED, not garbage in the logs

      Actual result:

      • test FAILED
      • log is full with:

      015-02-25 19:38:10   Backend hangup error handling.
      2015-02-25 19:38:10   Backend hangup error handling.
      2015-02-25 19:38:10   Backend hangup error handling.
      2015-02-25 19:38:10   Error : Unable to write to backend due to authentication failure.
      2015-02-25 19:38:10   Backend hangup -> closing session.
      2015-02-25 19:38:21   Backend hangup error handling.
      2015-02-25 19:38:22   Backend hangup error handling.
      2015-02-25 19:38:22   Backend hangup error handling.
      2015-02-25 19:38:22   Backend hangup error handling.
      2015-02-25 19:38:22   Backend hangup -> closing session.
      2015-02-25 19:38:24   Backend hangup error handling.
      2015-02-25 19:38:24   Backend hangup -> closing session.
      2015-02-25 19:38:24   Backend hangup error handling.
      2015-02-25 19:38:24   Backend hangup -> closing session.
      2015-02-25 19:38:34   Backend hangup error handling.
      2015-02-25 19:38:34   Backend hangup error handling.
      2015-02-25 19:38:35   Error : Routing the query failed. Session will be closed.
      2015-02-25 19:38:35   Backend hangup error handling.
      2015-02-25 19:38:35   Backend hangup error handling.
      2015-02-25 19:38:35   Error : Routing the query failed. Session will be closed.
      2015-02-25 19:38:35   Backend hangup error handling.
      2015-02-25 19:38:36   Backend hangup error handling.
      2015-02-25 19:38:36   Backend hangup error handling.
      2015-02-25 19:38:36   Backend hangup error handling.
      2015-02-25 19:38:37   Backend hangup error handling.
      2015-02-25 19:38:37   Backend hangup error handling.
      2015-02-25 19:38:37   Error : Routing the query failed. Session will be closed.
      2015-02-25 19:38:37   Backend hangup error handling.
      2015-02-25 19:38:37   Backend hangup error handling.
      2015-02-25 19:38:38   Backend hangup error handling.
      2015-02-25 19:38:38   Backend hangup -> closing session.
      2015-02-25 19:38:39   Backend hangup error handling.
      2015-02-25 19:38:39   Backend hangup error handling.
      2015-02-25 19:38:40   Error: Can't route COM_QUERY:QUERY_TYPE_READ:"SELECT * FROM t1;" to backend server. Router is closed.
      2015-02-25 19:38:40   Error : Routing the query failed. Session will be closed.
      2015-02-25 19:38:40   Backend hangup -> closing session.
      2015-02-25 19:38:40   Backend error event handling.
      2015-02-25 19:38:40   Backend hangup -> closing session.
      2015-02-25 19:38:41   Backend hangup error handling.
      2015-02-25 19:38:41   Backend hangup -> closing session.
      2015-02-25 19:38:41   Backend hangup error handling.
      2015-02-25 19:38:41   Backend hangup error handling.
      2015-02-25 19:38:41   Backend hangup error handling.
      2015-02-25 19:38:42   Backend hangup error handling.
      2015-02-25 19:38:42   Backend hangup error handling.
      2015-02-25 19:38:42   Backend hangup error handling.
      2015-02-25 19:38:42   Backend hangup error handling.
      2015-02-25 19:38:43   Backend hangup error handling.
      2015-02-25 19:38:43   Backend error event handling.
      2015-02-25 19:38:43   Error : Routing the query failed. Session will be closed.
      2015-02-25 19:38:43   Backend hangup error handling.
      2015-02-25 19:38:44   Backend hangup error handling.
      2015-02-25 19:38:44   Backend hangup error handling.
      2015-02-25 19:38:44   Backend hangup error handling.
      2015-02-25 19:38:44   Backend hangup error handling.
      2015-02-25 19:38:45   Backend hangup error handling.
      2015-02-25 19:38:45   Backend hangup -> closing session.
      2015-02-25 19:38:45   Backend hangup -> closing session.
      2015-02-25 19:38:45   Backend hangup -> closing session.
      2015-02-25 19:38:45   Backend hangup -> closing session.
      2015-02-25 19:38:46   Backend hangup error handling.
      2015-02-25 19:38:46   Error : Routing the query failed. Session will be closed.
      2015-02-25 19:38:46   Backend hangup error handling.
      2015-02-25 19:38:47   Backend hangup error handling.
      2015-02-25 19:38:47   Backend hangup error handling.
      2015-02-25 19:38:48   Backend hangup error handling.
      2015-02-25 19:38:48   Backend hangup error handling.
      2015-02-25 19:38:48   Hangup in session that is not ready for routing, Error reported is 'Broken pipe'.
      2015-02-25 19:38:48   Backend hangup error handling.
      2015-02-25 19:38:48   Error : Routing the query failed. Session will be closed.
      2015-02-25 19:38:48   Backend hangup error handling.
      2015-02-25 19:38:48   Backend hangup -> closing session.
      2015-02-25 19:38:49   Backend hangup error handling.
      2015-02-25 19:38:49   Backend hangup error handling.
      2015-02-25 19:38:49   Backend hangup error handling.
      2015-02-25 19:38:50   Backend hangup error handling.
      2015-02-25 19:38:50   Backend hangup error handling.
       
       

      Starting MaxScale with -lshm option makes tests PASSED

      Attachments

        Activity

          People

            markus makela markus makela
            tturenko Timofey Turenko
            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.