isr-replication-drill

Simulate rolling-restart chaos drills to verify ISR replication and leader failover in RobustMQ clusters.

1.8k|249|Updated Aug 3, 2023
One-click install
npx skills add https://github.com/robustmq/robustmq --skill isr-replication-drill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: isr-replication-drill
Source: https://github.com/robustmq/robustmq/tree/main/.claude/skills/isr-replication-drill
Command: npx skills add https://github.com/robustmq/robustmq --skill isr-replication-drill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simulates a rolling-restart chaos drill for RobustMQ replicas, allowing users to verify ISR (In-Sync Replica) replication, leader failover, and recovery.

Core Features & Use Cases

  • ISR Replication Verification: Checks replica replication, leader failover, and recovery after rolling restarts.
  • Chaos Simulation: Simulates kill-one-node + write + restart + verify across a 3-replica shard.
  • Use Case: Ideal for users who want to ensure their 3-replica shard is functioning correctly and to verify the system's behavior under churn.

Quick Start

Run the isr-replication-drill skill to perform the chaos drill on your RobustMQ cluster.

Frequently Asked Questions about isr-replication-drill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test ISR replication and leader failover in a RobustMQ cluster?

You can test ISR replication by running a rolling-restart chaos drill that kills one node, continues writes, restarts the node, and verifies replica recovery and leader failover.

What is a rolling-restart chaos drill for replica health checks?

A rolling-restart chaos drill simulates killing a single node, writing data during the outage, restarting the node, and verifying ISR replication and leader failover across a 3-replica shard.

Do I need a specific cluster size to verify RobustMQ disaster recovery?

Yes, verifying RobustMQ disaster recovery requires a running 3-node RobustMQ cluster along with specific configuration files to properly execute the rolling-restart chaos scenario.

Can I simulate a node failure and write traffic simultaneously for cluster testing?

Yes, this chaos simulation kills one node in a 3-replica shard, continues write traffic during the outage, restarts the node, and verifies ISR replication and recovery under churn.

Why does leader failover need to be tested under churn in a 3-replica shard?

Testing leader failover under churn verifies that ISR replication correctly maintains data consistency and system availability when a single node is killed and restarted within a RobustMQ cluster.