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

Invalid internal query for static compact tables

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.0 beta 1
    • Component/s: Legacy/CQL
    • Labels:
      None
    • Severity:
      Normal

      Description

      When dealing with static compact table on the CQL side and we do a SELECT * FROM table; query, we generate the wrong clustering filter. More precisely, we create a name query that selects the EMPTY clustering, but that's an invalid clustering since static compact table have 1 clustering column (internally at least). What we really want to query is the static parts.

      This is the reason for the failure of some dtests (bootstrap_test:TestBootstrap.read_from_bootstrapped_node_test for instance). More precisely, the invalid filter created breaks serialization, which is why this is only really a problem on multi-node tests.

        Attachments

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              slebresne Sylvain Lebresne
              Authors:
              Sylvain Lebresne
              Reviewers:
              Aleksey Yeschenko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: