[ https://issues.apache.org/jira/browse/PHOENIX-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16177350#comment-16177350 ]
Samarth Jain commented on PHOENIX-4178: --------------------------------------- Patch looks good to me, James. As we talked offline, it would be good to have a test where we make sure that queries are still able to use the index for reads when it is flipped to PENDING_ACTIVE state. > Detect failed index write while rebuilder is running with index staying active > ------------------------------------------------------------------------------ > > Key: PHOENIX-4178 > URL: https://issues.apache.org/jira/browse/PHOENIX-4178 > Project: Phoenix > Issue Type: Bug > Reporter: James Taylor > Assignee: James Taylor > Fix For: 4.12.0 > > Attachments: PHOENIX-4178.patch > > > If an index write fails while the rebuilder is running, we need to make sure > to run the rebuilder again so we don't need miss any rows. This can only > happen when the index is left active, as otherwise the index will transition > back to disabled and we'll end up rerunning the rebuilder. -- This message was sent by Atlassian JIRA (v6.4.14#64029)