Skip to content

Commit b085837

Browse files
committed
docs: remove deployment config and multi tenancy
1 parent b830a37 commit b085837

File tree

6 files changed

+8
-62
lines changed

6 files changed

+8
-62
lines changed

content/changelog/bytebase-3-5-0.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,22 @@ description: 'Azure IAM Auth for Cosmos DB & Azure SQL'
1212

1313
## 🔔 Breaking Changes
1414

15-
- Deprecated [slow query feature](https://www.bytebase.com/docs/slow-query).
16-
- To simplify the deployment process, the [custom deployment configuration feature](https://www.bytebase.com/docs/change-database/batch-change/#deployment-config) has been removed. Deployments will now follow the straightforward order of your defined environments. For canary deployments, create a separate `canary` environment. Then, point your database environment to this canary environment.
17-
- Deprecated [multitenancy feature](https://www.bytebase.com/docs/change-database/batch-change/#multitenancy).
15+
- Deprecated slow query feature.
16+
- To simplify the deployment process, the custom deployment configuration feature has been removed. Deployments will now follow the straightforward order of your defined environments. For canary deployments, create a separate `canary` environment. Then, point your database environment to this canary environment.
17+
- Deprecated multitenancy feature.
1818
- Deprecated [built-in GitOps feature](https://www.bytebase.com/docs/vcs-integration/overview/#legacy-gitops), now you can use [GitOps in a new way](https://www.bytebase.com/docs/tutorials/gitops-github-workflow/).
1919
- API support pagination and filter.
20+
2021
- ListProjects support `page_size` and `page_token`. [Doc](https://api.bytebase.com/#tag/projectservice/GET/v1/projects)
2122
- SearchProjects support filter by `name` and `resource_id`. [Doc](https://api.bytebase.com/#tag/projectservice/POST/v1/projects:search)
2223
- ListDatabases support filter by `environment/project/instance/name/engine/label/exclude_unassigned`. [Doc](https://api.bytebase.com/#tag/databaseservice/GET/v1/instances/{instance}/databases)
2324
- ListUsers support filter by `name/email/user_type/state`. [Doc](https://api.bytebase.com/#tag/userservice/GET/v1/users)
2425

2526
These API changes bring huge UI change and influence many features:
2627

27-
- Will NOT list all projects anymore, users must fetch projects per page, or search projects by name/resource id. (For the project table & selector)
28-
- Will NOT list all databases anymore, users must fetch databases per page, or search databases by filter. (Almost all features are affected as long as it's using the database, for example, issue, release, rollout, database group, masking, SQL editor)
29-
- Will NOT list all users anymore, users must fetch users per page, or search users by name/email. (Many features are affected as long as it's using the user, for example, issue, release, group, member/IAM)
28+
- Will NOT list all projects anymore, users must fetch projects per page, or search projects by name/resource id. (For the project table & selector)
29+
- Will NOT list all databases anymore, users must fetch databases per page, or search databases by filter. (Almost all features are affected as long as it's using the database, for example, issue, release, rollout, database group, masking, SQL editor)
30+
- Will NOT list all users anymore, users must fetch users per page, or search users by name/email. (Many features are affected as long as it's using the user, for example, issue, release, group, member/IAM)
3031

3132
## 🚀 New Features
3233

content/docs/change-database/batch-change.md

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ If you always change a fixed set of databases together, you can pre-define a `da
3333

3434
![bb-project-groups-create](/content/docs/change-database/batch-change/bb-project-groups-create.webp)
3535

36-
1. Fill in the name and rules for filtering the desired databases. You can enable [Multitenancy](#multitenancy) to enforce extra schema consistency.
36+
1. Fill in the name and rules for filtering the desired databases.
3737

3838
![bb-new-db-group-with-raw](/content/docs/change-database/batch-change/bb-new-db-group-with-raw.webp)
3939

@@ -55,58 +55,3 @@ If you always change a fixed set of databases together, you can pre-define a `da
5555
1. An issue with the selected databases will be previewed. Add the SQL in the text field and click **Create**. The issue is created and waiting for approval.
5656

5757
![bb-issue-batch-created](/content/docs/change-database/batch-change/bb-issue-batch-created.webp)
58-
59-
### Multitenancy
60-
61-
<HintBlock type="warning">
62-
63-
This feature is deprecated since 3.5.0.
64-
65-
</HintBlock>
66-
67-
<HintBlock type="info">
68-
69-
Only applicable if the new database is created via Bytebase.
70-
71-
</HintBlock>
72-
73-
If the database group enables `Multitenancy`, Bytebase will enforce extra schema consistencies:
74-
75-
- If a new database is added to the database group, the new database will be applied with the schema from the first database in the database group.
76-
77-
- Further, if the new database is created via Bytebase when there is an ongoing change to the database group. The new database will be added to the change issue automatically.
78-
79-
The example below shows we are adding `hr_prod_7` to the existing `hr_prod` database group. And there is an ongoing change
80-
to the `hr_prod` group.
81-
82-
![bb-db-7](/content/docs/change-database/batch-change/bb-db-add-7.webp)
83-
84-
Bytebase appends `hr_prod_7` to the change as well.
85-
86-
![bb-issue-add-7](/content/docs/change-database/batch-change/bb-issue-add-7.webp)
87-
88-
## Deployment Config
89-
90-
<HintBlock type="warning">
91-
92-
This feature is deprecated since 3.5.0.
93-
94-
</HintBlock>
95-
96-
`Deployment Config` determines how databases or database groups are deployed in order.
97-
98-
![deployment-config](/content/docs/change-database/batch-change/deployment-config.webp)
99-
100-
The above screenshot defines a 3 staged rollout:
101-
102-
1. 1st stage roll outs the prod databases from Asia.
103-
1. 2nd stage roll outs the prod databases from Europe.
104-
1. 3rd stage roll outs the prod databases from North America.
105-
106-
![staged-rollout](/content/docs/change-database/batch-change/staged-rollout.webp)
107-
108-
If **all changed databases** are included by the deployment config, Bytebase will roll out them in order
109-
according to the defined deployment config.
110-
111-
If only some of the changed databases are included by the deployment config, Bytebase will not follow the deployment config.
112-
Instead Bytebase will roll out them according to their corresponding environments.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)