-
Notifications
You must be signed in to change notification settings - Fork 183
[9.1] Add DiracX support into the database. #8196
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
base: integration
Are you sure you want to change the base?
[9.1] Add DiracX support into the database. #8196
Conversation
e5e6870
to
e4c3e28
Compare
e4c3e28
to
3bb6ac8
Compare
c62bd16
to
70d6ea4
Compare
70d6ea4
to
5f54d5a
Compare
`AccountingSent` ENUM('True','False') NOT NULL DEFAULT 'False', | ||
PRIMARY KEY (`PilotID`), | ||
KEY `PilotJobReference` (`PilotJobReference`), | ||
KEY `PilotStamp` (`PilotStamp`), |
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.
Should drop DEFAULT ''
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.
And make it unique
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.
Can't be unique in DIRAC:
- DIRAC creates a pilot with a reference
- CEs generate stamps and returns to DIRAC
- DIRAC associates these stamps with pilots
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.
To be refactored in DiracX as stamps are the primary indentifier
5f54d5a
to
3a12e74
Compare
Is this PR useful? It only adds a key for pilot stamps I mean, as we move the secret table into DiracX auth, normally the database is automatically created without the need to implement it in DIRAC? POC: https://github.com/DIRACGrid/DIRAC/actions/runs/16797372818/job/47570725488?pr=8279 working without adding the DB in DIRAC. |
I also doubt it is needed. |
Maybe just keep the Key for performance improvment ? |
BEGINRELEASENOTES
*WMS
FIX: Add future DiracX Pilots DB (support for secrets)
ENDRELEASENOTES