by buboard · 6y ago · 0 comments
- Master database tells the slaves what to write
- Master clock tells slave the time
- Master HDD controls the computer , so indirectly controls secondary -- though in this case slave HDD is more auxiliary rather than subordinate (this terminology isnt used anymore anyway)
In any case, master/slave terminology is historical and generally unproblematic, except apparently in the US, but so many words are problematic for someone somewhere that it's not wise to go down that road
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.
When people use it for hardware and software, there's a tacit understanding that the power relationship must be preserved.
These two are diametrically opposed.
Once that happens, they are no longer master and slave, of course.