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

Fix checkdatabase kw database check task #535

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

bruno-at-orange
Copy link
Contributor

@bruno-at-orange bruno-at-orange commented Jan 15, 2025

Fix 2 bugs from #460:

  • checkdatabase_KWDatabaseCheckTask
  • checkdatabase_KWFileIndexerTask

See the commit for a description

Copy link
Collaborator

@marcboulle marcboulle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Et j'ai vu que tu avais ajouté un commentaire dans l'issue #460: parfait

* Start and stop task progression when aggregate after errors

In parallel tasks, when an error occurs, the master send the order to stop slaves.
The master may receive messages already sent and then it is possible to launch the aggregation.
In that case we have to encapsulate the aggregate process in a progression task in order to pass the assertions

* In KWFileIndexerTask::MasterFinalize

Move an assertion in the if (bProcessEndedCorrectly) block.
It was wrongly triggered in a user interruption/
@bruno-at-orange bruno-at-orange force-pushed the fix_checkdatabase_KWDatabaseCheckTask branch from e6917a0 to 8f58391 Compare January 16, 2025 07:11
@bruno-at-orange bruno-at-orange merged commit fc99324 into dev Jan 16, 2025
23 checks passed
@bruno-at-orange bruno-at-orange deleted the fix_checkdatabase_KWDatabaseCheckTask branch January 16, 2025 07:26
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

Successfully merging this pull request may close these issues.

2 participants