Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21637 Synchronized metastore cache
  3. HIVE-24259

[CachedStore] Constraints read from cache should be consistent snapshot.

    XMLWordPrintableJSON

Details

    Description

      Description -

      Problem -
      1. Redundant check if table is present or not
      2. Currently in order to get all constraint form the cachedstore. 6 different call is made with in the cached store. Which led to 6 different call to raw store
      3. If constraints are null and valid then also a redundant call is made to raw store.

      DOD
      1. Create a flag which tell weather constraint snapshot is valid or not.
      2. if incremental addition happen to any of the constraint mark snapshot as invalid and let updater thread to update cache with valid snapshot data.
      3. Combine individual constraint call into one call for refresh and creation.

      Attachments

        Issue Links

          Activity

            People

              ashish-kumar-sharma Ashish Sharma
              ashish-kumar-sharma Ashish Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 50m
                  5h 50m