Giter Club home page Giter Club logo

Comments (7)

DMWMBot avatar DMWMBot commented on July 28, 2024

riahi: Patch to review is enclosed to the ticket.

Cheers
Hassen

from crabserver.

drsm79 avatar drsm79 commented on July 28, 2024

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.

DMWMBot avatar DMWMBot commented on July 28, 2024

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.

drsm79 avatar drsm79 commented on July 28, 2024

metson: I think there's two tests we need:

  1. a disconnected test that is purely a metadata operation (e.g. what LoadDummyData does).
  2. 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.

DMWMBot avatar DMWMBot commented on July 28, 2024

riahi: yeah it makes sens...I'll the patch later in this ticket.

from crabserver.

DMWMBot avatar DMWMBot commented on July 28, 2024

riahi: Please review. The patch enclosed to the ticket.

from crabserver.

drsm79 avatar drsm79 commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.