-
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.
sql: copy
system.tenants
separately to control the copied names
When we start the `TenantTwo` we want it to have `system` as its name from the very beginning. To achieve this, instead of rewriting keys we use KVWriter. `TenantTwo`'s name would become `system`, and `TenantOne`'s name would be whatever is passed to `create_tenant` command (ideally, `main`). Note, we are chaning this value for `TenantTwo`'s `tenants` table, not for the `TenantOne`'s system table.
- Loading branch information
1 parent
b0a3235
commit b1fe111
Showing
1 changed file
with
105 additions
and
0 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