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 (9.2 backport) #7617

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 (9.2 backport) Jul 18, 2024
@mksahakyan
Copy link
Contributor

retest this please

@greenc-FNAL greenc-FNAL reopened this Jul 19, 2024
@greenc-FNAL
Copy link
Contributor Author

retest this please

How to do this, please? Close/re-open appears to be ineffective.

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:
@mksahakyan mksahakyan merged commit 96ef377 into dCache:9.2 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