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

First reindex on a fresh database always does a full scan? #384

Open
fluffy-critter opened this issue May 28, 2020 · 0 comments
Open

First reindex on a fresh database always does a full scan? #384

fluffy-critter opened this issue May 28, 2020 · 0 comments
Labels
performance Issues pertaining to performance (both CPU and RAM)
Milestone

Comments

@fluffy-critter
Copy link
Collaborator

Expected Behavior

The second time indexing a database should be fast, due to the FileFingerprint check shortcutting the update

Current Behavior

For some reason it still reindexes every file, even though the FileFingerprint doesn't change. The next reindex goes quickly as expected.

Possible Solution

Steps to Reproduce (for bugs)

pipenv run flask reindex -f # goes slow, as expected
pipenv run flask reindex # goes slow, unexpectedly
pipenv run flask reindex # goes quickly

Context

@fluffy-critter fluffy-critter added the performance Issues pertaining to performance (both CPU and RAM) label May 28, 2020
@fluffy-critter fluffy-critter added this to the 1.0 milestone Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Issues pertaining to performance (both CPU and RAM)
Projects
None yet
Development

No branches or pull requests

1 participant