fix(server): back off commit retries after store failures; sharpen fault drill
The first dev drill showed a full volume driving ~140 refused publications a second. Commit retries now back off 100 ms doubling to a 2 s cap, reset on the next confirmed commit. fault-drill.sh reports the empty-volume pod's exit code, restarts and logs, and prints node-specific iptables rules for db-outage. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -149,6 +149,10 @@ template <typename State> class RegionHost {
|
||||
std::vector<FinalOutcome> outcomes_;
|
||||
std::vector<Dropped> dropped_;
|
||||
SchedulerTime origin_{}, batch_started_{};
|
||||
// Store failures back off: a failed commit is retried after retry_delay_, which
|
||||
// doubles to a cap and resets on the next confirmed commit.
|
||||
SchedulerTime retry_at_{};
|
||||
std::chrono::milliseconds retry_delay_{};
|
||||
std::uint64_t origin_tick_{};
|
||||
bool draining_{};
|
||||
HostStatus status_{};
|
||||
|
||||
Reference in New Issue
Block a user