Kadir OZDEMIR created PHOENIX-5565:
--------------------------------------
Summary: Unify index update structures in IndexRegionObserver and
IndexCommitter
Key: PHOENIX-5565
URL: https://issues.apache.org/jira/browse/PHOENIX-5565
Project: Phoenix
Issue Type: Improvement
Affects Versions: 5.1.0
Reporter: Kadir OZDEMIR
Assignee: Kadir OZDEMIR
The index updates are represented by a Collection<Pair<Mutation, byte[]>> where
the byte[] member of the pair is the name of the index table. However, this map
is then translated to a Multimap<HTableInterfaceReference, Mutation> when it is
passed to an IndexCommitter. The code in IndexRegionObserver gets simplified
and becomes more efficient in cpu utilization if IndexRegionObserver also uses
a Multimap<HTableInterfaceReference, Mutation> structure to represent index
updates.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)