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

ThriftValidator throws InvalidRequestException("Start key's token sorts after end token") exception for columnfamilies with only 1 record

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None
    • Ubuntu 12.10

    • Normal

    Description

      Running word_count example on columnfamily with only one row results in "Start key's token sorts after end token" being thrown. Debugging through, appears to be caused by ThriftValidator.validateKeyRange assumption that (quoting comment from code) "start_token/end_token can wrap, but key/token should not". If only one record exists, maybe wrapping is necessary?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anton.slutsky Anton Slutsky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: