-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add rse=ALL_DOCS to the MSUnmerged info REST API. #11025
Add rse=ALL_DOCS to the MSUnmerged info REST API. #11025
Conversation
Jenkins results:
|
4391ccd
to
9b4abed
Compare
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.
This code looks good to me, Todor. I left a question along the code though.
Similar to the PR title, could you please update the commit message to something more meaningful?
mongoProjection = { | ||
"_id": False, | ||
"name": True, | ||
"isClean": True, |
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.
Don't you want to have rucioConMonStatus
attribute on this query as well?
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.
That's a good idea actually. Let me add it into the projection before we merge. And I will also update the commit message.
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.
Done
Add type check of kwargs[rse]. Add rucioConMonStatus to the MongoDBProjection for rse=ALL_DOC.
9b4abed
to
d7e4714
Compare
Thanks for the quick review @amaltaro ! I just added |
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.
Thanks Todor.
Fixes #10995
Status
ready
Description
With the current PR we implement ad a simple addition of
rse=ALL_DOCS
to the info REST API for MSUnmerged, so that we can get the counters for all the RSEs with thegfal
errors.NOTE:
This will not get the whole document stored in MongoDB. This interface is to serve only for collecting all
gfal
errors for all RSEs.Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
None