Skip to content
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

Fix how we evaluate whether DBS is global or not #9253

Closed
amaltaro opened this issue Jun 13, 2019 · 2 comments · Fixed by #9311
Closed

Fix how we evaluate whether DBS is global or not #9253

amaltaro opened this issue Jun 13, 2019 · 2 comments · Fixed by #9311

Comments

@amaltaro
Copy link
Contributor

While looking at this code:
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WorkQueue/DataLocationMapper.py#L24

which makes a couple of calls to figure out whether our DBS instance is talking to the global DBSServer instance or not, I noticed it calls getServerInfo, which does NOT exist either in the DBSReader nor in DbsApi.

The DBSReader instance has this attribute:

>>> d.dbsURL
'https://cmsweb-testbed.cern.ch/dbs/int/global/DBSReader/'

while the DbsApi has

>>> dbs.url
'https://cmsweb-testbed.cern.ch:8443/dbs/int/global/DBSReader/'

thus it's one less http request made to the DBSServer.

@amaltaro
Copy link
Contributor Author

@khurtado Kenyi, this one is supposed to be a simple issue. Can you please try to get it done before your day is over? I'll then add it to the next tag to be requested to Lina, tomorrow.

@amaltaro
Copy link
Contributor Author

I have a possible fix for it in: #9311

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants