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

Vladislav Pyatkov updated IGNITE-16444:
---------------------------------------
    Description: 
The protocol of the storage requires determining the earliest revision 
(_RocksDbKeyValueStorage#earliestRev_), but current implementation of the 
compact method does not allow defining it. Because after the compact is 
invoked, it removes all value old values.


  was:
Metastorage has a method _KeyValueStorage#compact_ for removing absolute 
history. But today the compaction leads to holes in Metastorage history. It 
makes impossible to seek the earliest revision value 
_RocksDbKeyValueStorage#earliestRev_.
The mechanism requires of correction that the history has no holes after 
compaction.
Also, the logic for updating the earliest revision value should be implemented.


> The Compact method is not math to protocol of RocksDbKeyValueStorage
> --------------------------------------------------------------------
>
>                 Key: IGNITE-16444
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16444
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>
> The protocol of the storage requires determining the earliest revision 
> (_RocksDbKeyValueStorage#earliestRev_), but current implementation of the 
> compact method does not allow defining it. Because after the compact is 
> invoked, it removes all value old values.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to