Skip to content

Script to check for inconsistencies in sharding metadata regarding the db-primary shard for a database, based on the information from the changelog.

Notifications You must be signed in to change notification settings

jordist/mongo-check-db-primary-consistency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Reconciles the metadata in config.databases with the entries on config.changelog to spot inconsistencies in the dbPrimary information.

mongosh --port <mongos port> --file check-dbprimary-consistency.js

About

Script to check for inconsistencies in sharding metadata regarding the db-primary shard for a database, based on the information from the changelog.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published