torodb / stampede

The ToroDB solution to provide better analytics on top of MongoDB and make it easier to migrate from MongoDB to SQL
https://www.torodb.com/stampede/
GNU Affero General Public License v3.0
1.76k stars 118 forks source link

Be able to prioritize replication nodes #190

Closed gortiz closed 6 years ago

gortiz commented 7 years ago

At this moment, ToroDB Stampede decides the node to replicate from by the ping and the replication state of each one. But, as explained on the devel email group, it may be a failure point if Stampede starts up when that sync source is down, the user may want to prioritize some of them. For example, it can be interested to prioritize secondary nodes to reduce the preassure on the primary node.