[ https://issues.apache.org/jira/browse/IGNITE-8685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502990#comment-16502990 ]
Alexey Goncharuk edited comment on IGNITE-8685 at 6/6/18 8:33 AM: ------------------------------------------------------------------ [~DmitriyGovorukhin], please add a comment on why switch segment record should be of specific size. Also, should we add a unit-test for serializer and check that switch segment is 1 byte exactly? If you think it makes sense, please create a separate ticket. Other changes look good to me. was (Author: agoncharuk): [~DmitriyGovorukhin], please add a comment on why switch segment record should be of specific size. Also, should we add a unit-test for serializer and check that switch segment is 1 byte exactly? If you think it makes sense, please create a separate ticket. > Incorrect size for switch segment record > ----------------------------------------- > > Key: IGNITE-8685 > URL: https://issues.apache.org/jira/browse/IGNITE-8685 > Project: Ignite > Issue Type: Bug > Reporter: Dmitriy Govorukhin > Assignee: Dmitriy Govorukhin > Priority: Critical > Fix For: 2.6 > > > We have invariant that switch segment record should have the size of one byte. > Although, in the current implementation, size calculation with overhard for > storing CRC and WAL pointer. > In current implementation, we can suddenly stop WAL iteration which may > result in random data store corruptions or missing updates on node recovery. -- This message was sent by Atlassian JIRA (v7.6.3#76005)