Skip to content
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

[FLASH-204] Wrong Process About Applying Snapshot And Deleting Data #27

Merged
merged 3 commits into from
Mar 30, 2019
Merged

[FLASH-204] Wrong Process About Applying Snapshot And Deleting Data #27

merged 3 commits into from
Mar 30, 2019

Conversation

solotzg
Copy link
Contributor

@solotzg solotzg commented Mar 30, 2019

If a region exists and is changed by snapshot, there are some bugs in the process about updating the handle range in RegionTable.

2019.03.30 02:14:13.361396 [ 9 ] <Trace> ReplacingTMTStortedBlockInputStream: deleted by handle range: 519291 rows, handle ranges: (-9223372036854775808,291022233) (290926233,9223372036854775807) (2910222
33,298136580) (299033481,299129481)

some ranges may overlap, which means we will delete more data than expect.

@solotzg
Copy link
Contributor Author

solotzg commented Mar 30, 2019

/run-integration-tests

@solotzg solotzg merged commit 6687883 into pingcap:raft Mar 30, 2019
@solotzg solotzg deleted the FLASH-204 branch April 1, 2019 07:31
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.

1 participant