experimental

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

This utility reseeds a target MongoDB database from a source replica set, then tails the change stream to reconcile new writes so the two stay in sync. go run experimental/replicate_mongo.go -src mongodb://root:password@localhost:27017/?replicaSet=rs0 -dst mongodb://root:password@192.168.100.21:27016/ -srcdb auth-gateway -dstdb auth-gateway -keep true

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL