-
Notifications
You must be signed in to change notification settings - Fork 6.1k
*: non-unique Global Index on non-clustered removed pid from value, V2 #65565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mjonss
wants to merge
50
commits into
pingcap:master
Choose a base branch
from
mjonss:global-index-non-clustered-non-unique-add-partid-to-key-and-removed-from-value-V2-65289
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 38 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
30b1f12
table: Global index did not correctly use partID+_tidb_rowid
mjonss 22d0a74
ddl, meta, tablecodec: add version metadata for global index backward…
mjonss e102f6a
bazel_prepare
mjonss fd722bb
Cleanup
mjonss 6059bde
Linting
mjonss 2e01584
Linting
mjonss f13baf2
Removed debug code that failed linting
mjonss dd33176
Cleanup
mjonss 3b824df
Added test for old version global index
mjonss 7013ec4
Fixed case where INSERT did not use PartitionHandle for adding index …
mjonss ee50be1
Updated test and fixed found issue
mjonss ef6420f
Fixed issue with clustered IntHandle tables
mjonss cac17ca
temp commit for trouble-shooting how to check if Clustered or not...
mjonss ea3d427
pkg/ddl: fix GlobalIndexVersion assignment for tables with inline PRI…
mjonss c175fcb
cleanup of debug in test
mjonss 236ef4d
use patched tikv-server to run realtikv tests
tangenta 78e8421
Update pkg/tablecodec/tablecodec.go
mjonss d0fb8f3
Addressed review comment about pre-scanning PK for setting Clustered …
mjonss af46056
Fixed review comment about checking V1 only once per batch of fetchRo…
mjonss 20bd0f5
Linting
mjonss a3c4848
Merge remote-tracking branch 'pingcap/master' into global-index-non-c…
mjonss 8ed5a61
Addressed review comments, moved logic for using partitioned actualHa…
mjonss eee5ec1
Linting
mjonss 732ed50
Merge remote-tracking branch 'pingcap/master' into global-index-non-c…
mjonss 7f10e0d
tablecodec: Global Index version V2, pid only in key for non-unique n…
mjonss 91efbc7
Temporary test for TiKV Global Index V2
mjonss e1a3fa2
Removed use of special built tikv, since V1 is now merged into tikv/m…
mjonss a18ee7b
Merge remote-tracking branch 'pingcap/master' into global-index-non-c…
mjonss d3d17e0
Removed non-needed change
mjonss ea589be
Removed more non-needed changes
mjonss edc40d8
Added back a comment that should not have been removed...
mjonss 191a0b3
Merge branch 'global-index-non-clustered-non-unique-add-partid-to-key…
mjonss da153a8
ddl: add test for global index key/value format across V0, V1, V2
mjonss bfcc751
Merge remote-tracking branch 'pingcap/master' into global-index-non-c…
mjonss c4c252d
Added tests for copilots review comments
mjonss b7ad25c
Merge branch 'global-index-non-clustered-non-unique-add-partid-to-key…
mjonss 43e845a
Fixed latent bug and updated test comment
mjonss 1988be7
minor refactoring and removed non-needed code
mjonss 9a7c2b6
Merged new tests into the same test file
mjonss 27c42a2
Apply suggestions from code review
mjonss 0473d15
Merge remote-tracking branch 'pingcap/master' into global-index-non-c…
mjonss d5c43fa
Fixed issue with nested PartitionHandle
mjonss fc2ce59
bazel_prepare
mjonss d7a3a30
Merge remote-tracking branch 'pingcap/master' into global-index-non-c…
mjonss b1565a9
Fix overwritten global index entries for unique null keys
mjonss cb95d58
Merge remote-tracking branch 'pingcap/master' into global-index-non-c…
mjonss 34df699
Test fix
mjonss c1045f7
Removed using subtests in tablecodec_test
mjonss a030ee7
Merge branch 'global-index-non-clustered-non-unique-add-partid-to-key…
mjonss b396cd2
Updated test case from V1 to V2
mjonss File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to
bazel_ci_simple_preparetarget (downloading and extracting tikv-server tarball) appear unrelated to the global index V2 changes described in the PR. These infrastructure changes should either be in a separate PR or explained in the PR description. If this is intentionally included, please explain why it's necessary for the global index V2 functionality.