-
Notifications
You must be signed in to change notification settings - Fork 492
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
Rsync: File upload not completing due to lock error when adding package. #4605
Comments
@pdurbin Thanks between 4.8.2 and 4.8.1 releases is a good starting point. We're running a hybrid that's got some 4.8.3 features in it as well. |
Remembered that this was working sufficiently in Jan to find file PID / package file issues #2438 (comment). Needs more investigation. |
Reproducible in fresh branch off develop from 747b83c . Didn't mention which commit I was checking in file PID branch, but 16c4ece looks to be a reasonable starting place. Stock DV install, stock DCM install; docker-aio extended w\ docker-compose for DCM system testing (still a rough edge or two to file off there). |
Still investigating - potentially another factor involved. |
The additional factor appears to be API vs UI. Using the API to create the dataset and retrieve the transfer script works as expected. Using the API to create the dataset and retrieve the transfer script results |
Attempting to narrow down source of error: create via API, download script via UI results in the uncleared lock on DCM success API call (aka - this path shows the bug). create via UI, download script via API does not result in uncleared lock on DCM success API call (aka - this path does not show the bug). Suggests that the difference is in |
Potential for #4614 to be useful for addressing this. |
…potential duplicate lock issue. (#4605)
@pameyer I see you left a comment at #4697 (comment) but you didn't advance this issue to QA. Do you think it belongs in QA? Do you think another developer should take a look first? Do you think @landreev or someone should work on the duplications you mentioned? Do you want to just give us a brain dump the next time you're at standup? 😄 |
I think another developer should take a look first - the duplication messages look like something that will only effect administrative users, so I don't think fixing them is high priority. |
While testing the multiple storage PR #4585 , discovered that the rsync file upload process has stopped working. It gets hung up trying to add the package to the dataset with a lock error. File is processed into a package directory so that part worked. Batch error log:
INFO: Job ID = 67
INFO: Job Name = FileSystemImportJob
INFO: Job Status = STARTED
INFO: Dataset Identifier (datasetId=40): ZX5GAA
INFO: User Identifier (userId=dataverseAdmin): @dataverseAdmin
INFO: Import mode = MERGE
INFO: Checksum type = SHA1 (FileSystemImportJob.xml property)
INFO: Checksum manifest = files.sha (FileSystemImportJob.xml property)
INFO: Reading checksum manifest: /usr/local/glassfish4/glassfish/domains/domain1/files/10.5072/FK2/ZX5GAA/ZX5GAA/files.sha
INFO: Checksums found = 1
INFO: Size parameter supplied: 72
INFO: Reading dataset directory: /usr/local/glassfish4/glassfish/domains/domain1/files/10.5072/FK2/ZX5GAA/ZX5GAA (excluding: .DS_Store, .sha, *.cached)
INFO: Files found = 1
INFO: Successfully created a file of type package
SEVERE: CommandException updating DatasetVersion from batch job: Dataset cannot be edited due to dataset lock.
INFO: Files read = 1
SEVERE: Job Failed. See Log for more information.
The text was updated successfully, but these errors were encountered: