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

删除临时文件目录错误 #2849

Open
yaoxuwan opened this issue Dec 12, 2024 · 0 comments
Open

删除临时文件目录错误 #2849

yaoxuwan opened this issue Dec 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working for test tested

Comments

@yaoxuwan
Copy link
Collaborator

User[xxx] PUT [/temporary/upload/xxx] from [Api] failed[DirectoryNotEmptyException]: [250102]/data/bkrepo/temp/b1java.nio.file.DirectoryNotEmptyException: /data/bkrepo/temp/b1
at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242)
at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1165)
at com.tencent.bkrepo.common.storage.util.PathExtensionsKt.delete(PathExtensions.kt:85)
at com.tencent.bkrepo.common.artifact.resolve.file.ArtifactDataReceiver.deleteTempFile(ArtifactDataReceiver.kt:455)
at com.tencent.bkrepo.common.artifact.resolve.file.ArtifactDataReceiver.close(ArtifactDataReceiver.kt:477)
at com.tencent.bkrepo.common.artifact.resolve.file.ArtifactDataReceiver.finishWithException(ArtifactDataReceiver.kt:373)
at com.tencent.bkrepo.common.artifact.resolve.file.ArtifactDataReceiver.handleIOException(ArtifactDataReceiver.kt:354)
at com.tencent.bkrepo.common.artifact.resolve.file.ArtifactDataReceiver.receiveStream(ArtifactDataReceiver.kt:258)
at com.tencent.bkrepo.common.artifact.resolve.file.stream.StreamArtifactFile.init(StreamArtifactFile.kt:172)
at com.tencent.bkrepo.common.artifact.resolve.file.stream.StreamArtifactFile.getFileSha256(StreamArtifactFile.kt:144)
at com.tencent.bkrepo.common.artifact.repository.context.ArtifactUploadContext.getArtifactSha256(ArtifactUploadContext.kt:192)
at com.tencent.bkrepo.common.artifact.repository.context.ArtifactUploadContext.getArtifactSha256$default(ArtifactUploadContext.kt:191)
at com.tencent.bkrepo.generic.artifact.GenericLocalRepository.onUploadBefore(GenericLocalRepository.kt:157)
at com.tencent.bkrepo.common.artifact.repository.core.AbstractArtifactRepository.upload(AbstractArtifactRepository.kt:126)
at com.tencent.bkrepo.generic.service.TemporaryAccessService.upload(TemporaryAccessService.kt:118)
at com.tencent.bkrepo.generic.controller.TemporaryAccessController.uploadByToken(TemporaryAccessController.kt:209)
at com.tencent.bkrepo.generic.controller.TemporaryAccessController$$FastClassBySpringCGLIB$$78e1a313.invoke()

@yaoxuwan yaoxuwan added bug Something isn't working backlog labels Dec 12, 2024
@yaoxuwan yaoxuwan self-assigned this Dec 12, 2024
yaoxuwan added a commit to yaoxuwan/bk-repo that referenced this issue Dec 12, 2024
@bkci-bot bkci-bot added for test and removed backlog labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working for test tested
Projects
None yet
Development

No branches or pull requests

2 participants