this.snapshot = null;
if(LOG.isDebugEnabled()) {
LOG.debug("snapshot deleted");
}
} finally {
<BUG>this.lock.writeLock().unlock();
}</BUG>
}
public void add(Text row, TreeMap<Text, BytesWritable> columns, long timestamp) {
<BUG>this.lock.writeLock().lock();
try {</BUG>
for (Map.Entry<Text, BytesWritable> es: columns.entrySet()) {

this.snapshot = null;
if(LOG.isDebugEnabled()) {
LOG.debug("snapshot deleted");
}
} finally {
this.lock.releaseWriteLock();
}
}
public void add(Text row, TreeMap<Text, BytesWritable> columns, long timestamp) {
this.lock.obtainWriteLock();
try {
for (Map.Entry<Text, BytesWritable> es: columns.entrySet()) {
