Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4323

LocalIndexes could fail if your data row is not in the same region as your index region

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This is not likely to happen, but if this does your data table and index write will never succeed.

      In HRegion.doMiniBatchMutation()
      You create index rows in the preBatchMutate() then when you call checkRow() on that index row the exception will bubble up if the index row is not in the same region as your data row.

      Like I said this is unlikely, but you would have to do a region merge to fix this issue if encountered.

      Vincent Poon has a test which he will attach to this JIRA showing an example how this can happen. The write will never succeed unless you merge regions if this ever happens.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rajeshbabu Rajeshbabu Chintaguntla
            churromorales churro morales

            Dates

              Created:
              Updated:

              Slack

                Issue deployment