Ivan Bessonov created IGNITE-26297:
--------------------------------------
Summary: Implement segment files pre-allocator
Key: IGNITE-26297
URL: https://issues.apache.org/jira/browse/IGNITE-26297
Project: Ignite
Issue Type: Improvement
Reporter: Ivan Bessonov
We can enrich the GC thread with the ability to allocate segment files in
advance. The number of files will be configurable.
It's convenient to do that in GC thread because it monitors real log size and
is always aware of the amount of free space.
We should force GC thread to check for the necessity of pre-allocations every
50ms, for example. On idle thread it can be a simple "{{{}wait(50){}}}" in a
loop, on not-idle thread we can periodically call the callback that would maybe
pre-allocate new file.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)