...
To support multiple keys for reading encrypted data it is required to store key identifier on each encrypted page and on each encrypted WAL record. The key identifier is a sequential counter, and should be the same on all nodes.
Process applies only for OWNING/MOVING partitions that are not currently cleared.
Scan all pages from specified range (metapageid + [offset -> total])
...
Re-encryption progress is stored into metapage (int offset, int total), updates during checkpoint.
The process aborts for partition that is scheduled for evicting/clearing during re-encryption.
Old group key will be removed when
...