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

correctly handle first and last tablets in LinkingIterator #1260 #1266

Merged
merged 3 commits into from Jul 11, 2019

Conversation

keith-turner
Copy link
Contributor

The LinkingIterator checks the structure of the AccumuloMetadata table
as it is scans. It was not properly handling a split of the first
tablet. It was also not ensuring the last tablet for a table was seen.
This patch fixes those two issues. These issues were discovered while
researching #1260, however I am not sure if these issues could have
caused #1260.

The LinkingIterator checks the structure of the AccumuloMetadata table
as it is scans.   It was not properly handling a split of the first
tablet.  It was also not ensuring the last tablet for a table was seen.
This patch fixes those two issues.  These issues were discovered while
researching apache#1260, however I am not sure if these issues could have
caused apache#1260.
@ctubbsii ctubbsii added this to In progress in 2.0.0 via automation Jul 11, 2019
@keith-turner keith-turner merged commit 422a9d8 into apache:2.0 Jul 11, 2019
2.0.0 automation moved this from In progress to Done Jul 11, 2019
@keith-turner keith-turner deleted the accumulo-1260 branch July 11, 2019 21:58
keith-turner added a commit to keith-turner/accumulo that referenced this pull request Sep 27, 2019
Added unit test to excercise the code that checks the consistency of the
metadata table during GC scans.  Also added a check to ensure the last
tablet was seen.  This should cause an error to be thrown if the scanner
stops returning data for any reason.  These changes were already made in
2.0 in apache#1266.  However the code in 1.9 is so different that they could
not be backported, but had to be reimplelmented.
keith-turner added a commit that referenced this pull request Oct 10, 2019
Added unit test to exercise the code that checks the consistency of the
metadata table during GC scans.  Also added a check to ensure the last
tablet was seen.  This should cause an error to be thrown if the scanner
stops returning data for any reason.  These changes were already made in
2.0 in #1266.  However the code in 1.9 is so different that they could
not be back-ported, but had to be re-implemented.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
2.0.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants