Netflix / mantis

A platform that makes it easy for developers to build realtime, cost-effective, operations-focused applications
Apache License 2.0
1.42k stars 202 forks source link

DynamoDB leadership election: return leadership success status #687

Closed sarahwada-stripe closed 4 months ago

sarahwada-stripe commented 4 months ago

Context

DynamoDB leadership election: return leadership success status in tryToBecomeLeader.

We would like to capture leadership metrics. This change allows users to extend the class and inject instrumentation of the tryToBecomeLeader loop.

Also, small bug fix for dynamoDB delete where we are using the incorrect tablename.

cc @kmg-stripe

Checklist

github-actions[bot] commented 4 months ago

Test Results

534 tests  ±0   528 :white_check_mark: ±0   7m 51s :stopwatch: -2s 139 suites ±0     6 :zzz: ±0  139 files   ±0     0 :x: ±0 

Results for commit a037acb1. ± Comparison against base commit e11c26dc.