Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22702

Allow configuration of quota max size

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10, 8.10, 9.2
    • Fix Version/s: 7.10-HF30, 8.10-HF12, 9.3
    • Component/s: Quotas
    • Backlog priority:
      600
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      Quota maximum size can now be changed from the default using:

      <require>org.nuxeo.ecm.quota.maxsize.config</require>
      <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
      <property name="nuxeo.quota.maxsize">2 TB</property>
      </extension>

      The size is expressed in bytes but can use a suffix like KB, MB, GB or TB.

      Show
      Quota maximum size can now be changed from the default using: <require>org.nuxeo.ecm.quota.maxsize.config</require> <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration"> <property name="nuxeo.quota.maxsize">2 TB</property> </extension> The size is expressed in bytes but can use a suffix like KB, MB, GB or TB.
    • Sprint:
      nxFG 9.3.2
    • Story Points:
      3

      Description

      1. Currently the quota limit is hardcoded to 999GB (see quotaLimit.png)
      2. This is related to this code:
            public long getMaxQuotaSliderValue() {
                long maxQuotaSize = -1L;
                DocumentModel doc = navigationContext.getCurrentDocument();
                if (doc != null) {
                    maxQuotaSize = getQuotaStatsService().getQuotaFromParent(doc, documentManager);
                }
                return maxQuotaSize > 0 ? maxQuotaSize : 1072668082176L; // 999GB
            }
        
      3. this should be parameter as it prevents customers to use more space (like several terabytes for example)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h