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

Swaminathan Balachandran updated HDDS-13127:
--------------------------------------------
    Description: 
With HDDS-12779

Table Spliterator would split the table itertion into multiple smaller 
iterators. Even though this would improve throughput but the consistency would 
be questionable as all of these iterators are going to work on different views 
of the table independently. This can be fixed if a snapshot of the table is 
taken before hand and all the iterators get initialized based on the Snapshot.

Here snapshot referred is the rocksdb snapshot not to be confused with the 
rocksdb checkpoint. Rocksdb snapshots just holds on to an in memory sequence 
number based on which the table iteration skips entries which are greater than 
the given snapshot's sequence number.

  was:
With HDDS-12779

Table Spliterator would split the table itertion into multiple smaller 
iterators. Even though this would improve throughput but the consistency would 
be questionable as all of these iterators are going to work on different views 
of the table independently. This can be fixed if a snapshot of the table is 
taken before hand and all the iterators get initialized based on the Snapshot.


> Fix Table Spliterator consistency by iterating on RocksDB Snapshot
> ------------------------------------------------------------------
>
>                 Key: HDDS-13127
>                 URL: https://issues.apache.org/jira/browse/HDDS-13127
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Swaminathan Balachandran
>            Assignee: Swaminathan Balachandran
>            Priority: Major
>
> With HDDS-12779
> Table Spliterator would split the table itertion into multiple smaller 
> iterators. Even though this would improve throughput but the consistency 
> would be questionable as all of these iterators are going to work on 
> different views of the table independently. This can be fixed if a snapshot 
> of the table is taken before hand and all the iterators get initialized based 
> on the Snapshot.
> Here snapshot referred is the rocksdb snapshot not to be confused with the 
> rocksdb checkpoint. Rocksdb snapshots just holds on to an in memory sequence 
> number based on which the table iteration skips entries which are greater 
> than the given snapshot's sequence number.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to