-
Notifications
You must be signed in to change notification settings - Fork 193
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
Barman stop WAL archiving after creating empty file #962
Comments
@ch9hn to be sure, this is not happening on AWS but on Scaleway right? |
Hello, |
@ch9hn seems to me that this is a compatibility issue on the Scaleway side. Some others like Scaleway have a different behavior on their side to certain calls, so they are not fully compatible. I went through the wal-archive code and Barman doesn't do anything specific or strange:
Somehow during this sequence of actions, on the Scaleway side an empty file with the same name as the server name (at least this I can see on your images) is created, disrupting the upload in the correct directory. here is the call chain:
Seems to me that Scaleway handles the upload path differently from Amazon s3. Please note that Barman officially supports Amazon s3 only and is not possible for us to test Barman on all the s3-compatible services (that are, unfortunately, a lot). |
Thank you very much for that extensive explaination. Update: cc: @ivanwel |
We are running into an issue with the archiving of WAL files with cloudnative-pg.
In the very beginning Barman writes WAL files to the S3 Object Bucket and is then creating a plain file with the folder name inside the Bucket. After that no write happens again to the Bucket.
We are getting the following errors:
Before delete of the file:
After delete:
As you see, a new WAL file is written and after that the write stops again.
The text was updated successfully, but these errors were encountered: