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 Resposta
2
Resposta aceita

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
respondido há um mês
profile picture
ESPECIALISTA
avaliado há um mês
profile picture
ESPECIALISTA
Steve_M
avaliado há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas