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

Sergey Uttsel updated IGNITE-19782:
-----------------------------------
    Description: 
h3. *Motivation*

Implementations of some methods in RocksDbKeyValueStorage have a revision as a 
parameter. For example, methods doGet, doGetAll and other. Need to check that 
this revision is not compacted and throw exception if the revision is lower. 
For this purpose need to know the last compacted revision.
h3. *Definition of Done*
 # Throw CompactedException if the revision in KeyValueStorage methods is lower 
than the compaction revision.

  was:
h3. *Motivation*

Implementations of some methods in RocksDbKeyValueStorage have a revision as a 
parameter. For example, methods doGet, doGetAll and other. Need to check that 
this revision is not compacted and throw exception if the revision is lower. 
For this purpose need to know the last compacted revision.
h3. *Definition of Done*
 # Created a method for obtaining the compaction revision.
 # Added assert that the revision in KeyValueStorage methods is higher than the 
compaction revision.


> Create an ability to obtain the compaction revision
> ---------------------------------------------------
>
>                 Key: IGNITE-19782
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19782
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Sergey Uttsel
>            Priority: Major
>              Labels: ignite-3
>
> h3. *Motivation*
> Implementations of some methods in RocksDbKeyValueStorage have a revision as 
> a parameter. For example, methods doGet, doGetAll and other. Need to check 
> that this revision is not compacted and throw exception if the revision is 
> lower. For this purpose need to know the last compacted revision.
> h3. *Definition of Done*
>  # Throw CompactedException if the revision in KeyValueStorage methods is 
> lower than the compaction revision.



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

Reply via email to