...
Reencryption status requires an additional 8 bytes on the meta page of each partition.
Index partition uses PageMetaIO to read/write meta information (page type T_META).
Each other partition uses PagePartitionMetaIO to read/write meta information (page type T_PART_META).
Partition meta starts just after the end of the page meta.
draw.io Diagram | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
To store an additional 8 bytes partition meta shifted by 8 bytes.
We storing additional 8 bytes at the end of each T_META and T_PART_META memory pages.
To support backward compatibility and keep code clean we converting each T_META page into a new type T_INDEX_META and processing it using new PageIndexMetaIO which extends PaeMetaIO.
// TBD image draw.io Diagram
WAL delta records have also been modified to store re-encryption status.
...