|||||||||||||
|||||||||||||
I think I should clarify my intentions about this PR. - My goal is to add a unified `JournalSize` field. This field could be used to check the size of...
@ostinru I agree with you. Your approach seems to solve the problem with the race conditions, and I think it should be better than the approach with sentinels we had...
Additionally, I have added the `count-journals` option, so the users will not be surprised by new files in the `basebackups_005` directory :)
If I understand you correctly, "a" is the oldest one, and "c" is the newest one. The journal size represents the size of the binlogs/wals/oplogs that need to be applied...
The new approach encounters a problem with the `ListFolder` method of S3. This operation can become expensive if we have many instances of wal-g running simultaneously. The operation is used...
I must admit, I am not particularly fond of my own solution. Prior to my PR, there were N files for N backups. However, after my PR, there will be...
Okay, then I suggest to merge it and check how it will work. If we encounter problems with `ListFolder`, we can revert to our previous algorithm or consider devising a...