-
Notifications
You must be signed in to change notification settings - Fork 829
Closed
Labels
storage/blocksBlocks storage engineBlocks storage engine
Description
Describe the bug
We are seeing error message like
level=error ts=2020-12-15T21:33:44.395830698Z caller=ingester_v2.go:1623 msg="failed to delete idle TSDB" user=some-user-id err="unlinkat /data/tsdb/some-user-id: directory not empty"
We are using this commit
To Reproduce
I am not sure
Expected behavior
A clear and concise description of what you expected to happen.
Environment:
- Infrastructure: EKS
- Deployment tool: Helm
Storage Engine
- [ X ] Blocks
- Chunks
Additional Context
The error happens during a call to os.RemoveAll()
call, research shows that RemoveAll()
might return "directory not empty" error if file are created under the directory while the removal process is on going. So I am wondering if there is any background process in ingester that maybe interfering with the local TSDB deletion process?
Metadata
Metadata
Assignees
Labels
storage/blocksBlocks storage engineBlocks storage engine