-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow numbers in data tier names #11930
Conversation
Jenkins results:
|
I hope that everybody understand that it will not be sufficient to patch the Lexicon.py since it is not used in DBS Go-based code (https://github.com/dmwm/dbs2go). Therefore, in order to make this data-tier acceptable in DBS someone should patch the Go-based code and update dbs2go in production. Current maintainer of DBS Go code is @todor-ivanov |
For the record in dbs2go codebase I ported Lexicon.py rules into independent JSON files. They are located at https://github.com/dmwm/dbs2go/tree/master/static and you can find tier patterns in the following lines:
All patterns should be properly adjusted. For the record, WM has long standing issue (#10614) about porting Lexicon rules from python code to independent format. Since we didn't address it now we must be careful with Lexicon changes as for python based code it is Lexicon.py file while DBS can't use it and therefore it relies on independent JSON format I pointed out above. |
Hi @vkuznet I'll look into that ASAP |
I think we should take this opportunity and make the dataset regex consistent with the datatier field as well, both in WMCore and in DBS. For instance, DBS defines (I guess it's the same as in the Lexicon) the dataset regex with a datatier field of up to 50 chars: while the datatier field is defined with up to 99 chars: The same situation applies to WMCore, which defines the datatier field in the dataset regex to be smaller than 50 chars: @germanfgv I would suggest to update the line above to up to 99 chars as well. |
5e54e80
to
a561268
Compare
I updated both |
Jenkins results:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, German. It looks good to me!
Fixes #11931
Status
ready
Description
In coming weeks Tier-0 will introduce
L1SCOUT
data tier. This requieres numbers in data tier namesIs it backward compatible (if not, which system it affects?)
YES
External dependencies / deployment changes