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:
anoopsamjohn 2013-12-22 18:19:58 +00:00
parent 7e5abab822
commit b6c898a138
1 changed files with 1 additions and 1 deletions

View File

@ -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"));