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)