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

The index status of document/chunk is always running after celery worker restart #607

Open
Mini256 opened this issue Jan 20, 2025 · 0 comments

Comments

@Mini256
Copy link
Member

Mini256 commented Jan 20, 2025

Problem

During the index building process, the celery worker restart may result in an inconsistency between the celery task status in redis and the index status in the tidb, and the index status of the document/chunk is always in the running state.

Solution

Option 1

Using celery task status as the source of index build status

Option 2

Update the index status of uncompleted tasks to the correct status after the celery worker restarts

@sykp241095 sykp241095 changed the title The index status of document/chunk is always running after celert worker restart The index status of document/chunk is always running after celery worker restart Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant