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

Allow sstable2json to dump SecondaryIndex SSTables

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.6
    • Legacy/Tools
    • None

    Description

      When investigating some 2I problems I had, I was pretty disappointed that sstable2json does not allow me to dump SecondaryIndex, saying that "The provided column family is not part of this cassandra database: keyspace = testks, column family = testcf.testcf_col_idx".

      I'm attaching patch that fixes given problem by changing a bit the way that sst2j "validates" the input file. My only concern is that this solution uses StorageService for "validation", so it's a bit heavier than it should, as it has to set everything up.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michalm Michał Michalski Assign to me
            michalm Michał Michalski
            Michał Michalski
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment