mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2018-10-04
This commit is contained in:
@ -115,4 +115,20 @@ dc.contributor.author,cg.creator.id
|
||||
"Thornton, Phillip K.",Philip Thornton: 0000-0002-1854-0182
|
||||
```
|
||||
|
||||
## 2018-10-04
|
||||
|
||||
- Salem raised an issue that the dspace-statistics-api reports downloads for some items that have no bitstreams (like many limited access items)
|
||||
- Every item has at least a `LICENSE` bundle, and some have a `THUMBNAIL` bundle, but the indexing code is specifically checking for downloads from the `ORIGINAL` bundle
|
||||
- [10568/97460](https://cgspace.cgiar.org/handle/10568/97460) (100550): has a thumbnail bitstream
|
||||
- [10568/96112](https://cgspace.cgiar.org/handle/10568/96112) (96736): has only a LICENSE bitstream
|
||||
- I see there are other bundles we might need to pay attention to: `TEXT`, `@_LOGO-COLLECTION_@`, `@_LOGO-COMMUNITY_@`, etc...
|
||||
- On a hunch I dropped the statistics table and re-indexed and now those two items above have no downloads
|
||||
- So it's fixed, but I'm not sure why!
|
||||
- Peter wants to know the number of API requests per month, which was about 250,000 in September (exluding statlet requests):
|
||||
|
||||
```
|
||||
# zcat --force /var/log/nginx/{oai,rest}.log* | grep -E 'Sep/2018' | grep -c -v 'statlets'
|
||||
251226
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user