Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1297

commitlog recover bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 0.6.4
    • None
    • None
    • Critical

    Description

      class CommitLog.java
      when recover log files;
      if one log file have no dirty , process is break;

      199 int lowPos = CommitLogHeader.getLowestPosition(clHeader);
      200 if (lowPos == 0)
      201 break;

      why not continue and read next log file

      199 int lowPos = CommitLogHeader.getLowestPosition(clHeader);
      200 if (lowPos == 0){
      201 reader.close();
      202 continue;
      203 }

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

      Attachments

        Activity

          People

            jftan jingfengtan
            jftan jingfengtan
            jingfengtan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 72h
                72h
                Remaining:
                Remaining Estimate - 72h
                72h
                Logged:
                Time Spent - Not Specified
                Not Specified