HBASE-11510 Visibility serialization format tag gets duplicated in Append/Increment'ed cells. (Anoop)

This commit is contained in:
anoopsjohn 2014-07-14 22:34:38 +05:30
parent 69a75bbc0e
commit 93e7ec42d1
1 changed files with 2 additions and 1 deletions

View File

@ -1236,7 +1236,8 @@ public class VisibilityController extends BaseRegionObserver implements MasterOb
newCell.getTagsLength()); newCell.getTagsLength());
while (tagsItr.hasNext()) { while (tagsItr.hasNext()) {
Tag tag = tagsItr.next(); Tag tag = tagsItr.next();
if (tag.getType() != VisibilityUtils.VISIBILITY_TAG_TYPE) { if (tag.getType() != VisibilityUtils.VISIBILITY_TAG_TYPE
&& tag.getType() != VisibilityUtils.VISIBILITY_EXP_SERIALIZATION_TAG_TYPE) {
tags.add(tag); tags.add(tag);
} }
} }