Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7954 Support automatic invalidates using metastore notification events
  3. IMPALA-8338

Check CREATION_TIME of databases in event processor to avoid incorrect/redundant invalidates

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 3.3.0
    • None
    • None
    • ghx-label-4

    Description

      HIVE-21077 adds CREATION_TIME to Database, and it will be available in the metastore notifications. Hence,

      1. For CREATE_DATABASE events, we should compare the creationTime of the Database in catalog with the Database in the event to make sure we are ignoring the event only if catalog has the latest Database object.
      2. For DROP_DATABASE events, we should check that creation time of database in the notification and the catalog match to make sure that we are removing the correct database object.

      Attachments

        Issue Links

          Activity

            People

              bharos92 Bharath Krishna
              bharos92 Bharath Krishna
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: