dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
291 stars 136 forks source link

Fix issue with infinite replicas when replicas > 1 (10.0 backport) #7616

Closed greenc-FNAL closed 3 months ago

greenc-FNAL commented 4 months ago

Resolve issue with infinite replicas being created whenever more than one requested.

Motivation:

If a migration copy command specifies -replicas=n where n>1, then replicas are continuously created across all eligible pools.

Modules:

dcache

Modification:

The record of completed replica destinations (a set) was actually being populated with the source pool rather than the target pool: this has been corrected.

Result:

The migration copy command with -replicas=n (n>1) has the desired behavior of creating only n replicas.

Release notes:

Pool migration : fixed behavior of migration copy with -replicas=n (where n>1) to behave as expected.

Target: master Request: 9.2, 10.0 Patch: https://rb.dcache.org/r/14275/ Requires-notes: yes Requires-book: no Acked-by: Dmitry Litvinsev Committed: