[jira] [Updated] (CASSANDRA-14591) Throw exception if Columns serialized subset encode more columns than possible

2018-11-29 Thread Benedict (JIRA)


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

Benedict updated CASSANDRA-14591:
-
   Resolution: Fixed
Fix Version/s: (was: 3.11.x)
   (was: 3.0.x)
   3.11.4
   3.0.18
   Status: Resolved  (was: Ready to Commit)

Thanks.  Added a test, and committed as 
[7bdea449c320c8a47a4e253e5cf6aa854d7a968d|https://github.com/apache/cassandra/commit/7bdea449c320c8a47a4e253e5cf6aa854d7a968d]
 to 3.0 and up.

> Throw exception if Columns serialized subset encode more columns than possible
> --
>
> Key: CASSANDRA-14591
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14591
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local Write-Read Paths
>Reporter: Benedict
>Assignee: Benedict
>Priority: Minor
> Fix For: 3.0.18, 3.11.4, 4.0
>
>
> When deserializing a \{{Columns}} subset via bitset membership, it is trivial 
> to add a modest probability of detecting corruption, by simply testing that 
> there are no higher bits set than the candidate \{{Columns}} permits.  This 
> would help mitigate secondary problems arising from issues like 
> CASSANDRA-14568.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14591) Throw exception if Columns serialized subset encode more columns than possible

2018-11-27 Thread Dinesh Joshi (JIRA)


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

Dinesh Joshi updated CASSANDRA-14591:
-
Status: Ready to Commit  (was: Patch Available)

> Throw exception if Columns serialized subset encode more columns than possible
> --
>
> Key: CASSANDRA-14591
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14591
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local Write-Read Paths
>Reporter: Benedict
>Assignee: Benedict
>Priority: Minor
> Fix For: 4.0, 3.0.x, 3.11.x
>
>
> When deserializing a \{{Columns}} subset via bitset membership, it is trivial 
> to add a modest probability of detecting corruption, by simply testing that 
> there are no higher bits set than the candidate \{{Columns}} permits.  This 
> would help mitigate secondary problems arising from issues like 
> CASSANDRA-14568.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14591) Throw exception if Columns serialized subset encode more columns than possible

2018-11-27 Thread Dinesh Joshi (JIRA)


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

Dinesh Joshi updated CASSANDRA-14591:
-
Reviewers: Dinesh Joshi

> Throw exception if Columns serialized subset encode more columns than possible
> --
>
> Key: CASSANDRA-14591
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14591
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local Write-Read Paths
>Reporter: Benedict
>Assignee: Benedict
>Priority: Minor
> Fix For: 4.0, 3.0.x, 3.11.x
>
>
> When deserializing a \{{Columns}} subset via bitset membership, it is trivial 
> to add a modest probability of detecting corruption, by simply testing that 
> there are no higher bits set than the candidate \{{Columns}} permits.  This 
> would help mitigate secondary problems arising from issues like 
> CASSANDRA-14568.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14591) Throw exception if Columns serialized subset encode more columns than possible

2018-11-17 Thread C. Scott Andreas (JIRA)


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

C. Scott Andreas updated CASSANDRA-14591:
-
Component/s: Local Write-Read Paths

> Throw exception if Columns serialized subset encode more columns than possible
> --
>
> Key: CASSANDRA-14591
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14591
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local Write-Read Paths
>Reporter: Benedict
>Assignee: Benedict
>Priority: Minor
> Fix For: 4.0, 3.0.x, 3.11.x
>
>
> When deserializing a \{{Columns}} subset via bitset membership, it is trivial 
> to add a modest probability of detecting corruption, by simply testing that 
> there are no higher bits set than the candidate \{{Columns}} permits.  This 
> would help mitigate secondary problems arising from issues like 
> CASSANDRA-14568.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14591) Throw exception if Columns serialized subset encode more columns than possible

2018-07-31 Thread Benedict (JIRA)


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

Benedict updated CASSANDRA-14591:
-
Status: Patch Available  (was: Open)

[patch|https://github.com/belliottsmith/cassandra/tree/CASSANDRA-14591], 
[Circle CI|https://circleci.com/gh/belliottsmith/cassandra/67]

> Throw exception if Columns serialized subset encode more columns than possible
> --
>
> Key: CASSANDRA-14591
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14591
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Benedict
>Assignee: Benedict
>Priority: Minor
> Fix For: 4.0, 3.0.x, 3.11.x
>
>
> When deserializing a \{{Columns}} subset via bitset membership, it is trivial 
> to add a modest probability of detecting corruption, by simply testing that 
> there are no higher bits set than the candidate \{{Columns}} permits.  This 
> would help mitigate secondary problems arising from issues like 
> CASSANDRA-14568.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org