Ata E Husain Bohra a7d123643d
Extend Tlog persistentStorage to persist encryption state (#8344)
* Extend Tlog persistentStorage to persist encryption state

Description

 diff-3: Address review comment.
 diff-2: Extend ClusterController endpoints to allow query
         cluster's encryptionAtRest status
         Update Tlog recovery to ensure on-disk encryption
         status matches with cluster's cstate persisted
         encryptionAtRest
 diff-1: Store encryptionAtRestMode state in Coordinators

Major changes proposed are:
1. Extend TLog persistentStorage to persist encryption state
2. Encryption state persisted is derived from corresponding
db-config and relevant SERVER_KNOBS. In near future, knobs
shall be removed.
3. On TLog startup, the persisted encryption state is compared
against cluster configuration, if mismatch, the TLog is killed
and not allowed to rejoin the cluster.

Testing

devRunCorrectness - 100K
2022-11-03 11:16:50 -07:00
..
2022-10-05 11:39:58 -06:00
2022-08-31 14:39:14 -07:00
2022-06-02 13:22:50 +02:00
2022-10-05 07:48:34 -06:00
2022-04-11 09:17:10 -06:00
2022-10-13 13:21:45 -07:00
2022-03-21 13:36:23 -07:00
2022-03-21 13:36:23 -07:00
2022-03-21 13:36:23 -07:00
2022-09-15 09:00:33 -07:00
2022-03-21 13:36:23 -07:00