Skip to content

Conversation

@franksosa-stripe
Copy link

@franksosa-stripe franksosa-stripe commented Nov 13, 2025

Context

Backports this change to releases/3.x

Checklist

  • ./gradlew build compiles code correctly
  • Added new tests where applicable
  • ./gradlew test passes all tests
  • Extended README or added javadocs where applicable

…from stopping

Problem: mantis-agents that use dynamodb for master leadership can have their thread that monitors the leader killed. This results in the agent being unable to find the future leader until they are bounced.

Solution: Wrap the scheduled task in try-catch to catch any exceptions and ensure scheduling continues. Added proper error logging and metrics tracking for exceptions.
Committed-By-Agent: cursor
@franksosa-stripe franksosa-stripe changed the title [Draft] Fix dynamodb master monitor exception handling 3.x Fix DynamoDB Master Monitor exception handling 3.x Dec 5, 2025
@franksosa-stripe franksosa-stripe marked this pull request as ready for review December 5, 2025 18:19
@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Test Results

152 files  152 suites   9m 13s ⏱️
662 tests 651 ✅ 10 💤 1 ❌
663 runs  652 ✅ 10 💤 1 ❌

For more details on these failures, see this check.

Results for commit 659a0ed.

@andresgalindo-stripe andresgalindo-stripe merged commit 7cdd7fa into Netflix:releases/3.x Dec 5, 2025
3 of 5 checks passed
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