Skip to content

Commit

Permalink
Add docs for MoveTables auto increment handling (#1859)
Browse files Browse the repository at this point in the history
* Update reference docs for vitessio/vitess#16860

Signed-off-by: Matt Lord <[email protected]>

* Add new section to the movetables reference page

Signed-off-by: Matt Lord <[email protected]>

* Add keyspace concept link

Signed-off-by: Matt Lord <[email protected]>

* Changes from self review

Signed-off-by: Matt Lord <[email protected]>

* Correct keyspace concept link

Signed-off-by: Matt Lord <[email protected]>

* Minor tweak

Signed-off-by: Matt Lord <[email protected]>

* Unify formatting

Signed-off-by: Matt Lord <[email protected]>

---------

Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord authored Oct 4, 2024
1 parent 8eb5625 commit 6249485
Show file tree
Hide file tree
Showing 159 changed files with 251 additions and 224 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: vtctldclient
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: AddCellInfo
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient AddCellInfo

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: AddCellsAlias
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient AddCellsAlias

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ApplyKeyspaceRoutingRules
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient ApplyKeyspaceRoutingRules

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ApplyRoutingRules
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient ApplyRoutingRules

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ApplySchema
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient ApplySchema

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ApplyShardRoutingRules
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient ApplyShardRoutingRules

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ApplyVSchema
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient ApplyVSchema

Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
---
title: Backup
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient Backup

Uses the BackupStorage service on the given tablet to create and store a new backup.

```
vtctldclient Backup [--concurrency <concurrency>] [--allow-primary] [--incremental-from-pos=<pos>|<backup-name>|auto] [--upgrade-safe] <tablet_alias>
vtctldclient Backup [--concurrency <concurrency>] [--allow-primary] [--incremental-from-pos=<pos>|<backup-name>|auto] [--upgrade-safe] [--backup-engine=enginename] <tablet_alias>
```

### Options

```
--allow-primary Allow the primary of a shard to be used for the backup. WARNING: If using the builtin backup engine, this will shutdown mysqld on the primary and stop writes for the duration of the backup.
--backup-engine string Request a specific backup engine for this backup request. Defaults to the preferred backup engine of the target vttablet
--concurrency int32 Specifies the number of compression/checksum jobs to run simultaneously. (default 4)
-h, --help help for Backup
--incremental-from-pos string Position, or name of backup from which to create an incremental backup. Default: empty. If given, then this backup becomes an incremental backup from given position or given backup. If value is 'auto', this backup will be taken from the last successful backup position.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: BackupShard
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient BackupShard

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ChangeTabletType
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient ChangeTabletType

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: CheckThrottler
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient CheckThrottler

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: CreateKeyspace
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient CreateKeyspace

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: CreateShard
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient CreateShard

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: DeleteCellInfo
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient DeleteCellInfo

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: DeleteCellsAlias
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient DeleteCellsAlias

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: DeleteKeyspace
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient DeleteKeyspace

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: DeleteShards
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient DeleteShards

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: DeleteSrvVSchema
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient DeleteSrvVSchema

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: DeleteTablets
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient DeleteTablets

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: DistributedTransaction
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient DistributedTransaction

Expand All @@ -28,5 +28,5 @@ Perform commands on distributed transaction

* [vtctldclient](../) - Executes a cluster management command on the remote vtctld server.
* [vtctldclient DistributedTransaction conclude](./vtctldclient_distributedtransaction_conclude/) - Concludes the unresolved transaction by rolling back the prepared transaction on each participating shard and removing the transaction metadata record.
* [vtctldclient DistributedTransaction list](./vtctldclient_distributedtransaction_list/) - Retrieves unresolved transactions for the given keyspace.
* [vtctldclient DistributedTransaction unresolved-list](./vtctldclient_distributedtransaction_unresolved-list/) - Retrieves unresolved transactions for the given keyspace.

Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
---
title: DistributedTransaction conclude
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient DistributedTransaction conclude

Concludes the unresolved transaction by rolling back the prepared transaction on each participating shard and removing the transaction metadata record.

```
vtctldclient DistributedTransaction conclude <dtid> [<keyspace/shard> ...]
vtctldclient DistributedTransaction conclude --dtid <dtid>
```

### Options

```
-h, --help help for conclude
-d, --dtid string conclude transaction for the given distributed transaction ID.
-h, --help help for conclude
```

### Options inherited from parent commands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: EmergencyReparentShard
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient EmergencyReparentShard

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ExecuteFetchAsApp
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient ExecuteFetchAsApp

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ExecuteFetchAsDBA
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient ExecuteFetchAsDBA

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ExecuteHook
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient ExecuteHook

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ExecuteMultiFetchAsDBA
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient ExecuteMultiFetchAsDBA

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: FindAllShardsInKeyspace
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient FindAllShardsInKeyspace

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GenerateShardRanges
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GenerateShardRanges

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetBackups
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetBackups

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetCellInfo
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetCellInfo

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetCellInfoNames
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetCellInfoNames

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetCellsAliases
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetCellsAliases

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetFullStatus
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetFullStatus

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetKeyspace
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetKeyspace

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetKeyspaceRoutingRules
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetKeyspaceRoutingRules

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetKeyspaces
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetKeyspaces

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetMirrorRules
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetMirrorRules

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetPermissions
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetPermissions

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GetRoutingRules
series: vtctldclient
commit: 069651aed3c06088dc00f8f699a276665056e3d0
commit: 14b6873142558358a99a68d2b5ef0ec204f3776a
---
## vtctldclient GetRoutingRules

Expand Down
Loading

0 comments on commit 6249485

Please sign in to comment.