[jira] [Updated] (CASSANDRA-14873) Fix missing rows when reading 2.1 SSTables with static columns in 3.0

2019-08-01 Thread C. Scott Andreas (JIRA)


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

C. Scott Andreas updated CASSANDRA-14873:
-
 Severity: Critical  (was: Normal)
   Complexity: Challenging
Discovered By: Fuzz Test
 Bug Category: Parent values: Correctness(12982)Level 1 values: Response 
Corruption / Loss(12987)
Since Version: 3.0.0

> Fix missing rows when reading 2.1 SSTables with static columns in 3.0
> -
>
> Key: CASSANDRA-14873
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14873
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Local Write-Read Paths
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Urgent
> Fix For: 3.0.18, 3.11.4
>
>
> If a partition has a static row and is large enough to be indexed, then 
> {{firstName}} of the first index block will be set to a static clustering. 
> When deserializing the column index we then incorrectly deserialize the 
> {{firstName}} as a regular, non-{{STATIC}} {{Clustering}} - a singleton array 
> with an empty {{ByteBuffer}} to be exact. Depending on the clustering 
> comparator, this can trip up binary search over {{IndexInfo}} list and cause 
> an incorrect resultset to be returned.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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



[jira] [Updated] (CASSANDRA-14873) Fix missing rows when reading 2.1 SSTables with static columns in 3.0

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


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

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

> Fix missing rows when reading 2.1 SSTables with static columns in 3.0
> -
>
> Key: CASSANDRA-14873
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14873
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local Write-Read Paths
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Major
> Fix For: 3.0.18, 3.11.4
>
>
> If a partition has a static row and is large enough to be indexed, then 
> {{firstName}} of the first index block will be set to a static clustering. 
> When deserializing the column index we then incorrectly deserialize the 
> {{firstName}} as a regular, non-{{STATIC}} {{Clustering}} - a singleton array 
> with an empty {{ByteBuffer}} to be exact. Depending on the clustering 
> comparator, this can trip up binary search over {{IndexInfo}} list and cause 
> an incorrect resultset to be returned.



--
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-14873) Fix missing rows when reading 2.1 SSTables with static columns in 3.0

2018-11-13 Thread Aleksey Yeschenko (JIRA)


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

Aleksey Yeschenko updated CASSANDRA-14873:
--
   Resolution: Fixed
Fix Version/s: (was: 3.11.x)
   (was: 3.0.x)
   3.11.4
   3.0.18
   Status: Resolved  (was: Patch Available)

> Fix missing rows when reading 2.1 SSTables with static columns in 3.0
> -
>
> Key: CASSANDRA-14873
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14873
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Major
> Fix For: 3.0.18, 3.11.4
>
>
> If a partition has a static row and is large enough to be indexed, then 
> {{firstName}} of the first index block will be set to a static clustering. 
> When deserializing the column index we then incorrectly deserialize the 
> {{firstName}} as a regular, non-{{STATIC}} {{Clustering}} - a singleton array 
> with an empty {{ByteBuffer}} to be exact. Depending on the clustering 
> comparator, this can trip up binary search over {{IndexInfo}} list and cause 
> an incorrect resultset to be returned.



--
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-14873) Fix missing rows when reading 2.1 SSTables with static columns in 3.0

2018-11-12 Thread Aleksey Yeschenko (JIRA)


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

Aleksey Yeschenko updated CASSANDRA-14873:
--
Description: If a partition has a static row and is large enough to be 
indexed, then {{firstName}} of the first index block will be set to a static 
clustering. When deserializing the column index we then incorrectly deserialize 
the {{firstName}} as a regular, non-{{STATIC}} {{Clustering}} - a singleton 
array with an empty {{ByteBuffer}} to be exact. Depending on the clustering 
comparator, this can trip up binary search over {{IndexInfo}} list and cause an 
incorrect resultset to be returned.  (was: TBD)

> Fix missing rows when reading 2.1 SSTables with static columns in 3.0
> -
>
> Key: CASSANDRA-14873
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14873
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Major
> Fix For: 3.0.x, 3.11.x
>
>
> If a partition has a static row and is large enough to be indexed, then 
> {{firstName}} of the first index block will be set to a static clustering. 
> When deserializing the column index we then incorrectly deserialize the 
> {{firstName}} as a regular, non-{{STATIC}} {{Clustering}} - a singleton array 
> with an empty {{ByteBuffer}} to be exact. Depending on the clustering 
> comparator, this can trip up binary search over {{IndexInfo}} list and cause 
> an incorrect resultset to be returned.



--
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-14873) Fix missing rows when reading 2.1 SSTables with static columns in 3.0

2018-11-12 Thread Aleksey Yeschenko (JIRA)


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

Aleksey Yeschenko updated CASSANDRA-14873:
--
Reviewers: Blake Eggleston

> Fix missing rows when reading 2.1 SSTables with static columns in 3.0
> -
>
> Key: CASSANDRA-14873
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14873
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Major
> Fix For: 3.0.x, 3.11.x
>
>
> TBD



--
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-14873) Fix missing rows when reading 2.1 SSTables with static columns in 3.0

2018-11-12 Thread Aleksey Yeschenko (JIRA)


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

Aleksey Yeschenko updated CASSANDRA-14873:
--
Status: Patch Available  (was: Open)

> Fix missing rows when reading 2.1 SSTables with static columns in 3.0
> -
>
> Key: CASSANDRA-14873
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14873
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Major
> Fix For: 3.0.x, 3.11.x
>
>
> TBD



--
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-14873) Fix missing rows when reading 2.1 SSTables with static columns in 3.0

2018-11-12 Thread Aleksey Yeschenko (JIRA)


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

Aleksey Yeschenko updated CASSANDRA-14873:
--
Summary: Fix missing rows when reading 2.1 SSTables with static columns in 
3.0  (was: Missing rows when reading 2.1 SSTables in 3.0)

> Fix missing rows when reading 2.1 SSTables with static columns in 3.0
> -
>
> Key: CASSANDRA-14873
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14873
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Major
> Fix For: 3.0.x, 3.11.x
>
>
> TBD



--
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