cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jingfengtan (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-1297) commitlog recover bug
Date Mon, 19 Jul 2010 09:02:49 GMT
commitlog recover bug
---------------------

                 Key: CASSANDRA-1297
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1297
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.6
            Reporter: jingfengtan
             Fix For: 0.6.4


class CommitLog.java
when recover log files;
 if one log  file have no dirty , process is break;
{quote}
199  int lowPos = CommitLogHeader.getLowestPosition(clHeader);
 200 if (lowPos == 0)
 201    break;
{quote}

why not continue and read next log file
{quote}
199  int lowPos = CommitLogHeader.getLowestPosition(clHeader);
200 if (lowPos == 0)\{
201   reader.close();
202   continue;
203  \}
{quote}

i am not very sure about that. how can answer?




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message