You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2017/06/26 12:32:00 UTC

[jira] [Updated] (IGNITE-5589) Archive WAL segment after significiant period of grid inactivity

     [ 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)