Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5465

StandbyClientSyncExecution uses an unbound segment cache

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.18, 1.6.0
    • Component/s: segment-tar
    • Labels:
      None

      Description

      StandbyClientSyncExecution uses a cache to avoid loading a Segment from the primary instance if it was already loaded before. This cache is simply an unbounded HashMap. In case a lot of segments are written on the primary instance (e.g. during compaction), this cache puts too much load on the standby instance - possibly resulting in out-of-memory errors.

        Attachments

          Activity

            People

            • Assignee:
              frm Francesco Mari
              Reporter:
              frm Francesco Mari
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: