Comments (6)
Behavior is a bug, but I don't think the problem is necessarily in Tier0 code, more in how Tier0 code and WMCore code interacts. @amaltaro , what triggers input fileset for a task closing? The Tier0 case is special in that we inject files over an extended period of time and we need to control when the fileset is being closed.
Alternatively, if this isn't possible, I can also rework the Tier0 logic to completely ignore the closed flag for the fileset and just inject new data anyways and trigger closeout some other way.
from t0.
Dirk, this is the DAO querying for filesets that can be closed:
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WMBS/MySQL/Fileset/ListClosable.py
trying to make sense of this query in plain english:
- workflow entry needs to be injected or have that alt_fs_close=1 (L22)
- have 0 running jobs, i.e., no jobs in a state != cleanout (L35)
- have 0 files acquired - wmbs_sub_files_acquired
- have 0 files available - wmbs_sub_files_available
- and, of course, be open :)
Did I miss anything?
BTW, since the T0 agent doesn't run WorkQueue/WMBSHelper code, the only place responsible for setting a fileset to open or not is in the JobArchiverPoller component.
from t0.
The original design was that the Tier0 controlled when a workflow was set to injected, we only did it when all the data from P5 was transferred and the bookkeeping consistent,
Guess I have to check that code. Could still be operational problems, i.e. P5 bookkeeping and transfers were changed after the fact.
from t0.
Those files were transferred some time later than the rest of streamer files from those two runs.
Therefore, it could still be some operational problems at P5.
from t0.
Yes, but late transfer in itself wouldn't have the Tier0 mark the workflow as injected. As far as I remember, it does check for bookkeeping consistency as well, i.e. it should know if there is still data to be transferred.
from t0.
As we haven's seen this issue in years, I'll close this issue
from t0.
Related Issues (20)
- Cleanup script needs to check if run is active or not HOT 11
- change the wmbs_location_senames table HOT 2
- Report Repacked Files For Unclosed Runs HOT 1
- fix Express AlcaSkim task to use single core HOT 1
- Run tests in CI
- Where is the real Tier0 config? HOT 6
- Create the change for Tier0 on PNN, PSN mapping. HOT 2
- Consider throwing in case of duplicate data set definitions in Tier0 config
- Overriding SoftTimeout and GracePeriod ? HOT 25
- Versioning T0 replay runs when the same run is used more than once HOT 9
- Condition_t is not working properly HOT 1
- Tier0 and Rucio Subscriptions HOT 3
- SQL queries return unicode strings while CMSSW only accepts byte strings HOT 7
- Open files/urls with context manager HOT 3
- Update the T0 deployment script with the Rucio project metadata value HOT 1
- Replay test with 12_1_0_pre3 HOT 10
- Post description of Replay PR to HN
- Clean up Heavy Ion Config files HOT 2
- version #100 is not clear HOT 2
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 t0.