Anton Vinogradov created IGNITE-29384:
-----------------------------------------

             Summary: Remove the unused WAL records of B+tree page split, merge 
and inner replace
                 Key: IGNITE-29384
                 URL: https://issues.apache.org/jira/browse/IGNITE-29384
             Project: Ignite
          Issue Type: Task
            Reporter: Anton Vinogradov


{{SplitForwardPageRecord}}, {{MergeRecord}} and {{InnerReplaceRecord}} cannot 
be created: their constructors throw an exception. For page split, merge and 
inner replace, {{BPlusTree}} logs a full page image instead. So no WAL holds 
the record types {{BTREE_FORWARD_PAGE_SPLIT}}, {{BTREE_PAGE_MERGE}} and 
{{BTREE_PAGE_INNER_REPLACE}}, but {{RecordDataV1Serializer}} still has code to 
write and read them.

Remove the three classes and their code in {{RecordDataV1Serializer}}. Keep the 
record types in {{RecordType}} and mark them as deprecated, like the removed 
MVCC types. The reader then rejects these types like other removed types.

{{WalRecordSerializationCompatibilityTest}} (IGNITE-29339) keeps these types in 
{{NOT_WRITTEN}}: released versions still have the classes. If that test is 
merged first, update the comment of {{NOT_WRITTEN}} in the same change.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to