Performing multiple write operations on a repository causes multiple Garbage Collections to be scheduled, even if they could be coalesced

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 10.4.3, 10.2.9, 9.4.27
    • Component/s: Mesh
    • None
    • 1
    • Severity 3 - Minor
    • 6

      Issue Summary

      Performing multiple write operations on a repository causes multiple Garbage Collections to be scheduled, and all of them are queued. Once the first task for the repository starts running, subsequent garbage collections are not necessary anymore, because they will essentially become no-ops. However, combined with BSERV-20727, this can cause excessive file operations in rapid succession.

      Steps to Reproduce

      1. Perform multiple write operations while GC is in progress or otherwise busy.

      Expected Results

      Only one GC is performed after the first scheduled GC task is picked up.

      Actual Results

      One GC operation is executed per write operation, even if they are no-ops.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Wolfgang Kritzinger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: