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

Core: Add update_rule boost option #4634 #4929

Conversation

joeldierkes
Copy link
Contributor

The timeout between the retries of the transitioning of a rule from STUCK to
REPLICATING are quite big. This commit introduces a feature --boost-rule to
allow almost instant transition between the states.

@joeldierkes joeldierkes force-pushed the feature-4634-Add_the_ability_to_quicken_the_transition_of_STUCK_rules_to_REPLICATING branch 2 times, most recently from 7ee4fe6 to 8c827b8 Compare October 22, 2021 07:55
@joeldierkes joeldierkes marked this pull request as ready for review October 22, 2021 07:56
joeldierkes pushed a commit to joeldierkes/rucio that referenced this pull request Oct 25, 2021
…io#4929

The judge-evaluator is pausing the evaluation of dids (for a certain) time if
certain error conditions are hit. A new case is introduced.
bin/rucio Outdated
@@ -2372,6 +2377,7 @@ You can filter by account::
update_rule_parser.add_argument('--cancel-requests', dest='cancel_requests', action='store_true', help='Cancel requests when setting rules to stuck.')
update_rule_parser.add_argument('--priority', dest='priority', action='store', help='Priority of the requests of the rule.')
update_rule_parser.add_argument('--child-rule-id', dest='child_rule_id', action='store', help='Child rule id of the rule.')
update_rule_parser.add_argument('--boost-rule', dest='boost_rule', action='store_true', help='')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

help text :-)

@@ -525,11 +528,8 @@ def perm_update_rule(issuer, kwargs):
return True

# Only admin accounts can change account, state, priority of a rule
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adapt comment :-)

The timeout between the retries of the transitioning of a rule from `STUCK` to
`REPLICATING` are quite big. This commit introduces the feature `--boost-rule`
to allow almost instant transition between the states.
@joeldierkes joeldierkes force-pushed the feature-4634-Add_the_ability_to_quicken_the_transition_of_STUCK_rules_to_REPLICATING branch from 8c827b8 to e065ba8 Compare October 26, 2021 13:31
@bari12 bari12 merged commit 374eff9 into rucio:master Oct 29, 2021
@joeldierkes joeldierkes deleted the feature-4634-Add_the_ability_to_quicken_the_transition_of_STUCK_rules_to_REPLICATING branch November 1, 2021 09:28
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.

Add the ability to quicken the transition of STUCK rules to REPLICATING
3 participants