-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/vt/mysqlctl: add configurable read buffer to builtin backups (#12073)
* go/vt/mysqlctl: add configurable read buffer to builtin backups Signed-off-by: Max Englander <[email protected]> * pr review: use uint Signed-off-by: Max Englander <[email protected]> * doc/releasenotes: v16 --builtinbackup-file-read-buffer-size and --builtinbackup-file-write-buffer-size Signed-off-by: Max Englander <[email protected]> * update flags txt Signed-off-by: Max Englander <[email protected]> * make part of v17 Signed-off-by: Max Englander <[email protected]> * Update doc/releasenotes/17_0_0_summary.md Co-authored-by: Deepthi Sigireddi <[email protected]> Signed-off-by: Max Englander <[email protected]> * improve wording -block Signed-off-by: Max Englander <[email protected]> --------- Signed-off-by: Max Englander <[email protected]> Signed-off-by: Max Englander <[email protected]> Co-authored-by: Deepthi Sigireddi <[email protected]>
- Loading branch information
1 parent
07c85db
commit b22b419
Showing
6 changed files
with
56 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## Summary | ||
|
||
### Table of Contents | ||
|
||
- **[Major Changes](#major-changes)** | ||
- **[New command line flags and behavior](#new-flag)** | ||
- [Builtin backup: read buffering flags](#builtin-backup-read-buffering-flags) | ||
|
||
## <a id="major-changes"/> Major Changes | ||
|
||
### <a id="new-flag"/> New command line flags and behavior | ||
|
||
#### <a id="builtin-backup-read-buffering-flags" /> Backup --builtinbackup-file-read-buffer-size and --builtinbackup-file-write-buffer-size | ||
|
||
Prior to v17 the builtin Backup Engine does not use read buffering for restores, and for backups uses a hardcoded write buffer size of 2097152 bytes. | ||
|
||
In v17 these defaults may be tuned with, respectively `--builtinbackup-file-read-buffer-size` and `--builtinbackup-file-write-buffer-size`. | ||
|
||
- `--builtinbackup-file-read-buffer-size`: read files using an IO buffer of this many bytes. Golang defaults are used when set to 0. | ||
- `--builtinbackup-file-write-buffer-size`: write files using an IO buffer of this many bytes. Golang defaults are used when set to 0. (default 2097152) | ||
|
||
These flags are applicable to the following programs: | ||
|
||
- `vtbackup` | ||
- `vtctld` | ||
- `vttablet` | ||
- `vttestserver` |
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
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
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
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
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