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

gefragt vor einem Monat391 Aufrufe
1 Antwort
2
Akzeptierte Antwort

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
beantwortet vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat
profile picture
EXPERTE
Steve_M
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen