Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13830

Assertion failed: recv_sys->mlog_checkpoint_lsn <= recv_sys->recovered_lsn

Details

    Description

      Observed on buildbot, 64-bit Windows, debug:

      CURRENT_TEST: innodb.group_commit_crash_no_optimize_thread
      2017-09-17 10:58:59 4604 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1682230
      Assertion failed: recv_sys->mlog_checkpoint_lsn <= recv_sys->recovered_lsn, file D:\winx64-debug\build\src\storage\innobase\log\log0recv.cc, line 2374
      ----------SERVER LOG END-------------
      mysqltest failed but provided no output
      The result from queries just before the failure was:
      < snip >
      a	b	c	d	2
      a	b	c	d	3
      a	b	c	d	4
      a	b	c	d	5
      a	b	c	d	6
      a	b	c	d	7
      a	b	c	d	8
      a	b	c	d	9
      a	b	c	d	10
      SHOW BINLOG EVENTS LIMIT 4,1;
      Log_name	Pos	Event_type	Server_id	End_log_pos	Info
      master-bin.000001	#	Query	1	#	use `test`; insert into t1 select * from t2
      delete from t1;
      SET binlog_format= mixed;
      RESET MASTER;
      START TRANSACTION;
      insert into t1 select * from t2;
      call setcrash(2);
      COMMIT;
      Got one of the listed errors
      

      This logic will be removed altogether when MDEV-14425 introduces a separate file for log checkpoints and file names.

      Attachments

        Issue Links

          Activity

            marko Marko Mäkelä created issue -
            marko Marko Mäkelä made changes -
            Field Original Value New Value
            marko Marko Mäkelä made changes -
            Affects Version/s 10.3 [ 22126 ]
            marko Marko Mäkelä made changes -
            Fix Version/s 10.3 [ 22126 ]
            marko Marko Mäkelä made changes -
            Assignee Marko Mäkelä [ marko ] Thirunarayanan B [ thiru ]
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            serg Sergei Golubchik made changes -
            Fix Version/s 10.4 [ 22408 ]
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            Description Observed on [buildbot, 64-bit Windows, debug|http://buildbot.askmonty.org/buildbot/builders/winx64-debug/builds/5272/steps/test/logs/stdio]:
            {noformat}
            CURRENT_TEST: innodb.group_commit_crash_no_optimize_thread

            2017-09-17 10:58:59 4604 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1682230
            Assertion failed: recv_sys->mlog_checkpoint_lsn <= recv_sys->recovered_lsn, file D:\winx64-debug\build\src\storage\innobase\log\log0recv.cc, line 2374

            ----------SERVER LOG END-------------
            mysqltest failed but provided no output
            The result from queries just before the failure was:
            < snip >
            a b c d 2
            a b c d 3
            a b c d 4
            a b c d 5
            a b c d 6
            a b c d 7
            a b c d 8
            a b c d 9
            a b c d 10
            SHOW BINLOG EVENTS LIMIT 4,1;
            Log_name Pos Event_type Server_id End_log_pos Info
            master-bin.000001 # Query 1 # use `test`; insert into t1 select * from t2
            delete from t1;
            SET binlog_format= mixed;
            RESET MASTER;
            START TRANSACTION;
            insert into t1 select * from t2;
            call setcrash(2);
            COMMIT;
            Got one of the listed errors
            {noformat}
            Potentially related to MDEV-12353.
            Observed on [buildbot, 64-bit Windows, debug|http://buildbot.askmonty.org/buildbot/builders/winx64-debug/builds/5272/steps/test/logs/stdio]:
            {noformat}
            CURRENT_TEST: innodb.group_commit_crash_no_optimize_thread

            2017-09-17 10:58:59 4604 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1682230
            Assertion failed: recv_sys->mlog_checkpoint_lsn <= recv_sys->recovered_lsn, file D:\winx64-debug\build\src\storage\innobase\log\log0recv.cc, line 2374

            ----------SERVER LOG END-------------
            mysqltest failed but provided no output
            The result from queries just before the failure was:
            < snip >
            a b c d 2
            a b c d 3
            a b c d 4
            a b c d 5
            a b c d 6
            a b c d 7
            a b c d 8
            a b c d 9
            a b c d 10
            SHOW BINLOG EVENTS LIMIT 4,1;
            Log_name Pos Event_type Server_id End_log_pos Info
            master-bin.000001 # Query 1 # use `test`; insert into t1 select * from t2
            delete from t1;
            SET binlog_format= mixed;
            RESET MASTER;
            START TRANSACTION;
            insert into t1 select * from t2;
            call setcrash(2);
            COMMIT;
            Got one of the listed errors
            {noformat}
            This logic will be removed altogether when MDEV-14425 introduces a separate file for log checkpoints and file names.
            elenst Elena Stepanova made changes -
            marko Marko Mäkelä made changes -
            Labels crash recovery crash need_rr recovery
            marko Marko Mäkelä made changes -
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            mleich Matthias Leich made changes -
            Fix Version/s 10.5 [ 23123 ]
            Affects Version/s 10.5.5 [ 24423 ]
            Labels crash need_rr recovery crash recovery rr-profile
            thiru Thirunarayanan Balathandayuthapani made changes -
            Labels crash recovery rr-profile crash recovery rr-profile-analyzed
            thiru Thirunarayanan Balathandayuthapani made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            thiru Thirunarayanan Balathandayuthapani made changes -
            Assignee Thirunarayanan Balathandayuthapani [ thiru ] Marko Mäkelä [ marko ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            marko Marko Mäkelä made changes -
            Assignee Marko Mäkelä [ marko ] Thirunarayanan Balathandayuthapani [ thiru ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            thiru Thirunarayanan Balathandayuthapani made changes -
            Fix Version/s 10.2.33 [ 24307 ]
            Fix Version/s 10.3.24 [ 24306 ]
            Fix Version/s 10.4.14 [ 24305 ]
            Fix Version/s 10.5.5 [ 24423 ]
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            thiru Thirunarayanan Balathandayuthapani made changes -
            thiru Thirunarayanan Balathandayuthapani made changes -
            marko Marko Mäkelä made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 82621 ] MariaDB v4 [ 152839 ]
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 159637

            People

              thiru Thirunarayanan Balathandayuthapani
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.