Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit c31a22a

Browse files
authored
Merge pull request #539 from CMSCompOps/mss_size_check
Mss size check
2 parents 971f3e3 + be67652 commit c31a22a

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

Unified/checkor.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,10 +1261,18 @@ def upward( ns ):
12611261
## pick one at random
12621262
custodial = SI.pick_SE(size=size_worth_checking)
12631263

1264-
if custodial and size_worht_going_to_ddm > tape_size_limit:
1265-
wfi.sendLog('checkor',"The total output size (%s TB) is too large for the limit set (%s TB)"%( size_worth_checking, tape_size_limit))
1266-
assistance_tags.add('bigoutput')
1267-
custodial = None
1264+
# if custodial and size_worth_checking > tape_size_limit:
1265+
# wfi.sendLog('checkor',"The total output size (%s TB) is too large for the limit set (%s TB)"%( size_worth_checking, tape_size_limit))
1266+
# assistance_tags.add('bigoutput')
1267+
# custodial = None
1268+
1269+
if custodial:
1270+
for output in out_worth_checking:
1271+
if out_worth_checking[output] > tape_size_limit:
1272+
wfi.sendLog('checkor',"%s output size (%s TB) is too large for the limit set (%s TB)"%( output, out_worth_checking[output], tape_size_limit))
1273+
assistance_tags.add('bigoutput')
1274+
custodial = None
1275+
12681276

12691277
if not custodial:
12701278
print "cannot find a custodial for",wfo.name

unifiedConfiguration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
"description": "Use the location of the parent dataset for custodial copy"
216216
},
217217
"tape_size_limit" : {
218-
"value" : 850,
218+
"value" : 300,
219219
"description" : "Size over which to prevent transfer to tape automatically"
220220
},
221221
"tiers_with_no_check": {

0 commit comments

Comments
 (0)