ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Rakov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-9903) Copy only actual amount of data during archiving of WAL segment
Date Wed, 31 Oct 2018 11:14:00 GMT

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

Ivan Rakov commented on IGNITE-9903:
------------------------------------

[~agura], please review.

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

Mime
View raw message