You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Stelmak (JIRA)" <ji...@apache.org> on 2018/10/29 12:00:00 UTC

[jira] [Commented] (IGNITE-9903) Copy only actual amount of data during archiving of WAL segment

    [ https://issues.apache.org/jira/browse/IGNITE-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16667075#comment-16667075 ] 

Alexey Stelmak commented on IGNITE-9903:
----------------------------------------

https://github.com/apache/ignite/pull/5194

> Copy only actual amount of data during archiving of WAL segment
> ---------------------------------------------------------------
>
>                 Key: IGNITE-9903
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9903
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Andrey Gura
>            Assignee: Alexey Stelmak
>            Priority: Major
>             Fix For: 2.8
>
>
> Current WAL archiver implementation copies full WAL segment to the archive while actual size of the segment can be significantly less then {{maxWalSegmentSize}} (segment files are preallocated for max possible segment size). 
> In order to reduce disk space consuming we need copy only actual data of segment using {{SWITCH_SEGMENT_RECORD}} as marker. It will require some kind of WAL iterator implementation that will just copy WAL records using information about record size without records deserialization.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)