Bryan Beaudreault created HBASE-27648:
-----------------------------------------
Summary: CopyOnWriteArrayMap does not honor contract of
ConcurrentMap.putIfAbsent
Key: HBASE-27648
URL: https://issues.apache.org/jira/browse/HBASE-27648
Project: HBase
Issue Type: Bug
Reporter: Bryan Beaudreault
I've been tracking down a meta cache issue and noticed this. I'm not sure if
this is actually causing an issue, but if you enable TRACE logs on MetaCache it
causes all calls to cacheLocation to go down the "Merged cached locations" path
instead of the "Cached location" path for inserting new entries. This is just
misleading, but also means going through the more expensive
RegionLocations.mergeLocations. Reading the code, I don't think that would
cause an actual issue, but hard to be sure.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)