-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
89442: build: delete `vendor` submodule r=knz,dt a=rickystewart The `vendor` submodule is not really necessary for anything any more. For the Bazel build, we have mirrored all of our dependencies, so vendoring provides no additional value. `go` tooling is also generally happy to point to the module cache for e.g. go-to-definition. Dealing with the submodule is a pain, so it behooves us to get rid of it. For `make` builds, the `vendor` directory will be synthesized automatically. It is now a `gitignore`'d directory. You can also still `make vendor_rebuild` if you want to force synthesizing the directory. Tooling can be updated to just not use `-mod=vendor` and the `go` module cache should be used in its place transparently. Epic: None Release note: None 92694: server, ui: add multitenant login/logout and tenant dropdown r=Santamaura a=Santamaura ui, server: add multitenant login/logout and tenant dropdown This patch enables login/logout for all tenants on the cluster by fanning out the incoming requests to each tenant server. Multitenant login introduces a new multitenant session cookie with the format as <session>,<tenant_name,<session2>,<tenant_name2> etc. The admin ui displays a dropdown with a list of tenants the user has successfully logged in to. Selecting a different tenant sets the tenant cookie to the selected tenant name and reloads the page. If the cluster is not multitenant, the dropdown will not display. Release note (ui change): added a top-level dropdown on the admin ui which lists tenants the user has logged in to. If not multitenant, the dropdown is not displayed. Epic: https://cockroachlabs.atlassian.net/browse/CRDB-14546 93487: upgrades: fix upgrade to add statement_diagnostics_requests.completed… r=ajwerner a=ajwerner …_idx The migration used a different column ordering than the descriptor in the bootstrap schema. The value in the bootstrap schema is the value used to determine whether the migration succeeded successfully. In general, you can hit this bug if you upgrade from 22.1->22.2 and then you create the index with the migration but crash before the index is fully created. In that case, the code will think that it's the wrong index. This should be rare, but would be problematic. Now we've made them match. This change also augments the roachtest which checks that the system schema looks correct to check on what happens when you upgrade from a previous snapshot. That matters here because the migration in question still exists on master, and is not idempotent. We should have found that, but didn't because we need multiple steps in the upgrade. We can get that pretty cheaply. Fixes #93133 Release note (bug fix): Fixed a rare bug which could cause upgrades from 22.1 to 22.2 to fail if the job coordinator node crashes in the middle of a specific upgrade migration. Co-authored-by: Ricky Stewart <rickybstewart@gmail.com> Co-authored-by: Santamaura <alexsantamaura@gmail.com> Co-authored-by: Andrew Werner <awerner32@gmail.com>
- Loading branch information
Showing
30 changed files
with
781 additions
and
295 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
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.