forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
85957: externalconn: encrypt,decrpyt when creating KMS external connection r=benbardin a=adityamaru This patch does a couple of things: `CREATE EXTERNAL CONNECTION` for gcp KMS now recognizes the `gcp` scheme instead of the `gs` scheme. This is motivated by a future change where we will add support for google ExternalStorage which is also represented by the `gs` scheme today. Since we cannot have a collision of schemes and this is new functionality we are okay asking users to use `gcp` when referring to a KMS URI, and `gs` when referring to a storage URI. For uniformity, the existing raw URI google KMS will also start recognizing `gcp` in addition to the existing `gs` scheme. This patch also adds a step in the creation of a KMS external connection that encrypts and decrypts some sentinel content to validate that the resource is reachable and correctly configured. Release note (sql change): Google Cloud KMS will now accept the `gcp` scheme alongwith the existing `gs` scheme. External Connections will only recognize the `gcp` scheme when being created to represent a KMS resource. 85984: kvserver/batcheval: add `IdempotentTombstone` for `DeleteRange` r=ajwerner,nicktrav a=erikgrinaker This patch adds the parameter `IdempotentTombstone` for `DeleteRange`. When enabled, a `DeleteRange` request with `UseRangeTombstone` will first look for any point keys/tombstones in the span that aren't already covered by an MVCC range tombstone, and omit writing the tombstone if none are found. As a convenience, it considers empty spans equivalent to being covered by an MVCC range tombstone, so it will omit the write across an entirely empty span too. Resolves cockroachdb#85725. Release note: None Co-authored-by: Aditya Maru <[email protected]> Co-authored-by: Erik Grinaker <[email protected]>
- Loading branch information
Showing
30 changed files
with
593 additions
and
131 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
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
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
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
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
Oops, something went wrong.