Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
ghx-label-7
Description
Whenever DDL operations like add/remove partitions, alter table etc are performed from catalog HMS endpoints, we will do the following:
- Acquire lock on db/table
- Perform HMS operation
- For db/table in step 1, fetch all events from HMS
- Apply those events on the db/table in catalogd cache
- Set the last processed event id for db/table
In addition to the above, the following needs to be handled as well:
- Event processor should skip processing an event on a db/table if the db/table is already synced till that event id.
- If last synced event id in table/db is less than the event being processed by event processor, it should set the last synced db/table event id after successfully processing the event.
- Full table refresh should set the last event processed.
Attachments
Issue Links
- Dependent
-
IMPALA-10949 Improve batching logic of events
- Resolved