-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing logs in query when using boltdb-shipper on local filesystem #3214
Comments
Hi! @woodytec , did you found/have any news from your end since your last Answer? Will keep you posted if I find something. But I also get a similar issue like you:
BR |
Could be that it was solved by this PR: #3300 |
Hi! Glad to hear I'm not the only one to face this issue :) The workaround I found was to go back to simple filesytem storage without using boltd-shipper, what gives, in terms of configuration: storage_config:
boltdb:
directory: '/path'
filesystem:
directory: '/otherpath' I do not face the issue anymore but I would enjoy going back to boltd-shipper if the problem is solved! KR, |
@woodytec , from my end, moving away from boltdb-shipper will bring back some old isssues we had(already forgot them, but they were gone once we moved to boltdb-shipper). I will give a try with the newest version(2.2, https://github.com/grafana/loki/releases/tag/v2.2.0) which includes the PR : #3300 From the BR description, this looks Promising:
|
@woodytec , fyi: so far, everything worked as expected with v2.2! :-) |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
I noticed that some queries did not give any output on some time ranges. After restarting Loki, the exact same query & time range give an output.
Steps to reproduce the behavior:
Loki configuration:
Expected behavior
The query should give an output, but it does not, as if they were no logs stored. After a restart, I finally got all the logs stored, without any gap, what means logs are effectively stored in Loki!
Environment:
Loki logs:
Having a look at Loki's logs gave me some informartion, however I have no idea what it is due to nor if this is linked to the bug I'm reporting:
I also get this type of error:
I'm not able to find any process using these files, except from Loki which is running with admin privileges.
Any idea from where it could come?
The text was updated successfully, but these errors were encountered: