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

Change syncSource param to be a list of seeds #189

Closed gortiz closed 7 years ago

gortiz commented 7 years ago

At this moment, ToroDB Stampede has a configuration parameter called syncSource whose value is the seed Stampede uses to discover other nodes on the replica set. As explained on the devel email group, it may be a failure point if Stampede starts up when that sync source is down. To deal with that, the user needs to provide some scripts to detect the situation and then start Stampede with another seed. It would be nice to change the syncSource parameter to a list of seeds, so if the first one does not respond, Stampede would try the next one.

teoincontatto commented 7 years ago

193