Skip to content

STORM-4154 - fix: Nimbus downtime during topology deployment#3833

Merged
reiabreu merged 2 commits into
apache:masterfrom
DiogoP98:STORM-4154-nimbus-downtime-during-topology-deployment
Jan 14, 2025
Merged

STORM-4154 - fix: Nimbus downtime during topology deployment#3833
reiabreu merged 2 commits into
apache:masterfrom
DiogoP98:STORM-4154-nimbus-downtime-during-topology-deployment

Conversation

@DiogoP98

@DiogoP98 DiogoP98 commented Jan 13, 2025

Copy link
Copy Markdown
Contributor

What is the purpose of the change

When deploying or killing a topology in a distributed cluster, we occasionally encounter downtime on the Nimbus machines.
This issue occurs due to a race condition when syncing the blobs. On some machines, the key we are trying to fetch information for during the process of creating the state in ZooKeeper for a recently downloaded blob might disappear. This results in a Thrift exception that is not being handled properly, causing the Nimbus process to crash.

This PR addresses that issue, by handling the KeyNotFoundException error when creating the state in zookeeper.

Issue: https://issues.apache.org/jira/browse/STORM-4154

How was the change tested

Compiled the project, and tested the new version of the code in Nimbus machines, forcing Nimbus to download a non-existent key.

@reiabreu

Copy link
Copy Markdown
Contributor

Thanks for the PR @DiogoP98 !

@DiogoP98 DiogoP98 force-pushed the STORM-4154-nimbus-downtime-during-topology-deployment branch from 977fd65 to bdc3a13 Compare January 13, 2025 16:53
@reiabreu reiabreu merged commit af46999 into apache:master Jan 14, 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

Successfully merging this pull request may close these issues.

6 participants