-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
35126: sql: don't double call ConsumerClosed in wrapped local plans r=jordanlewis a=jordanlewis Previously, if someone double-closed a planNode tree containing a wrapped distsql plan, that might double close a RowChannel, which is illegal. Add a protection against that. Release note: None 35234: ccl: debug encryption-active-key command to show active store key ID. r=mberhault a=mberhault Given a data directory, this displays the active store key ID and encryption algorithm in use. Unlike `debug encryption-status`, this command does not open the rocksdb instance and therefore does not require knowing the encryption key. This makes it useful to determine the encryption status with zero knowledge. Sample outputs: ``` $ cockroach debug encryption-active-key foobar Error: data directory foobar does not exist: stat foobar: no such file or directory Failed running "debug encryption-active-key" $ cockroach debug encryption-active-key cockroach-noencryption/ Plaintext: $ cockroach debug encryption-active-key cockroach-plain/ Plaintext: $ cockroach debug encryption-active-key cockroach-data AES128_CTR:be235c29239aa84a48e5e1874d76aebf7fb3c1bdc438cec2eb98de82f06a57a0 ``` Release note (enterprise change): add debug encryption-active-key command Co-authored-by: Jordan Lewis <jordanthelewis@gmail.com> Co-authored-by: marc <marc@cockroachlabs.com>
- Loading branch information
Showing
2 changed files
with
85 additions
and
5 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
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