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-3137) Local index updates don't occur if WAL is disabled unless updates sent from client
Date Tue, 02 Aug 2016 18:39:20 GMT
James Taylor created PHOENIX-3137:
-------------------------------------

             Summary: Local index updates don't occur if WAL is disabled unless updates sent
from client
                 Key: PHOENIX-3137
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3137
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor
            Assignee: Rajeshbabu Chintaguntla


Local index updates don't occur if WAL is disabled unless updates sent from client. This is
being worked around by sending local index updates from the client (see MutationState.addRowMutations()
and check for {{table.isWALDisabled()}}). To repro, run the DistinctPrefixFilterIT tests and
notice that the local index doesn't get populated.

FWIW, I played around with Indexer a bit. It currently runs the updates in preBatchMutate
in the doPre call. If this isn't done, it seems that since the WAL isn't written to, the post
calls fail because it doesn't find the WAL entries necessary to populate the index.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message