Wed Oct 5 18:05:26 PDT 2005
- Previous message: [Slony1-general] Time zones, clock sync and Slony
- Next message: [Slony1-general] Time zones, clock sync and Slony
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Andreas Pflug <pgadmin at pse-consulting.de> writes: > Having all machine's clocks in time sync is a requirement of slony > that seems quite obvious. Still, if this requirement is not met for > whatever reason (maybe an admin is 110 % sure ntpd is running, but it > stalled), things might get screwed up in a way that's not easy to > debug. > After a brief look at slon, it seems that local time is used for > checking timeouts only (the only insert into a timestamp column uses > now()), so problems from clock drift are unlikely to appear from > that. But databases servers still might deviate, how about a check in > slon that checks regularly if the servers in use are sufficiently in > sync? Maybe slon should even refuse to run/stop working if server > clocks (checked with now(), not timeofday()) are not sufficiently > in-sync. It seems an excellent idea to run some utility completely outside slon that checks for clock deviations and warns someone. I could see it being an interesting possiblity for that to lead to knocking down the slons, but that seems like a local policy that Slony-I doesn't need to impose itself. -- select 'cbbrowne' || '@' || 'ca.afilias.info'; <http://dev6.int.libertyrms.com/> Christopher Browne (416) 673-4124 (land)
- Previous message: [Slony1-general] Time zones, clock sync and Slony
- Next message: [Slony1-general] Time zones, clock sync and Slony
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list