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

Dmitriy Pavlov updated IGNITE-5589:
-----------------------------------
    Description: 
Placing WAL records into files in work directory (preallocated size; files with 
same name) was intitially done for perfomance reasons.

But for case there is no activity in the system there is no need to keep open 
segment in work directory. 
It is possible move data of this incomplete segment into archive.

Proposed change: wait some configurable time, e.g N minutes and move WAL 
segment to archive.

This operation should be done with appropriate lock held to avoid writting 
record to WAL segment which is being archived.

  was:
Placing WAL records into files in work directory (preallocated size; files with 
same name) was intitially done for perfomance reasons.

But for case there is no activity in the system there is no need to keep open 
segment in work directory. 
It is possible move data of this incomplete segment into archive.


> Archive WAL segment after significiant period of grid inactivity
> ----------------------------------------------------------------
>
>                 Key: IGNITE-5589
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5589
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Dmitriy Pavlov
>            Assignee: Dmitriy Pavlov
>
> Placing WAL records into files in work directory (preallocated size; files 
> with same name) was intitially done for perfomance reasons.
> But for case there is no activity in the system there is no need to keep open 
> segment in work directory. 
> It is possible move data of this incomplete segment into archive.
> Proposed change: wait some configurable time, e.g N minutes and move WAL 
> segment to archive.
> This operation should be done with appropriate lock held to avoid writting 
> record to WAL segment which is being archived.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to