mountpoint-s3 does not allow reading file content

0

Hello, I am using mountpoint-s3 in rhel9 for an application to deposit logs, but when I want to read those logs(cat file.log) at the operating system level it tells me that the operation is not allowed because the file is in use, how can I change this behavior so that allow me to read the file in use?

Apr 18 18:13:27 ip-10-191-171-253 mount-s3[169850]: [WARN] open{req=953588 ino=4 pid=1642821 name=xyxyx.log}: mountpoint_s3::fuse: open failed: inode error: inode 4 (full key "bucket/prefix/xyxyx.log") is not readable while being written Apr 18 18:13:28 ip-10-191-171-253 mount-s3[169850]: [INFO] mountpoint_s3::metrics: fuse.op_failures[op=open]: 1

1개 답변
2
수락된 답변

Hello, this seems expected behavior based on the following reference and the error message. You may create a GitHub issue for a feature request.

https://github.com/awslabs/mountpoint-s3/blob/main/doc/SEMANTICS.md#consistency-and-concurrency

  • New files that are being written are not available for reading until the writing application closes the file and Mountpoint finishes uploading it to S3
psp
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
profile picture
전문가
Steve_M
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠