Skip to content

[TASK][Timpani-n] Notify connected nodes of shutdown聽#126

Description

@LGSI-KarumuriHari

馃摑 Task Description

Coordinate shutdown across distributed nodes via notification.

馃搵 Checklist

  • Implement shutdown notification message
  • Send notification to timpani-o orchestrator
  • Notify peer timpani-n nodes if applicable
  • Wait for acknowledgment with timeout
  • Proceed with shutdown after notifications
  • Handle notification failures gracefully

馃敆 Related Requirement

Relates to #23 (Signal Handling)
Relates to #15 (Implement Signal Handling)
Relates to gRPC communication

馃搻 Implementation Guidelines

  • Functional Requirement: FR-7.3.4 - Notify connected nodes of shutdown
  • Component: timpani-n/Execution Layer/Signal Handler
  • Send shutdown notification via gRPC to timpani-o
  • Include node ID and shutdown reason
  • Allow brief timeout for notification (e.g., 1 second)
  • Proceed with shutdown even if notification fails

馃И Testing Method

  • Unit test: Verify notification message format
  • Integration test: Test notification delivery
  • Network failure test: Test shutdown with network down

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions