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

Invalid internal query for static compact tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0 beta 1
    • Legacy/CQL
    • None
    • 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

            slebresne Sylvain Lebresne
            slebresne Sylvain Lebresne
            Sylvain Lebresne
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: