这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix:When deleting a knowledge base that is currently performing a parsing task, the parsing queue will not be deleted! #9018

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Woody-Hu
Copy link
Contributor

What problem does this PR solve?

#8995

Type of change

  • Bug Fix (non-breaking change which fixes an issue)

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. 🐞 bug Something isn't working, pull request that fix bug. labels Jul 23, 2025
@KevinHuSh
Copy link
Collaborator

Appreciations!

def remove_document(cls, doc, tenant_id):
cls.clear_chunk_num(doc.id)
try:

What about delete tasks here? And every task related to the doc should be deleted.

@Woody-Hu
Copy link
Contributor Author

Woody-Hu commented Jul 24, 2025

Appreciations!

def remove_document(cls, doc, tenant_id):
cls.clear_chunk_num(doc.id)
try:

What about delete tasks here? And every task related to the doc should be deleted.

Thanks, good idea, already finished

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working, pull request that fix bug. size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants