When there are issues with underlying a linux guest storage, mostly in scenarios where the hypervisor loses connectivity or experiences extremely high latency with the NAS/SAN, the database can be in a corrupted state, which requires completely deleting the filesstorage queue, to allow otel to function (or even start running) again.
Steps to Reproduce
While a VM is running, try to remove it's storage beneath it, potentially in the middle of otel writing to the bolt filestorage.
This may also be caused by machines being improperly shut down (like power loss.)
Expected Result
Some data will be lost, but the filestorage extension will recover gracefully and be able to resume running.
Actual Result
The otelcol service attempts to start, but fails to do so when loading the filestorage extension. This requires manual intervention to delete the specific filestorage file that was corrupted, and then to start the service.
Component(s)
extension/storage/filestorage
What happened?
Description
When there are issues with underlying a linux guest storage, mostly in scenarios where the hypervisor loses connectivity or experiences extremely high latency with the NAS/SAN, the database can be in a corrupted state, which requires completely deleting the filesstorage queue, to allow otel to function (or even start running) again.
Steps to Reproduce
While a VM is running, try to remove it's storage beneath it, potentially in the middle of otel writing to the bolt filestorage.
This may also be caused by machines being improperly shut down (like power loss.)
Expected Result
Some data will be lost, but the filestorage extension will recover gracefully and be able to resume running.
Actual Result
The otelcol service attempts to start, but fails to do so when loading the filestorage extension. This requires manual intervention to delete the specific filestorage file that was corrupted, and then to start the service.
Collector version
0.106.1
Environment information
Environment
OS: Ubuntu 22.04 Compiler(if manually compiled): N/A, using https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.106.1/otelcol-contrib_0.106.1_linux_amd64.deb
OpenTelemetry Collector configuration
Log output
Additional context
No response