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

Coordination issue between the nodes #3693

Closed
Thidasala opened this issue Oct 24, 2024 · 0 comments · Fixed by #3737
Closed

Coordination issue between the nodes #3693

Thidasala opened this issue Oct 24, 2024 · 0 comments · Fixed by #3737
Labels

Comments

@Thidasala
Copy link

Thidasala commented Oct 24, 2024

Description

In a two node cluster, when we create scheduled tasks and inbound endpoints to consume messages from the Message Broker (MB), upon server startup, half of the tasks were scheduled on node1 (the coordinator) and the other half on node2 (the member). task_server_count as 2 as below mentioned.

[task_handling]
resolver_class = "org.wso2.micro.integrator.ntask.coordination.task.resolver.RoundRobinResolver"

[[task_resolver]]
task_server_count = "2"

When reviewing the WSO2_COORDINATION_DB, it seems tasks scheduled on node1 were present in the COORDINATED_TASK_TABLE. The tasks scheduled on node2 were missing from the database. As a result, the tasks scheduled on node2 were being pushed but never started on either node, leading to failures in task execution across the cluster.

Version

4.1.0.111

Environment Details (with versions)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant