[jira] [Updated] (CASSANDRA-12516) Interned column identifiers can be overridden incorrectly

2016-09-19 Thread Stefania (JIRA)

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

Stefania updated CASSANDRA-12516:
-
Component/s: Local Write-Read Paths

> Interned column identifiers can be overridden incorrectly
> -
>
> Key: CASSANDRA-12516
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12516
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local Write-Read Paths
>Reporter: Aleksey Yeschenko
>Assignee: Stefania
> Fix For: 3.10, 3.0.10
>
>
> As discovered by [~Stefania] in CASSANDRA-12423, our use of 
> {{ColumnIdentifier.internedInstances}} to map byte buffer column names to 
> column identifiers is incorrect. It's possible for two non-equal 
> {{ColumnIdentifier}} instances to have the same {{ByteBuffer}} as raw name, 
> and yet different text representations, due to different column name types, 
> leading to hard to debug correctness issues.
> Should either amend the map to have the type as part of the key, or limit the 
> use of that map.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-12516) Interned column identifiers can be overridden incorrectly

2016-09-19 Thread Stefania (JIRA)

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

Stefania updated CASSANDRA-12516:
-
   Resolution: Fixed
Fix Version/s: (was: 3.0.x)
   (was: 3.x)
   3.0.10
   3.10
   Status: Resolved  (was: Ready to Commit)

> Interned column identifiers can be overridden incorrectly
> -
>
> Key: CASSANDRA-12516
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12516
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local Write-Read Paths
>Reporter: Aleksey Yeschenko
>Assignee: Stefania
> Fix For: 3.10, 3.0.10
>
>
> As discovered by [~Stefania] in CASSANDRA-12423, our use of 
> {{ColumnIdentifier.internedInstances}} to map byte buffer column names to 
> column identifiers is incorrect. It's possible for two non-equal 
> {{ColumnIdentifier}} instances to have the same {{ByteBuffer}} as raw name, 
> and yet different text representations, due to different column name types, 
> leading to hard to debug correctness issues.
> Should either amend the map to have the type as part of the key, or limit the 
> use of that map.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-12516) Interned column identifiers can be overridden incorrectly

2016-09-19 Thread Aleksey Yeschenko (JIRA)

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

Aleksey Yeschenko updated CASSANDRA-12516:
--
Status: Ready to Commit  (was: Patch Available)

> Interned column identifiers can be overridden incorrectly
> -
>
> Key: CASSANDRA-12516
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12516
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Aleksey Yeschenko
>Assignee: Stefania
> Fix For: 3.0.x, 3.x
>
>
> As discovered by [~Stefania] in CASSANDRA-12423, our use of 
> {{ColumnIdentifier.internedInstances}} to map byte buffer column names to 
> column identifiers is incorrect. It's possible for two non-equal 
> {{ColumnIdentifier}} instances to have the same {{ByteBuffer}} as raw name, 
> and yet different text representations, due to different column name types, 
> leading to hard to debug correctness issues.
> Should either amend the map to have the type as part of the key, or limit the 
> use of that map.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-12516) Interned column identifiers can be overridden incorrectly

2016-09-11 Thread Aleksey Yeschenko (JIRA)

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

Aleksey Yeschenko updated CASSANDRA-12516:
--
Reviewer: Aleksey Yeschenko

> Interned column identifiers can be overridden incorrectly
> -
>
> Key: CASSANDRA-12516
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12516
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Aleksey Yeschenko
>Assignee: Stefania
> Fix For: 3.0.x, 3.x
>
>
> As discovered by [~Stefania] in CASSANDRA-12423, our use of 
> {{ColumnIdentifier.internedInstances}} to map byte buffer column names to 
> column identifiers is incorrect. It's possible for two non-equal 
> {{ColumnIdentifier}} instances to have the same {{ByteBuffer}} as raw name, 
> and yet different text representations, due to different column name types, 
> leading to hard to debug correctness issues.
> Should either amend the map to have the type as part of the key, or limit the 
> use of that map.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-12516) Interned column identifiers can be overridden incorrectly

2016-09-11 Thread Stefania (JIRA)

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

Stefania updated CASSANDRA-12516:
-
Status: Patch Available  (was: In Progress)

> Interned column identifiers can be overridden incorrectly
> -
>
> Key: CASSANDRA-12516
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12516
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Aleksey Yeschenko
>Assignee: Stefania
> Fix For: 3.0.x, 3.x
>
>
> As discovered by [~Stefania] in CASSANDRA-12423, our use of 
> {{ColumnIdentifier.internedInstances}} to map byte buffer column names to 
> column identifiers is incorrect. It's possible for two non-equal 
> {{ColumnIdentifier}} instances to have the same {{ByteBuffer}} as raw name, 
> and yet different text representations, due to different column name types, 
> leading to hard to debug correctness issues.
> Should either amend the map to have the type as part of the key, or limit the 
> use of that map.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CASSANDRA-12516) Interned column identifiers can be overridden incorrectly

2016-08-31 Thread Aleksey Yeschenko (JIRA)

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

Aleksey Yeschenko updated CASSANDRA-12516:
--
Fix Version/s: (was: 2.2.x)
   (was: 2.1.x)

> Interned column identifiers can be overridden incorrectly
> -
>
> Key: CASSANDRA-12516
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12516
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Aleksey Yeschenko
>Assignee: Stefania
> Fix For: 3.0.x, 3.x
>
>
> As discovered by [~Stefania] in CASSANDRA-12423, our use of 
> {{ColumnIdentifier.internedInstances}} to map byte buffer column names to 
> column identifiers is incorrect. It's possible for two non-equal 
> {{ColumnIdentifier}} instances to have the same {{ByteBuffer}} as raw name, 
> and yet different text representations, due to different column name types, 
> leading to hard to debug correctness issues.
> Should either amend the map to have the type as part of the key, or limit the 
> use of that map.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)