phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Poon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4214) Scans which write should not block region split or close
Date Fri, 22 Sep 2017 21:37:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-4214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vincent Poon updated PHOENIX-4214:
----------------------------------
    Attachment: PHOENIX-4214.master.v1.patch

Attaching patch for master, [~jamestaylor] [~samarthjain]  please review

I find that if I throw an IOException from doPostScannerOpen , the exception gets bubbled
back to the client, which gets an IOException wrapped around a UnknownScannerException.
Is there a specific exception I should be throwing to get the HBase client to retry, without
the phoenix client having to handle the exception?

> Scans which write should not block region split or close
> --------------------------------------------------------
>
>                 Key: PHOENIX-4214
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4214
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.12.0
>            Reporter: Vincent Poon
>         Attachments: PHOENIX-4214.master.v1.patch, splitDuringUpsertSelect_wip.patch
>
>
> PHOENIX-3111 introduced a scan reference counter which is checked during region preSplit
and preClose.  However, a steady stream of UPSERT SELECT or DELETE can keep the count above
0 indefinitely, preventing or greatly delaying a region split or close.
> We should try to avoid starvation of the split / close request, and fail/reject queries
where appropriate.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message