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

Reindexing causing achievement count to double for previously processed notes #7

Open
Zachatoo opened this issue Dec 2, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Zachatoo
Copy link
Owner

Zachatoo commented Dec 2, 2022

Potential solutions:

  • Find some way to wait for indexing to be completed.
  • Reorder some of the initialization processes.
  • Hash table to verify if file has been processed already.
@Zachatoo Zachatoo added the bug Something isn't working label Dec 2, 2022
@Zachatoo Zachatoo assigned Zachatoo and unassigned Zachatoo Dec 2, 2022
@Zachatoo Zachatoo changed the title Reindexing causing achievement count to exponentially grow Reindexing causing achievement count to double for previously processed notes Dec 7, 2022
Zachatoo added a commit that referenced this issue Dec 7, 2022
@Zachatoo Zachatoo self-assigned this Dec 7, 2022
Zachatoo added a commit that referenced this issue Dec 8, 2022
Add hashed files to js Set.
Once file is processed, check Set and skip processing if already processed.
Remove notesDeleted achievement and stop listening to the metadataCache deleted event.
Zachatoo added a commit that referenced this issue Dec 8, 2022
Zachatoo added a commit that referenced this issue Dec 8, 2022
bigints and sets are not supported when saving data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant