forked from apache/accumulo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes bug with bulk import RPC failure and retry (apache#4000)
The bulk import code had a bug where if an exception was thrown in a certain place in the tablet code that it would mark the bulk import as complete. After the exception, other code would retry and see the bulk import was complete even though it was not. This commit changes the behavior to only note success when there is no exception. In addition test were added that recreated this bug. These test set a constraint on the metadata table that cause bulk import writes to fail.
- Loading branch information
1 parent
e34f7fe
commit 751a110
Showing
3 changed files
with
203 additions
and
5 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