Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6517 Snapshot support for Ozone
  3. HDDS-8528

[Snapshot] Custom SnapshotCache implementation to replace LoadingCache

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None

    Description

      This is the continuation of HDDS-7935.

      In HDDS-7935 we replaced LoadingCache's maximumSize() with softValues(). But there are concerns regarding JVM GC's undeterministic behavior of invalidating the cache entries with the soft references.

      In this jira, we are going to implement a custom SnapshotCache to replace LoadingCache gain full control over snapshot cache entry eviction/invalidation.

      PR: https://github.com/apache/ozone/pull/4567

      Attachments

        Issue Links

          Activity

            People

              smeng Siyao Meng
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: