GithubHelp home page GithubHelp logo

Comments (8)

trel avatar trel commented on June 24, 2024

I am not sure the functionality/quality of the backupRescName keyWd (it should probably be deprecated)...
try using destRescName instead to define the target of the replication operation.

https://docs.irods.org/4.2.11/doxygen/reDataObjOpr_8cpp.html#a957a06d93d1100dceb5a497bb9d1253f

It's possible you've found a similar issue to #54 - but this sounds a bit different.

from irods_rule_engine_plugin_python.

ciklysta avatar ciklysta commented on June 24, 2024

I"ve just tried destRescName. There is no difference.

The linked bug arises only in case more threads are used. However this one indeed has different cause as it occurs even with numThreds=1.

from irods_rule_engine_plugin_python.

trel avatar trel commented on June 24, 2024

Upon further reading/consultation.... we think this is definitely the same as #54.

#54 was reported against 4.2.6 and 4.2.7, before we introduced logical locking in 4.2.9, which makes all data movement create a placeholder in the catalog first... like only parallel transfer did in 4.2.8 and before. This matches the scenario you're seeing above.

Pretty sure this is the reason... #1

  • a PREP-wide mutex getting wedged waiting on a child waiting on its parent.

Also explains why it works fine without coming through the Python rule engine plugin.

We'll test if whether that lock is still required/essential.

from irods_rule_engine_plugin_python.

ciklysta avatar ciklysta commented on June 24, 2024

Thank you for investigation. In that case this ticket is a duplicate.

from irods_rule_engine_plugin_python.

dworkin avatar dworkin commented on June 24, 2024

@trel @ciklysta This may be a duplicate of irods/irods#6622 instead of #54: the problem occurs when numThreads=1 and msiExecCmd is used with a python rule on the call stack.

from irods_rule_engine_plugin_python.

trel avatar trel commented on June 24, 2024

Oh, interesting...

Any chance you think that irods/irods#6622 is actually, itself, the same as #54?

In other words, should we now re-test #54 to see if it is still a deadlock with the new irods/irods#6622 codefix in place?

from irods_rule_engine_plugin_python.

dworkin avatar dworkin commented on June 24, 2024

Both issues deadlock on the same lock, both require a python rule on the call stack, but they are distinct. #54 deadlocks without using msiExecCmd.

from irods_rule_engine_plugin_python.

trel avatar trel commented on June 24, 2024

Got it - right.

from irods_rule_engine_plugin_python.

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.