Skip to content

[FLASH-660] Check region version while doing learner read#321

Merged
JaySon-Huang merged 4 commits intopingcap:DeltaMergeEnginefrom
JaySon-Huang:dm-learner-read-check-region-version
Nov 20, 2019
Merged

[FLASH-660] Check region version while doing learner read#321
JaySon-Huang merged 4 commits intopingcap:DeltaMergeEnginefrom
JaySon-Huang:dm-learner-read-check-region-version

Conversation

@JaySon-Huang
Copy link
Contributor

TiDB/TiSpark read with its cached region info. If region info in TiFlash is not the same as query region info, we should throw an exception and let TiDB/TiSpark refresh its region cache and do retry.

@JaySon-Huang
Copy link
Contributor Author

/run-integration-tests

2 similar comments
@JaySon-Huang
Copy link
Contributor Author

/run-integration-tests

@JaySon-Huang
Copy link
Contributor Author

/run-integration-tests

@JaySon-Huang
Copy link
Contributor Author

Related PR: #322

table_name(table_name_),
table_handle_define(handle),
background_pool(db_context.getBackgroundPool()),
global_context(db_context),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global_context(db_context.getGlobalContext())

@JaySon-Huang JaySon-Huang merged commit d6b45b3 into pingcap:DeltaMergeEngine Nov 20, 2019
@JaySon-Huang JaySon-Huang deleted the dm-learner-read-check-region-version branch November 20, 2019 09:14
JaySon-Huang pushed a commit to JaySon-Huang/tiflash that referenced this pull request Dec 3, 2024
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants