Code Monkey home page Code Monkey logo

Comments (6)

fatecyx avatar fatecyx commented on June 12, 2024

when a file was deleted, I saw in the log detected it.
Is there no change in this API (/api/archives/untagged) data source?

from lanraragi.

Difegue avatar Difegue commented on June 12, 2024

The Clean Database button does that.
image

from lanraragi.

fatecyx avatar fatecyx commented on June 12, 2024

I tried to execute this' clean database ', but it didn't work.

This API (/api/archives/untagged) still returns a large amount of data, and I have tagged all the files

from lanraragi.

Difegue avatar Difegue commented on June 12, 2024

In some cases clean will only unlink filesystem entries first before actually removing them -- Have you checked the API response? It should show counts for both deleted and unlinked entries.

from lanraragi.

fatecyx avatar fatecyx commented on June 12, 2024

oh...it seems has been solved...

yesterday, i excuted "clean database" and it clear some entries (not zero). then in the batch page, the api returns 3000+ results.
but now, I just executed it. it clear 0 entries, and the api returns 0 result

then I delete another file.
and execute "clean database" , return: {"deleted":1,"operation":"clean_database","success":1,"unlinked":0}
and the api return 1 result
but after some minutes, the api returns 0

i think it actually works

from lanraragi.

Difegue avatar Difegue commented on June 12, 2024

There's some delay as the statistic indexes are rebuilt after you hit clean DB - During that time you might indeed still see some outdated data.
I didn't think it'd be that noticeable though, probably yet another thing that gets worse as you have more files in storage 🤔

I'll move this to a discussion as there's no real bug here 👋

from lanraragi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.