Details
Description
There're multiple issues in RegionGroupingProvider, including:
- The provider cache in it is using byte array as the key of ConcurrentHashMap, which is not right (the reason is here)
- It's using IdentityGroupingStrategy to get group and use it as key of the cache, which means the cache will include an entry for each region. This is especially unnecessary when using BoundedRegionGroupingProvider
Besides fixing the above issues, I suggest to change BoundedRegionGroupingProvider from a provider to a pluggable strategy, which will make the whole picture much more clear.
For more details, please refer to the patch
Attachments
Attachments
Issue Links
- Is contained by
-
HBASE-14457 Umbrella: Improve Multiple WAL for production usage
- Closed
- is related to
-
HBASE-14448 Refine RegionGroupingProvider Phase-2: remove provider nesting and formalize wal group name
- Closed