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

2017-06-28 Thread Dmitriy Pavlov (JIRA)

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

Dmitriy Pavlov updated IGNITE-5589:
---
Component/s: persistence

> Archive WAL segment after significant period of grid inactivity
> ---
>
> Key: IGNITE-5589
> URL: https://issues.apache.org/jira/browse/IGNITE-5589
> Project: Ignite
>  Issue Type: Improvement
>  Components: persistence
>Reporter: Dmitriy Pavlov
>Assignee: Dmitriy Pavlov
> Fix For: 2.1
>
>
> 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)


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

2017-06-27 Thread Dmitriy Pavlov (JIRA)

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

Dmitriy Pavlov updated IGNITE-5589:
---
Summary: Archive WAL segment after significant period of grid inactivity  
(was: Archive WAL segment after significiant period of grid inactivity)

> Archive WAL segment after significant 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
> Fix For: 2.1
>
>
> 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)