You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server logs indicate a bug in the implementation of cleanDeletedFiles():
ERROR o.j.server.BackgroundJobPerformer - Job(id=2e94613b-a8cd-4196-8dc2-a504f1086b58, jobName='app.accrescent.parcelo.console.jobs.CleanDeletedFilesKt.cleanDeletedFiles()') processing failed: An exception occurred during the performance of the job
java.lang.IllegalStateException: Batch is empty
This appears to be the result of unconditionally sending object storage deletion requests even when there are no objects staged for deletion. This behavior is exhibited in both the S3 and GCS object storage providers:
Server logs indicate a bug in the implementation of
cleanDeletedFiles()
:This appears to be the result of unconditionally sending object storage deletion requests even when there are no objects staged for deletion. This behavior is exhibited in both the S3 and GCS object storage providers:
parcelo/console/src/main/kotlin/app/accrescent/parcelo/console/storage/S3ObjectStorageService.kt
Lines 121 to 141 in 0a517ad
parcelo/console/src/main/kotlin/app/accrescent/parcelo/console/storage/GCSObjectStorageService.kt
Lines 73 to 75 in 0a517ad
This can most likely be fixed by only sending the constructed deletion request if there is at least one object to delete.
The text was updated successfully, but these errors were encountered: