-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: missing -dir
flag for seaweedfs
#3991
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
base: master
Are you sure you want to change the base?
Conversation
Closes #3990 Data won't be persisted otherwise. Folks needs to re-create the volume.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3991 +/- ##
=======================================
Coverage 99.49% 99.49%
=======================================
Files 3 3
Lines 197 197
=======================================
Hits 196 196
Misses 1 1 ☔ View full report in Codecov by Sentry. |
can confirm - this PR fixes the issue with broken events details after sentry restart |
I edited section seaweedfs: added "-dir=/data" and rebuild seaweedfs and run systemctl restart docker.service, but error for request "GET /api/0/organizations/.../events/api:ae32c0b82b3c4027a08b76785ee9b279/ HTTP/1.0" 500 72" still persist. |
probably not, but please note that events before adding this fix, won't be recovered (all events details before fix will be lost as they were stored in you may verify whether
|
No need to rebuild, and everything before this patch is lost. One thing that we can do is to |
I did not find any *.dat files in /tmp and /data directory /data # ls -l As I see service is running with parameters:
In weed.ERROR now I see: E1008 14:14:28.394891 stream.go:107 request_id:09cf168c-ff00-4c40-8366-0c9847624658operation LookupFileId 3,702d12a1c7f0aa failed, err: urls not found How I can resolve this? Only purge volume with all data? ):
|
You didn't find any because you've rebuilt the Docker container and re-run it with the correct flag (by including the
Probably, I have no idea as well, this is the first time I encounter this issue. Taking everything aside, what's your |
But If I remove/wipe all /data and rebuild - new alerts will be writing and accessible? At now new alerts also can not find in storage:
config.yml:
In other words, what can be done to ensure that new "events" arrive and are read correctly, even if old ones are unavailable? |
Closes #3990
Data won't be persisted otherwise. Folks needs to re-create the volume.