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
107415: roachprod: add GCE DNS Provider r=renatolabs a=herkolategan Previously on PR cockroachdb#106497 an interface for DNS record management to extend provider capabilities was introduced, as well as a local cluster only implementation of that interface, to support port management of tenants in the form of services. This change adds a Google Cloud DNS implementation for the GCE Provider utilising the same interface as mentioned above, to enable cloud clusters to also utilise port management for tenants. It uses the commands available on the `gcloud dns cli` to perform DNS operations required to register cockroach services. All operational commands run through `gcloud` except for `LookupSRVRecords` which relies on the standard `net` package. `roachprod` operations are likely to invoke the lookup call frequently thus using the standard net lookup yields better performance than going through the `cli`. There is a small delay between management operations completing and the records becoming available through standard lookup methods. A wait function is provided to ensure all the records are available through a standard net lookup after a create operation. This implementation opted for the non-transactional gcloud dns cli. The transaction operations are not allowed to overlap even if managing separate records. A transaction will result in a "preconditions not met" error if any other transaction completed on the same zone while this one is still in flight. Due to the fact that `roachprod` can be used from various places concurrently it's best to avoid this. Epic: [CRDB-18499](https://cockroachlabs.atlassian.net/browse/CRDB-18499) Release note: None 109844: sql: fix system database survival on create or drop database r=JeffSwenson a=JeffSwenson Run the system database region survival promotion/demotion logic when creating or dropping databases. This fixes a bug where creating a database that survives region failures would not promote the system database to survive region. This logic is temporary and should be removed once RFC cockroachdb#109843 allows us to configure the system database as a mix of survive zone and survive region. Fixes: cockroachdb#109843 110527: build: upgrade cockroachdb/apd to v3.2.1 r=miretskiy a=otan Release note (general change, bug fix): Fixed a bug where, internally, if we print a 0 decimal with a very low exponent we use excessive memory. This is not possible through using the decimal type, but may be possible through crdb_internal functions. Epic: none Co-authored-by: Herko Lategan <[email protected]> Co-authored-by: Jeff <[email protected]> Co-authored-by: Oliver Tan <[email protected]>
- Loading branch information
Showing
29 changed files
with
418 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1496,10 +1496,10 @@ def go_deps(): | |
name = "com_github_cockroachdb_apd_v3", | ||
build_file_proto_mode = "disable_global", | ||
importpath = "github.com/cockroachdb/apd/v3", | ||
sha256 = "c1282ae1d20d7657662b315db68e370a210c511080368cd4490946d44c4c68b1", | ||
strip_prefix = "github.com/cockroachdb/apd/[email protected].0", | ||
sha256 = "6ad54bb71a36fba8ca6725a00d916e51815a4c68de54096313ca6fffda6c87c2", | ||
strip_prefix = "github.com/cockroachdb/apd/[email protected].1", | ||
urls = [ | ||
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/apd/v3/com_github_cockroachdb_apd_v3-v3.2.0.zip", | ||
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/apd/v3/com_github_cockroachdb_apd_v3-v3.2.1.zip", | ||
], | ||
) | ||
go_repository( | ||
|
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
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.