[BP 7.2.1] - XDCR connection pre-check

Description

Discussed in AV-42129 – Capella would like an XDCR source/target connection pre-check feature for XDCR out of Capella instances to self-managed clusters.  A feature like this would be best to do in the Server, and it would also be useful for all customers (since all customers have to deal with networking, firewalls, etc).  

So, a connection pre-check  1) as an option that can be done when a remote is added and 2) as something that's done automatically when starting the replication.

Side note:   mentioned that Support (See duplicate ) has been wanting a feature like this as well since 2016, as XDCR source/target connection issues are not uncommon.

 
NH: 7.2.1 is probably a good vehicle needed for Capella intergration work.

 

Issue

Resolution

XDCR could fail due to multiple connection issues. For example, DNS issues or firewalls. For a number of databases, it was a difficult task to manually check every node to determine where the connection issue was. For multiple nodes in a database and in the target database, debugging the issue required many connection checks.

A connection pre-check feature has been added to XDCR which ensures all connections from source nodes to target nodes are valid. Credentials are now also checked.

Components

Affects versions

Fix versions

Labels

Environment

None

Release Notes Description

None

Activity

Ayush Nayyar July 31, 2023 at 6:20 AM

Tested and verified on 7.2.1-5861.

CB robot June 23, 2023 at 6:05 PM

Build couchbase-server-7.2.1-5816 contains goxdcr commit 2f64d9b with commit message:
: Connection Pre-Check feature

CB robot June 23, 2023 at 6:05 PM

Build couchbase-server-7.2.1-5816 contains goxdcr commit bbfd6dc with commit message:
: p2p getReqFunc should be called with source and target hostnames

Sumukh Bhat June 20, 2023 at 7:00 PM

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Issue Impact

external

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 6, 2023 at 5:43 PM
Updated March 21, 2025 at 7:42 PM
Resolved June 23, 2023 at 5:23 PM
Instabug