-
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.
130957: storage,roachpb: allow reading MVCCValueHeader data via SQL r=michae2 a=stevendanna Logical Data Replication (LDR) and Import now both write values into the MVCCValueHeader of keys. We would like to be able to read these values from SQL via new system columns. In the case of LDR this will allow the SQL-write-path to continue to function even after the OriginTimetamp column is moved out of the user's table schema and into the MVCCValueHeader. We make that possible by: - Adding a ReturnRawMVCCValue option to GetRequest, ScanRequest, and ReverseScanRequest that returns values with the extended encoding rather than stripping off the MVCCValueHeader. - Modifying the functions on roachpb.Value to understand the extended encoding may be in place and return the correct version. - Modifying the column and rowfetchers to make requests with this new option when the newly added system columns are added. Release note: None Epic: none Co-authored-by: Steven Danna <[email protected]>
- Loading branch information
Showing
128 changed files
with
7,886 additions
and
1,250 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
Oops, something went wrong.