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

This commit is contained in:
anoopsjohn 2014-07-14 22:32:45 +05:30
parent a32331c02b
commit 94b3f32f9f
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);
} }
} }