forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
121303: backup: don't flush mid-row r=stevendanna a=dt This patch prevents the file sink from flushing mid row-- i.e. when an export request splits between two column families in the same sql row. By preventing this flush from occuring, backup guarantees that the backup file span start and end keys are valid split points, which online restore can use. Release note: none. Epic: none. 122112: sqlstats: rename sizeUnsafe -> sizeUnsafeLocked r=xinhaoz a=xinhaoz This function accesses data behind a mutex without acquring it. Ensure that this is clearly communicated so this fn is not misused. Epic: none Release note: None Co-authored-by: David Taylor <[email protected]> Co-authored-by: Xin Hao Zhang <[email protected]>
- Loading branch information
Showing
7 changed files
with
311 additions
and
153 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
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
Oops, something went wrong.