commit | e06ba9031843b6a55df486f5115b6675d71e22f7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jan 24 12:13:14 2023 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jan 24 12:13:14 2023 +0100 |
tree | 8708d1e404d0e43f2c100b310ac98902e4e45199 | |
parent | fb9a4765b74cc18f25a6b732a66aae952262a7e0 [diff] |
DEV: haring: add a new option "-r" to automatically repair broken files In case a file-backed ring was not properly synced before being dumped, the output can look bogus due to the head pointer not being perfectly up to date. In this case, passing "-r" will make haring automatically skip entries not starting with a zero, and resynchronize with the rest of the messages. This should be backported to 2.6.