Ivan Bessonov created IGNITE-26295:
--------------------------------------
Summary: Implement GC for log storage
Key: IGNITE-26295
URL: https://issues.apache.org/jira/browse/IGNITE-26295
Project: Ignite
Issue Type: Improvement
Reporter: Ivan Bessonov
This is the part where we integrate
https://issues.apache.org/jira/browse/IGNITE-26294 into the log storage. We
introduce a dedicated thread that monitors the log size. When soft limit is
exceeded, we do the following:
* We choose the segment to compact.
** Different strategies can be discussed, because "oldest" segment might have
been recently compacted already and we must also consider segments after it.
Tests will show week spots of each potential approach.
* We compact it.
* We repeat until we're below soft limit, remembering what we did last time.
There should be an extensive testing of this part.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)