Skip to content

Add Priority Reserves to Memory Manager

David Vorick requested to merge memory-manager into master

Overview

This MR adds a reserved portion of memory for priority memory requests. Low priority requests will not be allowed to run if only priority memory is available. This fixes an issue where background repairs could block downloads.

Testing revealed a longstanding bug in the memory manager related to not correctly prioritizing items in the priority queue. Unknown if this bug ever impacted production users.

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • All new methods or updated methods have clear docstrings
  • Testing added or updated for new methods
  • Any new packages are added to Makefile and .gitlab-ci.yml
  • API documentation updated for API updates
  • Module README.md updated for changes to workflow
  • Issue added to Sia-UI repo for new supporting features
  • Changelog File Created

Merge request reports