Replies: 0 comments 10 replies
|
We would be in favour of this plan for the GridPP instance! Mentioning @marianne013 |
|
This was already discussed in #190 IIUC you are proposing to have the possibility of storing JobParameters also on MySQL. This should be controllable by the usual flag. We should keep OpenSearch for everyone that wants it. |
|
We would also be in favor of it for CC-IN2P3! |
|
What is the life span of job parameters if only kept in MySQL ? They are cleaned after the job is gone I guess. We use job parameters heavily as job traces for job patterns analysis. If this proposal, which certainly has good reasons, is accepted we will have to recopy them into a more persistent database, OS for example. This is not a large problem and not a show stopper if we decide to drop OS as a general diracx dependency |
@aldbr is it worth the effort? We are not going to reuse Job Parameters in diracx
@aldbr if we have to change the table, then why not having a table of static parameters where we define each parameter as an attribute of the table. They are not dynamic anymore and should no longer be I assume. There is an issue to streamline them: #653 (could be reopened if necessary) Discussions to be continued, ideally with a decision during next hackathon in January, it depends whether it would be a problem for installations if we say OpenSearch is mandatory, and months later we say "actually it's not mandatory anymore, we are moving away from it". |
Uh oh!
There was an error while loading. Please reload this page.
In DIRAC v9, we made OpenSearch a requirement almost exclusively for one the job parameters. In practice, parameters are only ever written, read by JobID, and deleted (we don't ever search in it really).
diracxonly ever writes in it, thesearchendpoint does not touch OS.How about replacing that with a JSON column directly in the JobDB ?
This simplify the life of a lot of community that have not yet migrated to v9.
It removes a lot of complexity in diracx (mapping an OS DB to SQL for tests, the chart mess, the dependencies, etc)
We don't have anymore this atomicity problem of storing into 2 different backends.
If it is needed (security tracability for example), some of these json field can be indexed and we can use Generated columns.
The other place where we use it is for Monitoring, but that is I believe an optional dependency in V9 even. LHCb uses it heavily for now, and in the future, with diracx, if we want to keep relying on OS, we can via the analytics/MQ systems.
Logs is a separate concern, as it anyway goes through MQ.
Thoughts ?
All reactions