Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
There is a race condition between acquiring the lock and the values map being initialized here.
@Override public ImmutableBytesWritable getLatestValue(ColumnReference ref) throws IOException { // ensure we have a backing map if (values == null) { synchronized (this) { values = Collections.synchronizedMap(new HashMap<ColumnReference, ImmutableBytesWritable>()); } }