-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
70215: serverccl: Add unit test for unique row id in MT. r=abarganier a=rimadeodhar This PR adds a unit test to confirm unique row id generates unique identifiers based on the SQL instance ID in the multi-tenant environment. Release note: None 70338: sql: add unordered unique row id as builtin and serial_normalization option r=jameswsj10 a=jameswsj10 See [#54675](#54675). Previously, there were only ordered unique row ids generated which incurs write hot-spots. The introduction of unordered unique row ids enable distributed row ids to avoid hotspots while maintaining the 64-bit integer data type. Basic testing proving distribution of row insertions provided. Release note (sql change): Added a new sql builtin 'unordered_unique_rowid' and serial_normalization case 'unordered_rowid' which generates a globally unique 64-bit integer that does not have ordering. 70673: cli: fix the process exit status codes r=jbowens a=knz Found by @jbowens in #70637. We'll want to backport this. cc @joshimhoff Release note (bug fix): The exit status of the `cockroach` command did not follow the previously-documented table of exit status codes when an error occurred during the command start-up. (Only errors occuring after startup were reported using the correct code.) This defect has been fixed. This bug had existed ever since reference exit status codes had been introduced. Co-authored-by: rimadeodhar <[email protected]> Co-authored-by: Andrew Werner <[email protected]> Co-authored-by: jameswsj10 <[email protected]> Co-authored-by: Raphael 'kena' Poss <[email protected]>
- Loading branch information
Showing
16 changed files
with
272 additions
and
18 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
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
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
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.