Description
XDCR Differ (https://github.com/couchbaselabs/xdcrDiffer) uses RevRPC to connect to metakv and retrieve the XDCR remote cluster references and replication specs as part of startup.
The issue started showing up today once I did a repo sync on my laptop.
To reproduce:
- Cluster_run with 2 clusters (1 node per cluster, named C1 and C2)
- C1 create B1, load some docs
- C2 create B2
- On C1, create XDCR replication to C2:B2.
- Download the differ, compile and run.
The command to run differ is something like:./runDiffer.sh -u Administrator -p <password> -h 127.0.0.1:9000 -s B1 -t B2 -r C2
The difftool output now shows errors like:
2022-11-29T17:22:38.844-08:00 WARN GOXDCR.MetadataSvc: metakv.ListAllChildren failed. path=/replicationSpec/, err=Get "http://127.0.0.1:9000/_metakv/replicationSpec/": CBAuth database is stale: last reason: EOF
|
and multiples of
2022/11/29 17:22:39 revrpc: Got error (EOF) and will retry in 1s
|