Comments (8)
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.
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.
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.
Thank you for investigation. In that case this ticket is a duplicate.
from irods_rule_engine_plugin_python.
@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.
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.
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.
Got it - right.
from irods_rule_engine_plugin_python.
Related Issues (20)
- Exiting with code -808000 does not actually stop code execution HOT 7
- a BytesBuf has a "void*buf" and "int len", but no means to set content HOT 3
- allow rodsuser to run a rule string HOT 1
- get plugin building and tests working on main branch
- Test Failure: `test_all_rules.Test_AllRules.test_rulemsiDataObjUnlink_r`
- core.py unable to import some Python Standard Library modules HOT 1
- FindPythonInterp.cmake and FindPythonLibs.cmake deprecated in CMake 3.12.
- Test not passing in 4-2-stable Python RE suite
- main branch fails to build against irods/irods main branch HOT 1
- CMake/Packaging references incorrect Python dependency HOT 3
- Python extension modules cannot find symbols in libpython due to RTLD_LOCAL HOT 25
- rulemsiDataObjPhymv.r does not use `msiDataObjPhymv` correctly (testing)
- Use `irods::get_irods_config_directory()`
- Use Boost's include wrapper for Python.h, and use python includes before any system includes HOT 1
- Add missing static PEP acPostProcForDataCopyReceived to core.py.template HOT 1
- irods_types.hpp needs Python.h for Python 3
- Invalid pointer free when error occurs inside of callback.msiSetKeyValuePairsToObj HOT 3
- IRODS_ERROR_PREFIX could be better
- DYNAMIC_PEP_RULE_REGEX is missing `except` and `finally`
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 irods_rule_engine_plugin_python.