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

CFRR wide row iterators improvements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.1.8
    • None
    • None
    • Normal

    Description

       public float getProgress()
          {
              // TODO this is totally broken for wide rows
              // the progress is likely to be reported slightly off the actual but close enough
              float progress = ((float) iter.rowsRead() / totalRowCount);
              return progress > 1.0F ? 1.0F : progress;
          }
      

      The problem is iter.rowsRead() does not return the number of rows read from the wide row iterator, but returns number of columns (every row is counted multiple times).

      Attachments

        Activity

          People

            pkolaczk Piotr Kolaczkowski
            pkolaczk Piotr Kolaczkowski
            Piotr Kolaczkowski
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: