You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/logtail
Joe Tsai 6f55309f34
logtail/filch: fix panic in concurrent file access (#18555)
In the event of multiple Filch intances being backed by the same file,
it is possible that concurrent rotateLocked calls occur.
One operation might clear the file,
resulting in another skipping the call to resetReadBuffer,
resulting in a later panic because the read index is invalid.
To at least avoid the panic, always call resetReadBuffer.

Note that the behavior of Filch is undefined when using the same file.
While this avoids the panic, we may still experience data corruption or less.

Fixes #18552

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
1 day ago
..
example all: remove AUTHORS file and references to it 6 days ago
filch logtail/filch: fix panic in concurrent file access (#18555) 1 day ago
.gitignore Move Linux client & common packages into a public repo. 6 years ago
README.md Move Linux client & common packages into a public repo. 6 years ago
api.md Switch logging service from log.tailscale.io to log.tailscale.com (#14398) 1 year ago
buffer.go all: remove AUTHORS file and references to it 6 days ago
config.go all: remove AUTHORS file and references to it 6 days ago
logtail.go all: remove AUTHORS file and references to it 6 days ago
logtail_omit.go all: remove AUTHORS file and references to it 6 days ago
logtail_test.go all: remove AUTHORS file and references to it 6 days ago

README.md

Tailscale Logs Service

This github repository contains libraries, documentation, and examples for working with the public API of the tailscale logs service.

For a very quick introduction to the core features, read the API docs and peruse the logs reprocessing example.

For more information, write to info@tailscale.io.