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
回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前
profile picture
エキスパート
Steve_M
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ