ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Gura (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-9903) Copy only actual amount of data during archiving of WAL segment
Date Tue, 16 Oct 2018 15:36:00 GMT
Andrey Gura created IGNITE-9903:
-----------------------------------

             Summary: 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: Andrey Gura
             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