Skip to content

Commit

Permalink
poolmanager: fix bad commit
Browse files Browse the repository at this point in the history
Motivation:

Commit c0c11f4 removed support for the
'poolmanager.selection.unit.cachingenabeled' configuration property.

Unfortunately, the patch was incomplete as it neglected to remove the
Spring XML that injected this configuration property into the
PoolSelectionUnitV2 object, when initialising a \`poolmanager\` service.

This prevents a domain from starting if the domain is configured to run
the \`poolmanager\` service.

Modification:

Remove spring XML that (attempts to) set the \`cachingEnabeled\` property
in \`PoolSelectionUnitV2\`.

Result:

An unreleased regression is fixed.

Target: master
Requires-notes: no
Requires-book: no
Patch: https://rb.dcache.org/r/13976/
Acked-by: Tigran Mkrtchyan
  • Loading branch information
paulmillar committed May 9, 2023
1 parent 3005ec0 commit 62de04a
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -34,7 +34,6 @@
<bean id="psu" class="diskCacheV111.poolManager.PoolSelectionUnitV2">
<description>Pool selection unit</description>
<property name="pnfsHandler" ref="pnfs"/>
<property name="cachingEnabeled" value="${poolmanager.selection.unit.cachingenabeled}"/>
</bean>

<bean id="cm" class="diskCacheV111.poolManager.CostModuleV1">
Expand Down

0 comments on commit 62de04a

Please sign in to comment.