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

Collection values size is not validated.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.2.4
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      Collections values are currently limited to 64K because the serialized form used uses shorts to encode the elements length (and for sets elements and key map, because they are part of the internal column name that is itself limited to 64K).

      However, there is no check on the collection elements size currently so we don't refuse values > 64K (except for sets elements and map keys because we check internal column name sizes), even though they can't be decoded correctly client side.

        Attachments

        1. 5355.txt
          12 kB
          Sylvain Lebresne

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              slebresne Sylvain Lebresne
              Authors:
              Sylvain Lebresne
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: