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

LP:634955 - ma_blockrec.c:3932: _ma_update_at_original_place: Assertion `blocks->count > 1 || ((new_row->total_length) > (share->base.min_block_length) ? (new_row->total_length) : (share->base.min_block_length)) <= length_on_head_page' on Aria recovery

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      When using maria_read_log to recover from an empty datadir, maria_read_log reported the following:

      The transaction log starts from lsn (1,0x2007)
      TRACE of the last maria_read_log
      /home/buildbot/rqg-buildbot-slave/rqg-weekend/build/mysql-test//../storage/maria/maria_read_log: Maria engine: starting recovery
      recovered pages: 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% (16.1 seconds); transactions to roll back: 1maria_read_log: ma_blockrec.c:3932: _ma_update_at_original_place: Assertion `blocks->count > 1 || ((new_row->total_length) > (share->base.min_block_length) ? (new_row->total_length) : (share->base.min_block_length)) <= length_on_head_page' failed.

      bzr version-info:

      revision-id: <email address hidden>
      date: 2010-09-10 02:42:12 +0300
      build-date: 2010-09-10 17:06:05 +0300
      revno: 2928
      branch-nick: 5.1

      RQG command line:

      /home/buildbot/randgen/runall.pl \
      --queries=1M \
      --engine=Maria \
      -mysqld=-safe-mode \
      -mysqld=-sync-sys=0 \
      -mysqld=-log-output=file \
      -mysqld=-maria_log_purge_type=at_flush \
      --reporters=ErrorLog,Backtrace,Recovery,Shutdown \
      --duration=30 \
      --threads=10 \
      --rows=10000 \
      --mask-level=2 \
      -mysqld=-loose-maria-group-commit=hard \
      -mysqld=-loose-maria_group_commit_interval=0 \
      -mysqld=-maria-checkpoint-interval=120 \
      -mysqld=-maria-block-size=4K \
      --mask=14207 \
      --queries=100000000 \
      --mask=14207 \
      --seed=time \
      --basedir=. \
      --vardir=/home/buildbot/rqg-buildbot-slave/rqg-weekend/vardir-maria_recovery_weekend/current \
      --grammar=conf/engines/varchar.yy \
      --gendata=conf/engines/varchar.zz

      Attachments

        Activity

          People

            monty Michael Widenius
            philipstoev Philip Stoev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 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.