Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-18238

Blob Store Soft Quotas

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.14.0
    • Component/s: Blobstore
    • Labels:
      None

      Description

      An admin should be able to set a soft quota for blobstores. A soft quota warning when its limit is violated, but never block writes or reads.

      The configuration for a soft quota can be found via the Blob Stores feature view available via the Blob Stores sub menu of the Administration menu. A soft quota is a feature that monitors a blob store and raises an alert when it exceeds a constraint.

      Space Used and Space Remaining are the two possible choices for Type of Quota. A Space Used quota alerts when the total bytes used by a blob store exceeds the Quota Limit in MB. Space Remaining quotas are triggered when the space available for new blobs drops below the Quota Limit in MB. When a soft quota is violated, that information will be available in the following locations:

      A WARN level message in the logs
      In the Status item in the Support sub menu of the Administration menu, the status of all soft quotas is aggregated in the BlobStores status
      A REST API endpoint

      Acceptance

      • quota can be specified as "Space used" or "Space remaining"
      • NRXM should report when the quota for a blobstore is exceeded
        • report in logs
        • rest api - informational message in json
        • health check endpoint - quota status

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mbucher Michael Bucher
              Reporter:
              mbucher Michael Bucher
              Last Updated By:
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  tigCommentSecurity.panel-title