Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: fixed some typo errors in docs (#806)
0xflotus4be063f560b1
diff --git a/docs/code-review-guide.md b/docs/code-review-guide.mdindex 59506d6e16..e29a0bebdd 100644--- a/docs/code-review-guide.md+++ b/docs/code-review-guide.md@@ -8,7 +8,7 @@ Please read and follow [Google's Code Review Guideline](https://google.github.io- Because it's an open-source project with developers coming from different timezones, we recommend asynchronous communication between reviewers and authors except for emergency such as change rollback or high-priority bug fixes. Each side should expect responses for up to one business day.- However, if the reviewer doesn't respond in a business day, it's OK to ping the other side by commenting again on the PR, IM messaging, or offline chats. If there is a back and forth discussion on the same topic or you would think so, it will be more efficient to discuss offline.-- Each side should make very explicit comments to indicate whether the other side can take the turn, e.g. when all previous review comments are addressed, author should leave a PTAL comment and ask reviwer to review again.+- Each side should make very explicit comments to indicate whether the other side can take the turn, e.g. when all previous review comments are addressed, author should leave a PTAL comment and ask reviewer to review again.### For reviewersdiff --git a/docs/commit-guide.md b/docs/commit-guide.mdindex 54c6a14a27..bcd4c7976e 100644--- a/docs/commit-guide.md+++ b/docs/commit-guide.md@@ -139,7 +139,7 @@ test: test some case### perf-Used for some preformance improvements.+Used for some performance improvements.```bashperf: reduce the api requests when page loadingdiff --git a/docs/design/tenancy.md b/docs/design/tenancy.mdindex e0dbfc991d..311059777d 100644--- a/docs/design/tenancy.md+++ b/docs/design/tenancy.md@@ -3,7 +3,7 @@2021.11.30## Terminology-**Multi-tenancy v.s. Muti-single-tenancy**: multi-single-tenancy is an architecture where a single instance of the software and supporting infrastructure serve a single customer. Multi-tenant is an architecture where a single instance of the software and its supporting infrastructure serves multiple customers. Each customer shares the software application and also shares a single database. Each tenant’s data is isolated and remains invisible to other tenants.+**Multi-tenancy v.s. Multi-single-tenancy**: multi-single-tenancy is an architecture where a single instance of the software and supporting infrastructure serve a single customer. Multi-tenant is an architecture where a single instance of the software and its supporting infrastructure serves multiple customers. Each customer shares the software application and also shares a single database. Each tenant’s data is isolated and remains invisible to other tenants.**Database Instance v.s. Database**: an instance is an installation of the database server executable which runs as an operating system service. A database is a systematic collection of data that stores data in tables. A database instance operates one or more databases.@@ -37,7 +37,7 @@ More specifically, labels will enable the following support:- Filter and group by tenants at project database overview page, e.g. 1) first filter by 'environment:prod' then group by 'region', 2) group by 'environment' then 'company' in two dimensions.- Deploy to multiple tenants at the same time. We can introduce a concept called **deployment configuration** to specify stages and ordering, e.g. 'environment:canary' should come before 'environment:prod'. Details are in a later section.-We call it a [label](https://dictionary.cambridge.org/dictionary/english/label) instead of a [tag](https://dictionary.cambridge.org/dictionary/english/tag) because labels are structured descriptions (key:value with predefined keys) of resources. [AWS](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) and [Azure](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources?tabs=json) name it tags for cloud resources. [GCP](https://cloud.google.com/compute/docs/labeling-resources) and [Kubernetes](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) name it labels for resources. We'd like to be close to Kubernates style as we're both in the devops category.+We call it a [label](https://dictionary.cambridge.org/dictionary/english/label) instead of a [tag](https://dictionary.cambridge.org/dictionary/english/tag) because labels are structured descriptions (key:value with predefined keys) of resources. [AWS](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) and [Azure](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources?tabs=json) name it tags for cloud resources. [GCP](https://cloud.google.com/compute/docs/labeling-resources) and [Kubernetes](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) name it labels for resources. We'd like to be close to Kubernetes style as we're both in the devops category.### Tenant Mode Project SettingWe'll introduce a project level setting called **Tenant Mode**. When enabled, all the deployments will use tenant deployment described below. Any newly created databases or databases transferred over should have labels attached. The project overview page will look differently in the tenant view.@@ -331,9 +331,9 @@ We have some reserved/built-in keys to simplify the onboarding and be consistent| -------------- | ------------------------------------------------------------------ || bb.location | The location of a database such as region, zone, datacenter names. || bb.tenant | The tenant name of a customer. |-| bb.environment | The environment name mappped from instance environment. |+| bb.environment | The environment name mapped from instance environment. |-Note, bb.environemnt labels are reserved labels mapped from database instances' environments. This label is immutable and always returned from database label listing. It must be present and its value must match exactly with instance environment on setting the database labels. Since tenants are identified by labels in the deployment config, we need an environment labels to identify tenants from different environment in a schema update deployment. If we expose the environment label concept in the deployment config, it should look consistent in the label API.+Note, bb.environment labels are reserved labels mapped from database instances' environments. This label is immutable and always returned from database label listing. It must be present and its value must match exactly with instance environment on setting the database labels. Since tenants are identified by labels in the deployment config, we need an environment labels to identify tenants from different environment in a schema update deployment. If we expose the environment label concept in the deployment config, it should look consistent in the label API.### Octopus Tenant SaaS Deploymentdiff --git a/docs/version-management.md b/docs/version-management.mdindex 804b6ecd6a..fcd7eda16b 100644--- a/docs/version-management.md+++ b/docs/version-management.md@@ -14,9 +14,9 @@ For Bytebase, MINOR and PATCH version upgrade should be transparent to the custo1. Significant product upgrade.1. Require customer to use a separate method to upgrade the deployed Bytebase version.-MAJOR verison change usually happens at most once or twice a year. And if we do, Bytebase will always accomplish the 1st point (delivering great value to the customers) while try to avoid the 2nd point (disrupting the customer).+MAJOR version change usually happens at most once or twice a year. And if we do, Bytebase will always accomplish the 1st point (delivering great value to the customers) while try to avoid the 2nd point (disrupting the customer).-## When MINOR verison is changed+## When MINOR version is changedWe change MINOR version if the new version upgrades the underlying database schema. While the upgrade does not require customer involvement.