[ 
https://issues.apache.org/jira/browse/CASSANDRA-16361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Caleb Rackliffe updated CASSANDRA-16361:
----------------------------------------
     Bug Category: Parent values: Correctness(12982)Level 1 values: Transient 
Incorrect Response(12987)
       Complexity: Normal
    Discovered By: Unit Test
    Fix Version/s: 4.0-beta
         Severity: Normal
         Assignee: Caleb Rackliffe
           Status: Open  (was: Triage Needed)

> DROP COMPACT STORAGE should invalidate prepared statements still using 
> CompactTableMetadata
> -------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16361
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16361
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Legacy/CQL
>            Reporter: Caleb Rackliffe
>            Assignee: Caleb Rackliffe
>            Priority: Normal
>             Fix For: 4.0-beta
>
>
> When we drop compact storage from a table, existing prepared statements 
> continue to refer to an instance of {{CompactTableMetadata}}, rather than 
> being invalidated so they can be assigned a new {{TableMetadata}} instance. 
> There are perhaps some brute force ways to fix this, like bouncing the node, 
> but that obviously sub-optimal.
> One idea is to have {{TableMetadata#changeAffectsPreparedStatements()}} 
> return true when we go from having to not having the DENSE flag. It should be 
> pretty easy to validate a fix with a small addition to {{CompactTableTest}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to