forked from apache/kudu
-
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.
KUDU-1792 It is possible to overwrite range partitions
This fixes another bug (see KUDU-1750) in the master code which detects overlaps in range partitions during alter table operations. A new test is included which attempts to exhaustively cover all cases of conflict between pairs of ranges being added. It also adds a lot of coverage for drop conflicts between pairs of ranges, although the coverage is not intended to be exhaustive. The next step if we want to test this space even more would be to increase the number of ranges involved in conflicts to three or more, but since this amplifies the search space so much, it is probably best done as part of a randomized fuzz test. Change-Id: I89ae162f33de20169848091e518315853be30460 Reviewed-on: http://gerrit.cloudera.org:8080/5395 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Kudu Jenkins
- Loading branch information
1 parent
93649c4
commit bd72a38
Showing
3 changed files
with
329 additions
and
4 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