[jira] [Updated] (CASSANDRA-14766) DESC order reads can fail to return the last Unfiltered in the partition in a legacy sstable

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


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

C. Scott Andreas updated CASSANDRA-14766:
-
 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

> DESC order reads can fail to return the last Unfiltered in the partition in a 
> legacy sstable
> 
>
> Key: CASSANDRA-14766
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14766
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/SSTable
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Urgent
> Fix For: 3.0.18, 3.11.4
>
>
> {{OldFormatDeserializer}}’s {{hasNext()}} method can and will consume two 
> {{Unfiltered}} from the underlying iterator in some scenarios - intentionally.
> But in doing that it’s losing intermediate state of {{lastConsumedPosition}}. 
> If that last block, when iterating backwards, only has two {{Unfiltered}}, 
> the first one will be returned, and the last one won’t as the reverse 
> iterator would incorrectly things that the deserisalizer is past the index 
> block, despite still having one {{Unfiltered}} unreturned.



--
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-14766) DESC order reads can fail to return the last Unfiltered in the partition in a legacy sstable

2019-01-03 Thread Benedict (JIRA)


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

Benedict updated CASSANDRA-14766:
-
Component/s: (was: Legacy/Local Write-Read Paths)
 Local/SSTable

> DESC order reads can fail to return the last Unfiltered in the partition in a 
> legacy sstable
> 
>
> Key: CASSANDRA-14766
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14766
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local/SSTable
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Major
> Fix For: 3.0.18, 3.11.4
>
>
> {{OldFormatDeserializer}}’s {{hasNext()}} method can and will consume two 
> {{Unfiltered}} from the underlying iterator in some scenarios - intentionally.
> But in doing that it’s losing intermediate state of {{lastConsumedPosition}}. 
> If that last block, when iterating backwards, only has two {{Unfiltered}}, 
> the first one will be returned, and the last one won’t as the reverse 
> iterator would incorrectly things that the deserisalizer is past the index 
> block, despite still having one {{Unfiltered}} unreturned.



--
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-14766) DESC order reads can fail to return the last Unfiltered in the partition in a legacy sstable

2018-09-25 Thread Aleksey Yeschenko (JIRA)


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

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

> DESC order reads can fail to return the last Unfiltered in the partition in a 
> legacy sstable
> 
>
> Key: CASSANDRA-14766
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14766
> 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
>
>
> {{OldFormatDeserializer}}’s {{hasNext()}} method can and will consume two 
> {{Unfiltered}} from the underlying iterator in some scenarios - intentionally.
> But in doing that it’s losing intermediate state of {{lastConsumedPosition}}. 
> If that last block, when iterating backwards, only has two {{Unfiltered}}, 
> the first one will be returned, and the last one won’t as the reverse 
> iterator would incorrectly things that the deserisalizer is past the index 
> block, despite still having one {{Unfiltered}} unreturned.



--
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-14766) DESC order reads can fail to return the last Unfiltered in the partition in a legacy sstable

2018-09-25 Thread Aleksey Yeschenko (JIRA)


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

Aleksey Yeschenko updated CASSANDRA-14766:
--
Description: 
{{OldFormatDeserializer}}’s {{hasNext()}} method can and will consume two 
{{Unfiltered}} from the underlying iterator in some scenarios - intentionally.

But in doing that it’s losing intermediate state of {{lastConsumedPosition}}. 
If that last block, when iterating backwards, only has two {{Unfiltered}}, the 
first one will be returned, and the last one won’t as the reverse iterator 
would incorrectly things that the deserisalizer is past the index block, 
despite still having one {{Unfiltered}} unreturned.

> DESC order reads can fail to return the last Unfiltered in the partition in a 
> legacy sstable
> 
>
> Key: CASSANDRA-14766
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14766
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local Write-Read Paths
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Major
> Fix For: 3.0.x, 3.11.x
>
>
> {{OldFormatDeserializer}}’s {{hasNext()}} method can and will consume two 
> {{Unfiltered}} from the underlying iterator in some scenarios - intentionally.
> But in doing that it’s losing intermediate state of {{lastConsumedPosition}}. 
> If that last block, when iterating backwards, only has two {{Unfiltered}}, 
> the first one will be returned, and the last one won’t as the reverse 
> iterator would incorrectly things that the deserisalizer is past the index 
> block, despite still having one {{Unfiltered}} unreturned.



--
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-14766) DESC order reads can fail to return the last Unfiltered in the partition in a legacy sstable

2018-09-25 Thread Aleksey Yeschenko (JIRA)


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

Aleksey Yeschenko updated CASSANDRA-14766:
--
Summary: DESC order reads can fail to return the last Unfiltered in the 
partition in a legacy sstable  (was: TBD)

> DESC order reads can fail to return the last Unfiltered in the partition in a 
> legacy sstable
> 
>
> Key: CASSANDRA-14766
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14766
> Project: Cassandra
>  Issue Type: Bug
>  Components: Local Write-Read Paths
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Major
> Fix For: 3.0.x, 3.11.x
>
>




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