bb4e2f91356fc702968e701a02212a1e21787a00
rotate() closed the current file before attempting the rename+reopen, so when the reopen failed (a full disk, a permission change) every write afterward went to a closed *os.File and was silently dropped -- the sink stayed permanently broken rather than recovering once the transient condition cleared. Keep the old descriptor open across the rename/reopen and only close it once the new one is confirmed, so a write during (or after) a failed rotation always lands somewhere.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
132 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.7%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%