HBASE-10223 [VisibilityController] cellVisibility presence check on Delete mutation is wrong
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1553014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7e5abab822
commit
b6c898a138
|
@ -683,7 +683,7 @@ public class VisibilityController extends BaseRegionObserver implements MasterOb
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else if (cellVisibility != null) {
|
||||
// CellVisibility in a Delete is not legal! Fail the operation
|
||||
miniBatchOp.setOperationStatus(i, new OperationStatus(SANITY_CHECK_FAILURE,
|
||||
"CellVisibility cannot be set on Delete mutation"));
|
||||
|
|
Loading…
Reference in New Issue