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

Scrub still uses "row" to mean "partitions", and has broken code

    XMLWordPrintableJSON

Details

    Description

      2 issues in the scrub code:
      1) It still uses "row" to mean "partition". And not only in the code, but also in user messages. As we've fairly systematically remove such instances elsewhere in 3.0+, having it in scrub is going to confuse users which will almost surely misinterpret the results. If scrub says that it dropped 2 unreadable "rows" from your sstable, you might be ok with that when we're actually talking about CQL rows, but not if we talk of 2 full partitions.
      2) There is a branch at the end of scrub that is supposed to handle the case where scrubbing a sstable generates no output at all (the sstable is completely hosed usually), mostly providing a more user friendly message. The code is broken (and has been for a long time, since CASSANDRA-7066 I believe) however such that this branch can simply never be taken (even when it should). While admittedly pretty minor, no reason to leave it that way.

      Attachments

        Activity

          People

            e.dimitrova Ekaterina Dimitrova
            e.dimitrova Ekaterina Dimitrova
            Ekaterina Dimitrova, Sylvain Lebresne
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: