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

Unnecessary queries to the deduping service #85

Open
bbusenius opened this issue Oct 15, 2019 · 4 comments
Open

Unnecessary queries to the deduping service #85

bbusenius opened this issue Oct 15, 2019 · 4 comments
Assignees
Labels

Comments

@bbusenius
Copy link
Member

Expected behavior

Queries to the deduping service should only be made if either there is an issns parameter or an sfx parameter.

The following are examples of good queries:

/cgi-bin/holdings?code=48976&function=holdings&callback=vufind&sfx=1000000000237586
/cgi-bin/holdings?code=48976&function=holdings&callback=vufind&issns=1762-6110

Actual behavior

Unnecessary queries are being made to the deduping service. The unnecessary queries look like this:

/cgi-bin/holdings?code=48976&function=holdings&callback=vufind 

These queries do not have issns or sfx parameters. If neither one of these is present, a query to the sfx service should not be made.

Related Files

  • module/UChicago/src/UChicago/AjaxHandler/GetDedupedEholdings.php
  • themes/phoenix/js/phoenix.js
  • module/UChicago/config/module.config.php
  • local/config/vufind/config_base.ini
@bbusenius bbusenius added the bug label Oct 15, 2019
@bbusenius bbusenius self-assigned this Oct 15, 2019
@fseatonuc
Copy link

I was doing some log analysis on the SFX server because of an outage we had yesterday (11/7) and I noticed that these null queries appeared to have started on 10/7. I didn't' look at the modification times on the code base, but does that make sense?

@bbusenius
Copy link
Member Author

It doesn't make sense to me. It looks like we added sfx numbers to the deduping service in January. That's when I would have expected it to start. I would have expected it to have been happening all along.

@fseatonuc
Copy link

Maybe Keith made a change in October that caused the behavior to change? I'll look at the logs some more.

@fseatonuc
Copy link

FYI - Keith confirmed today that the reason the null queries to the deducing service were passed through to the SFX server was from debugging code that got activated on 10/7. He removed that code last week. Still, this bug (#85) should still be fixed.

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

No branches or pull requests

2 participants