-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server: extract tenant-independent logic out of SQLServer
#92579
Merged
Conversation
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
knz
changed the title
server: pull
server: extract tenant-independent logic out of Nov 28, 2022
isReady.Set(true)
out of AcceptClients
SQLServer
knz
requested review from
a team,
herkolategan and
smg260
and removed request for
a team
November 28, 2022 15:43
10 tasks
knz
force-pushed
the
20221116-shared-sql-6
branch
from
November 28, 2022 16:41
350d669
to
7437311
Compare
3 tasks
knz
force-pushed
the
20221116-shared-sql-5
branch
from
November 28, 2022 17:09
dc8435b
to
4397cd1
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
November 28, 2022 17:14
7437311
to
d2ea8ad
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
from
November 28, 2022 18:27
4397cd1
to
aeb0708
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
November 28, 2022 18:28
d2ea8ad
to
6f7b42b
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
from
November 29, 2022 14:59
aeb0708
to
c59bcb5
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
November 29, 2022 14:59
6f7b42b
to
a8ba3a0
Compare
rafiss
approved these changes
Nov 29, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @herkolategan, @knz, and @smg260)
-- commits
line 7 at r3:
should it be "into AcceptClients
"?
knz
force-pushed
the
20221116-shared-sql-5
branch
2 times, most recently
from
December 6, 2022 12:51
295b2f7
to
1a3152c
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
December 19, 2022 08:56
bcef09b
to
0ccd0a6
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
2 times, most recently
from
December 22, 2022 14:07
5fe29d9
to
4af36de
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
December 22, 2022 14:07
0ccd0a6
to
aa0564b
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
from
December 22, 2022 19:10
4af36de
to
15640cc
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
December 22, 2022 19:10
aa0564b
to
8b03180
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
from
January 6, 2023 16:45
15640cc
to
658b7d1
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
January 6, 2023 16:49
8b03180
to
e560177
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
from
January 6, 2023 19:40
658b7d1
to
52c01a7
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
January 6, 2023 19:48
e560177
to
029777a
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
from
January 6, 2023 20:00
52c01a7
to
a56b893
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
January 6, 2023 20:00
029777a
to
101dc1f
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
from
January 8, 2023 18:31
a56b893
to
1520ea3
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
January 8, 2023 18:31
101dc1f
to
b36c468
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
from
January 8, 2023 19:44
1520ea3
to
e6ce8ff
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
January 8, 2023 19:44
b36c468
to
3daabd8
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
from
January 8, 2023 19:52
e6ce8ff
to
d6d8f1a
Compare
knz
force-pushed
the
20221116-shared-sql-6
branch
from
January 8, 2023 19:52
3daabd8
to
b4c6bf4
Compare
knz
force-pushed
the
20221116-shared-sql-5
branch
from
January 8, 2023 22:18
d6d8f1a
to
7eb7663
Compare
Release note: None
Release note: None
Release note: None
Release note: None
Release note: None
knz
force-pushed
the
20221116-shared-sql-6
branch
from
January 8, 2023 22:18
b4c6bf4
to
e5e3f31
Compare
9 tasks
craig bot
pushed a commit
that referenced
this pull request
Jan 9, 2023
92580: server,pgwire: use a single SQL listener for multiple tenants r=rafiss a=knz Parent PRs: - [x] #84608 - [x] #91739 - [x] #91744 - [x] #92574 - [x] #92575 - [x] #92576 - [x] #92577 - [x] #92578 - [x] #92579 - [ ] #94901 Fixes #84585. Informs #94310. Epic: CRDB-14537 This commit implements tenant routing using a single SQL network listener. The tenant name can be specified: - via the client status param `options`, e.g. `options=-ccrdb:tenant=hello` - via the database name, e.g. `crdb:tenant-hello.defaultdb`. Release note (backward-incompatible change): If a SQL database is created with a name that starts with `crdb:tenant-` (e.g. `CREATE DATABASE "crdb:tenant-foo"`, clients will no longer be able to connect to it directly. Co-authored-by: Raphael 'kena' Poss <knz@thaumogen.net>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Parent PRs:
This PR extracts the tenant-independent logic in the
server
package out ofSQLServer
.Epic: CRDB-14537