Skip to content

Commit

Permalink
Merge pull request #2537 from TomasJavurek/patch-2535-bb8_tape_replicas
Browse files Browse the repository at this point in the history
bb8: excluding tape sources - #2535
  • Loading branch information
bari12 committed May 6, 2019
2 parents 2a966a7 + d618324 commit c349b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rucio/daemons/bb8/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
format='%(asctime)s\t%(process)d\t%(levelname)s\t%(message)s')


def rebalance_rule(parent_rule, activity, rse_expression, priority, source_replica_expression=None, comment=None):
def rebalance_rule(parent_rule, activity, rse_expression, priority, source_replica_expression='*\\bb8-enabled=false', comment=None):
"""
Rebalance a replication rule to a new RSE
Expand Down Expand Up @@ -332,7 +332,7 @@ def select_target_rse(parent_rule, current_rse, rse_expression, subscription_id,


@transactional_session
def rebalance_rse(rse, max_bytes=1E9, max_files=None, dry_run=False, exclude_expression=None, comment=None, force_expression=None, mode=None, priority=3, source_replica_expression=None, session=None):
def rebalance_rse(rse, max_bytes=1E9, max_files=None, dry_run=False, exclude_expression=None, comment=None, force_expression=None, mode=None, priority=3, source_replica_expression='*\\bb8-enabled=false', session=None):
"""
Rebalance data from an RSE
Expand Down

0 comments on commit c349b85

Please sign in to comment.