[opt](docs) Optimize docs to avoid user set wrong replication_allocation (#22767)
This commit is contained in:
@ -159,8 +159,8 @@ ALTER TABLE example_db.mysql_table MODIFY ENGINE TO odbc PROPERTIES("driver" = "
|
||||
```sql
|
||||
ALTER TABLE example_db.mysql_table SET ("replication_num" = "2");
|
||||
ALTER TABLE example_db.mysql_table SET ("default.replication_num" = "2");
|
||||
ALTER TABLE example_db.mysql_table SET ("replication_allocation" = "tag.location.tag1: 1");
|
||||
ALTER TABLE example_db.mysql_table SET ("default.replication_allocation" = "tag.location.tag1: 1");
|
||||
ALTER TABLE example_db.mysql_table SET ("replication_allocation" = "tag.location.default: 1");
|
||||
ALTER TABLE example_db.mysql_table SET ("default.replication_allocation" = "tag.location.default: 1");
|
||||
````
|
||||
|
||||
Note:
|
||||
|
||||
@ -153,8 +153,8 @@ ALTER TABLE example_db.mysql_table MODIFY ENGINE TO odbc PROPERTIES("driver" = "
|
||||
```sql
|
||||
ALTER TABLE example_db.mysql_table SET ("replication_num" = "2");
|
||||
ALTER TABLE example_db.mysql_table SET ("default.replication_num" = "2");
|
||||
ALTER TABLE example_db.mysql_table SET ("replication_allocation" = "tag.location.tag1: 1");
|
||||
ALTER TABLE example_db.mysql_table SET ("default.replication_allocation" = "tag.location.tag1: 1");
|
||||
ALTER TABLE example_db.mysql_table SET ("replication_allocation" = "tag.location.default: 1");
|
||||
ALTER TABLE example_db.mysql_table SET ("default.replication_allocation" = "tag.location.default: 1");
|
||||
```
|
||||
|
||||
注:
|
||||
|
||||
Reference in New Issue
Block a user