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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            philipstoev Philip Stoev added a comment -

            datadir, logs, etc.
            LPexportBug634955_var-bug634955.zip

            Show
            philipstoev Philip Stoev added a comment - datadir, logs, etc. LPexportBug634955_var-bug634955.zip
            Hide
            philipstoev Philip Stoev added a comment -

            Re: 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

            Show
            philipstoev Philip Stoev added a comment - Re: 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
            Hide
            philipstoev Philip Stoev added a comment -

            Re: 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
            Still repeatable with

            revision-id: sergii@pisem.net-20100928164723-z1je1n4525knvk2s
            date: 2010-09-28 18:47:23 +0200
            build-date: 2010-10-02 11:19:54 +0300
            revno: 2872
            branch-nick: 5.2
            ------------------------------------------------------------
            revno: 2872
            committer: Sergei Golubchik <sergii@pisem.net>
            branch nick: 5.2
            timestamp: Tue 2010-09-28 18:47:23 +0200
            message:
            fixes for gcc 4.5

            Show
            philipstoev Philip Stoev added a comment - Re: 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 Still repeatable with revision-id: sergii@pisem.net-20100928164723-z1je1n4525knvk2s date: 2010-09-28 18:47:23 +0200 build-date: 2010-10-02 11:19:54 +0300 revno: 2872 branch-nick: 5.2 ------------------------------------------------------------ revno: 2872 committer: Sergei Golubchik <sergii@pisem.net> branch nick: 5.2 timestamp: Tue 2010-09-28 18:47:23 +0200 message: fixes for gcc 4.5
            Hide
            monty Michael Widenius added a comment -

            Re: 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
            This issue should be fixed by my 2 latest pushes to 5.1
            (I have run the test case for several hours without any failures).

            Show
            monty Michael Widenius added a comment - Re: 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 This issue should be fixed by my 2 latest pushes to 5.1 (I have run the test case for several hours without any failures).
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 634955

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 634955

              People

              • Assignee:
                monty Michael Widenius
                Reporter:
                philipstoev Philip Stoev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: