<?xml version="1.0" encoding="utf-8"?>
<launchpad-bug id="814514">
  <date_last_updated>2011-07-22 09:58:47.214515+00:00</date_last_updated>
  <api_links>
    <bug_api_link>https://api.launchpad.net/1.0/bugs/814514</bug_api_link>
    <bug_owner_link>https://api.launchpad.net/1.0/~pstoev-askmonty</bug_owner_link>
    <milestone_link>https://api.launchpad.net/1.0/maria/+milestone/5.2</milestone_link>
    <linked_branches_collection_link>https://api.launchpad.net/1.0/bugs/814514/linked_branches</linked_branches_collection_link>
    <activity_link>https://api.launchpad.net/1.0/bugs/814514/activity</activity_link>
  </api_links>
  <bug_web_link>https://bugs.launchpad.net/bugs/814514</bug_web_link>
  <owner>Philip Stoev</owner>
  <assignee>Michael Widenius</assignee>
  <milestone_title>Maria 5.2</milestone_title>
  <duplicate_link></duplicate_link>
  <duplicate_bug_id></duplicate_bug_id>
  <title>Aria double recovery failure Key tree is empty / Record at:            1:0  Can't find key for index:  1</title>
  <status>New</status>
  <importance>Undecided</importance>
  <created>2011-07-22 09:40:37.776018+00:00</created>
  <description>
<![CDATA[After a double recovery using aria_read_log, aria_chk reported the following:

Aria double recovery failure "Record at:            1:0  Can't find key for index:  1"

Checking Aria file: smf2/smf_log_floodcontrol.MAI
Data records:       5   Deleted blocks:       0
- check file-size
- check key delete-chain
- check index reference
- check data record references index: 1
aria_chk: error: Key tree 1 is empty
- check records and index references
aria_chk: error: Record at:            1:0  Can't find key for index:  1
State updated
Aria table 'smf2/smf_log_floodcontrol.MAI' is corrupted
Fix it using switch "-r" or "-o"]]>  </description>
  <activities>
    <activity datechanged="2011-07-22T09:40:37.776018+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Philip Stoev</person>
      <message>added bug</message>
    </activity>
    <activity datechanged="2011-07-22T09:58:36.612527+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[datadir before the first and after the second recovery https://bugs.launchpad.net/maria/+bug/814514/+attachment/2225299/+files/var-bug814514.zip]]>      </newvalue>
      <whatchanged>attachment added</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
    <activity datechanged="2011-07-22T09:58:40.786311+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[5.2]]>      </newvalue>
      <whatchanged>maria: milestone</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
    <activity datechanged="2011-07-22T09:58:46.807900+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Michael Widenius (monty)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
  </activities>
  <comments>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/814514/comments/1" datecreated="2011-07-22T09:58:36.612527+00:00">
      <person>Philip Stoev</person>
      <subject>
<![CDATA[Re: Aria double recovery failure Key tree is empty / Record at:            1:0  Can't find key for index:  1]]>      </subject>
      <content>
<![CDATA[]]>      </content>
    </comment>
  </comments>
  <messages>
    <message created="2011-07-22 09:58:36.612527+00:00" owner="Philip Stoev">
<![CDATA[]]>      <attachment link="https://bugs.launchpad.net/bugs/814514/+attachment/2225299" type="Unspecified">
        <title>datadir before the first and after the second recovery</title>
        <file>LPexportBug814514_var-bug814514.zip</file>
      </attachment>
    </message>
  </messages>
</launchpad-bug>
