Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

greenc-FNAL
Copy link
Contributor

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:

@greenc-FNAL greenc-FNAL changed the title Fix issue with infinite replicas when replicas > 1 Fix issue with infinite replicas when replicas > 1 (10.0 backport) Jul 18, 2024
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:
@greenc-FNAL greenc-FNAL force-pushed the bugfix/multiple-replicas-10.0 branch from eca8408 to ff9adb5 Compare July 29, 2024 20:29
@mksahakyan mksahakyan merged commit f06f71c into dCache:10.0 Aug 7, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants