-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Getting error "Can not start filer" after restarting the server #277
Comments
Can you please attach the "dir.log" file if you can find it? btw, it's not recommended to have deep directories. |
These are the contents of I'm also attaching the whole What would you recommend to use as the directory structure? I've picked the current one because it makes it easy to go back and delete directories that represent a certain day. Slightly more about that here: https://github.com/evercam/evercam-api/wiki/File-Storage Would |
The dir.log is very helpful! I am going to fix it. Under one folder, this would work better: This is because there would not be many directories at all, avoiding many concurrent directory tree traversing. |
That's great news! If I was using a single directory, how could I delete e.g. all files saved today? In the current structure, I would simply use:
It would be great if wildcards were supported, so I could do something like:
|
ok. Maybe use the directory for now. The less number of directory, the better. We may add wildcard support later. But just don't count on it. |
As the previous issue (#273) got closed after the crashes were fixed, I'm making a new one specifically about the problem with the filer.
In short, if I upload 1 million files using filer and then restart the server this is the output I get:
The text was updated successfully, but these errors were encountered: