Skip to content

Commit

Permalink
Update comment in src/catalog/tde_master_key.c
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Pogrebnoi <[email protected]>
  • Loading branch information
codeforall and dAdAbird authored Feb 26, 2024
1 parent 2a82f57 commit d49c679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/catalog/tde_master_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ set_master_key_with_keyring(const char *key_name, GenericKeyring *keyring)
errhint("Use rotate_key interface to change the master key")));
return NULL;
}
/* See of valid master key info exists */
/* Check if valid master key info exists in the file. There is no need for a lock here as the key might be in the file and not in the cache, but it must be in the file if it's in the cache and we check the cache under the lock later. */
masterKeyInfo = get_master_key_info();
if (masterKeyInfo)
{
Expand Down

0 comments on commit d49c679

Please sign in to comment.