couchbase-xdcr

Designs and operates Couchbase XDCR replication between clusters for multi-region synchronization and disaster recovery.

4|1|Updated May 28, 2026
One-click install
npx skills add https://github.com/celticht32/Couchbase-Skills-for-Claude.ai --skill couchbase-xdcr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: couchbase-xdcr
Source: https://github.com/celticht32/Couchbase-Skills-for-Claude.ai/tree/main/skills/couchbase/couchbase-xdcr
Command: npx skills add https://github.com/celticht32/Couchbase-Skills-for-Claude.ai --skill couchbase-xdcr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you design, configure, monitor, and troubleshoot Couchbase XDCR so data can stay synchronized across clusters and regions with the right conflict strategy and performance settings.

Core Features & Use Cases

  • Topology selection: Choose between active-passive, active-active, hub-and-spoke, or cascade replication based on your availability and consistency needs.
  • Replication setup and tuning: Create remote cluster references, define replications, apply filters, and adjust throughput, priority, and bandwidth controls.
  • Conflict handling and operations: Understand last-write-wins, custom conflict resolution, conflict logging, replication lag, and troubleshooting signals such as changes_left and docs_failed_cr_source.
  • Use case: Use this Skill when you need to keep two or more Couchbase clusters in sync for disaster recovery, regional writes, or global read locality.

Quick Start

Ask for an XDCR plan for your Couchbase clusters, including the best topology, replication settings, conflict strategy, and monitoring checks for your deployment.

Frequently Asked Questions about couchbase-xdcr

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

FAQPage Schema
How do I set up Couchbase XDCR replication for disaster recovery?

Couchbase XDCR replication for disaster recovery is set up by creating remote cluster references, defining bucket-level replications, and selecting an active-passive topology to synchronize data across regions.

What is the best Couchbase XDCR topology for multi-region active-active deployments?

The best Couchbase XDCR topology for multi-region deployments depends on your consistency needs, with active-active supporting regional writes, hub-and-spoke centralizing synchronization, and cascade chaining clusters to optimize availability.

How does conflict resolution work in Couchbase cross datacenter replication?

Conflict resolution in Couchbase cross datacenter replication works by applying last-write-wins rules or custom conflict resolution logic, with conflict logging to track documents failing source-side checks during multi-region synchronization.

Why does my Couchbase XDCR replication lag and show changes left?

Couchbase XDCR replication lag and a persistent changes_left count indicate throughput or bandwidth bottlenecks, requiring diagnostic checks for replication failures and adjustments to filtering, priority, or bandwidth controls.

Can I apply filters to Couchbase XDCR bucket replications?

Yes, you can apply filters to Couchbase XDCR bucket replications to control which documents synchronize across remote cluster references, alongside tuning throughput, priority, and bandwidth to optimize cross-region replication performance.

What are the limitations of last-write-wins conflict resolution in Couchbase XDCR?

Last-write-wins conflict resolution in Couchbase XDCR can result in data loss during concurrent active-active writes, making custom conflict resolution necessary when strict consistency across multi-region clusters is required.