phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-3791) Execute cross region index maintenance calls outside of row lock for transactional tables
Date Fri, 14 Apr 2017 21:49:41 GMT
James Taylor created PHOENIX-3791:
-------------------------------------

             Summary: Execute cross region index maintenance calls outside of row lock for
transactional tables
                 Key: PHOENIX-3791
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3791
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor


A corner case related to PHOENIX-3789. Non transactional, mutable secondary index maintenance
relies on the the WAL edit as state so that the actual index writes can be done later. When
WAL edits are disabled, the writes to the index table are done in the preBatchMutation while
the row locks are still held which should be avoided.

This can be fixed by either leveraging a way of passing state between coprocessor hooks (which
I'm not sure exists) or through thread locals as a last resort.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message