Details
-
Sub-task
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
Description
Expose an API for the CPs to wait for all on going flushes in a Region. The API should support taking a time out.
Background
While reviewing HBASE-18183, Andy pointed out that Phoenix uses waitForFlushesAndCompactions and/or waitForFlushes for diff reasons. This issue is to see why they need them and whether alternate ways are possible. This seems to be too much internal stuff and a normal CP hook calling these would be dangerous.
If there are alternate ways for Phoenix not to use this and not landing in issues (As said by Andy) we should suggest/fix for them.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-18905 Allow CPs to request flush on Region and know the completion of the requested flush
- Closed
- relates to
-
HBASE-18989 Polish the compaction related CP hooks
- Closed