Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Local partition re-encryption strategy is similar to partition snapshotting - create partition snapshot re- encrypted with the new key and then swap the original partition file with the new one.

...

While updates are blocked each local node:

  1. Forces the checkpoint (required for WAL consistency?)
  2. Swap all partition files:
    1. Backup original file.
    2. Move re-encrypted file at to the place of the original one.
  3. Change encryption key(s) in metastore (update encryption keys history).
  4. Remove partition backups (2a).

...