-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fernet-key-rotation-optimisation (#40786)
* Current implementation of Fernet key rotation implicitly executes `all()` method on the processed tables leading to loading all rows to memory. It's been observed that some users store additional data in `variable` table which is leading to memory issues during the operation. This change introduces batch processing of fernet key rotation to avoid it. To be consistent across the tables (`variable`, `connection`, `trigger`) the batching operation was added for all of them. --------- Co-authored-by: bjankiewicz <bjankiewicz@google.com>
- Loading branch information
Showing
1 changed file
with
46 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters