Comments (7)
riahi: Patch to review is enclosed to the ticket.
Cheers
Hassen
from crabserver.
metson: The patch seems to add apply_tfc and get_tfc_rules twice to the code, why is that? Are they needed? This should be adding dummy LFN's into the database, not creating files for transfer (that's quite a separate thing), so as is I don't think this patch should go in.
from crabserver.
riahi: apply_tfc and get_tfc_rules twice are not needed. Between I'm not seeing the interest adding only dummy LFN's into the database. To test the work done by this component, files are needed in the storage source and therefore trying to transfer them using the component. I write this class to only test the work done by this component and thus it is fine with me also if this patch will not be in. I removed duplicated methods in this class. You can just close the ticket if you are still convinced that is useless.
from crabserver.
metson: I think there's two tests we need:
- a disconnected test that is purely a metadata operation (e.g. what LoadDummyData does).
- an integration test that actually transfers some reasonably sized files (TransferDummyData or similar) which is what you've got in the patch.
Both tests are needed, 1. helps us work out scaling limits of the code, since we can use a dummy transfer backend that always works, or works with some stochastic profile e.g. we can use 1. to work out a theoretical limit on the system. 2. is necessary to test that we've hooked up FTS right, but it's not really of interest for scale testing, since then you're scale testing FTS not our code.
Does that make sense? If you split out your patch into a new file I'll be happy to commit it.
from crabserver.
riahi: yeah it makes sens...I'll the patch later in this ticket.
from crabserver.
riahi: Please review. The patch enclosed to the ticket.
from crabserver.
metson: (In 10776) Outcome of October code fest
Proper base class for plugins for LFNSourceDuplicator
Return plain text from the ftscp list function (helpful for manual debugging)
TransferDaemon uses call() instead of run() for the ftscp worker
Fix mark_good/failed methods and write parse_ftscp_results
Add user name in local DB + convert storage name to CMS name + manage startkey in couch query
Add since attribute to query source DBs + add phedexApi attribute in parent class to convert to CMS name in plugins
Instatiate WMFactory in the contructor + loading plugin object from cache
Add TransferDummyData class
Other things
fixes #604, #349, #338
from crabserver.
Related Issues (20)
- #813: Test dev CRABClient using test2 REST instance and CMSSW_13_0_2 CMSSW release HOT 8
- checktaperecall - sometimes fails without clear cause HOT 4
- Improve PyPI images building process HOT 2
- #814: Test dev CRABClient using test2 REST instance and CMSSW_13_0_2 CMSSW release HOT 7
- RUCIO_Transfers should store also scope in filetransfersdb HOT 2
- rationalize configurations and common functions
- adapt Publisher_rucio to have rucio scope:name in tm_dbs_blockname HOT 2
- fix /opt/rucio/etc/rucio.cfg in pypi contaiiners
- [PyPI] Use local timezone for all images HOT 2
- avoid exiting container on command error HOT 4
- Change entrypoint of TW process to simple binary script
- keep tmp directory in TW only for 6 hours
- #815: Test prod CRABClient using test12 REST instance and CMSSW_13_0_2 CMSSW release HOT 7
- make text select via mouse for copy/paste work in pypi container
- stop extending TapeRecall rule when data is on disk HOT 3
- new DN for cmscrab service account
- FTS_Transfer does not handle external connection and bookkeeping properly, caused some files to be stale in the state "SUBMITTED" HOT 7
- incorrect handling of partial dataset
- Change entrypoint of Publisher process to simple binary script
- #816: Test prod CRABClient using preprod REST instance and CMSSW_13_0_2 CMSSW release HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crabserver.