Closed yarikoptic closed 1 year ago
note: sample asset is tiny in size:
❯ curl --silent -X 'GET' 'https://api.dandiarchive.org/api/dandisets/000026/versions/draft/assets/?path=sub-I60%2Fses-SPIM%2Fmicr%2Fsub-I60_ses-SPIM_sample-BrocaAreaS21_stain-Calretinin_chunk-02_SPIM.json&metadata=true' -H 'accept: application/json' | jq . | grep -e size
"size": 1226,
This appears to be related to #1365. We suspect there is a race condition somewhere that's causing Django to overwrite columns in the DB with stale data (in this case the sha256 hash, and in #1365's case, the status
field). Currently, we're looking into where exactly this race condition could be happening.
I found where the race condition is happening, and I'm able to reproduce missing sha256 bug locally. Looking into a fix now
awesome, thank you for digging and the update @mvandenburgh ! This is the best balm on my wound of watching failing CRON jobs!
previous issue of the kind in the chain of such issues: #1355 . It would be great to troubleshoot this issue to a complete resolution.
Backup of 000026 has just failed again with
So we have 244 assets with missing sha256. I do not recall seeing any SEntry report recently which might have hinted on some abnormal operation of the platform. Confirming for a sample asset: