Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-5900

Backends: Disabling je shared cache prevents from creating a new backend

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: backends
    • Labels:

      Description

      Found with rev (56560b7558c)

      We setup a server, disable the je shared cache:

      dsconfig set-global-configuration-prop \
                --set je-backend-shared-cache-enabled:false \
                --hostname cforel-Dell-Precision-M3800 \
                --port 5444 \
                --bindDn cn=Directory\ Manager \
                --trustAll \
                --bindPassword ****** \
                --no-prompt
      

      Then we try creating a new backend:

      /tmp/test/opendj/bin/dsconfig  -p 5444 -D "cn=Directory Manager" -w password -X create-backend --backend-name test --type je --set base-dn:"o=test" --set enabled:true --set writability-mode:enabled -n
      The JE Backend could not be created because of the following reason:
      
          *  Unwilling to Perform: The Directory Server is unwilling to add
             configuration entry ds-cfg-backend-id=test,cn=Backends,cn=config because
             one of the add listeners registered with the parent entry
             cn=Backends,cn=config rejected this change with the message:
             Configuration attribute ds-cfg-db-cache-percent has a value of 50% but
             the JVM has only 0% available
      

        Attachments

          Activity

            People

            • Assignee:
              ylecaillez Yannick Lecaillez
              Reporter:
              cforel carole forel
              QA Assignee:
              Ondrej Fuchsik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: