Code Monkey home page Code Monkey logo

Comments (4)

nikmagini avatar nikmagini commented on June 13, 2024

Hi all,

IIUC the desired behavior is that all existing replicas of a file should be declared BAD when the LFN is passed as argument instead of the PFN, correct?

Should the file itself also be flagged in some way if all its replicas are BAD?

Thanks
N.

from rucio.

bari12 avatar bari12 commented on June 13, 2024

Yes, exactly. On the file itself I don't think that this has to be flagged, I think the necromancer daemon will do that then. @cserf maybe you can comment?

from rucio.

cserf avatar cserf commented on June 13, 2024

You just has to resolve the LFNs to the list of PFNs (list_replicas), then pass this list to declare_bad_file_replicas

from rucio.

nikmagini avatar nikmagini commented on June 13, 2024

OK.

Additional point: I can make the client resolve automatically if the user has passed LFN vs PFN.
But please let me know if you prefer instead that the user should specify this explicitly through an option.

from rucio.

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.