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

[BACKPORT] Fix re-execution of completed task when killing the owner node #10010

Conversation

tkountis
Copy link
Contributor

@tkountis tkountis commented Mar 2, 2017

When a task is submitted to a key owner, and the task completes, we replace the runnable
with the result in the internal ring buffer. However, there is no backup-operation to sync
the result with the backup nodes. If the node shuts down gracefully then the replication
will properly handle it, but when the node is killed, the backup nodes still have the task
in their ring-buffer rather than the result, thus, we re-execute it.

Fix #9965

@tkountis tkountis added this to the 3.8.1 milestone Mar 2, 2017
@tkountis tkountis self-assigned this Mar 2, 2017
@devOpsHazelcast
Copy link
Collaborator

Test PASSed.

@tkountis tkountis force-pushed the fix/3.8.1/durable_executor_skip_reexecution_on_node_kill branch from 0d05a59 to 291856d Compare March 6, 2017 07:39
@devOpsHazelcast
Copy link
Collaborator

Test PASSed.

Copy link
Collaborator

@vbekiaris vbekiaris left a comment

Choose a reason for hiding this comment

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

👍

@tkountis tkountis merged commit c9bc4e5 into hazelcast:maintenance-3.x Mar 6, 2017
@tkountis tkountis deleted the fix/3.8.1/durable_executor_skip_reexecution_on_node_kill branch March 6, 2017 13:16
@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source: Internal PR or issue was opened by an employee Team: Core Type: Defect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants