Skip to content
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

Display the number of files that are not indexed #42

Closed
msm-code opened this issue Apr 4, 2020 · 1 comment
Closed

Display the number of files that are not indexed #42

msm-code opened this issue Apr 4, 2020 · 1 comment
Labels
needs more design Non-trivial design issues invoved. Ask maintainers before working on

Comments

@msm-code
Copy link
Contributor

msm-code commented Apr 4, 2020

Suggested in #19

It will also be nice-to-have to show the number of files that aren't indexed because ls /mnt/samples | wc -l != num_of_indexex_files.

Needs backend changes, redesign, and pondering if it's even in scope. I can see how it can be useful though (for example, as an alert when autoindex job fails)

@msm-code msm-code added zone:frontend needs more design Non-trivial design issues invoved. Ask maintainers before working on labels Apr 4, 2020
@msm-code
Copy link
Contributor Author

msm-code commented May 3, 2020

Ok, after a month I still don't have a good idea how to do this efficiently and in a way that will work with s3, multiple agents, multiple ursadb instances, etc. Just counting the files is a very expensive task, so we can't just do it every request, or even every hour.

If that's important to anyone, feel free to reopen and we'll reconsider 🤔

@msm-code msm-code closed this as completed May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more design Non-trivial design issues invoved. Ask maintainers before working on
Projects
None yet
Development

No branches or pull requests

1 participant