3 ms·
- Master database tells the slaves what to write But that's only an ad-hoc state of affairs; the only thing telling a database (in postgres, at least) that it'
by yjftsjthsd-h 6y ago
- Master database tells the slaves what to write
But that's only an ad-hoc state of affairs; the only thing telling a database (in postgres, at least) that it's a replica is that it has a couple of settings telling it what to replicate from, and if you remove those and restart (or otherwise trigger a failover), the replica becomes the new master.