Gurjeet Singh singh.gurjeet at gmail.com
Wed Jul 7 11:22:17 PDT 2010
I haven't tested it, but from the diff it seems that slon_kill.pl message
still needs some fixing.

http://main.slony.info/viewcvs/viewvc.cgi/slony1-engine/tools/altperl/slon_kill.pl?r1=1.14&r2=1.15&diff_format=h

This might cause messages like:
<when killing watchdog>
No slon_watchdog _watchdog  is running for the cluster mycluster!

OR
<when killing slon>
No slon_watchdog   is running for the cluster mycluster!

Also, there are spurious spaces before the word "is"; 2 when killing
watchdog, and 3 when killing slon.

Regards,

On Fri, Jun 25, 2010 at 10:05 AM, Steve Singer <ssinger at ca.afilias.info>wrote:

> Gurjeet Singh wrote:
>
>> Hi All,
>>
>>    Attached is a patch of 2.0.3 with the following:
>>
>> 1) New script slonik_add_node. This adds the capability to add a node to
>> the cluster. This node could be from the fact that the config file was
>> edited to add new node's info, or maybe it was previously dropped from the
>> cluster.
>>
>
> This looks fine to me
>
>
>
>
>> 2) An enhancement to the slonik_drop_node script. The original version
>> assumed that $MASTERNODE is available for this operation to complete, but
>> that might not always be the case. Now one needs to specify an event_node#
>> which should be capable of sending the event notification to other nodes in
>> the cluster.
>>
>>
> This looks fine.
>
>
>
>     For backward compatibility the new parameter can be made optional.
>>
>> 3) A minor improvement to the message emitted by slon_kill, to
>> differentiate between when the Slon processes are being killed vs. when the
>> watchdog processes are being killed.
>>
>>
> I'd rather see  $watchdog_suffix passed as an argument to shut_off_process
> vs using a global argument.  I'd also encourage declaring watchdog_suffix
> with my.  I know the scripts don't currently work with 'use strict' but we
> should aim to get closer to that.
>
> Thanks for your patches.  If no one else has any concerns I'll plan on
> committing these to the 2.0 branch sometime next week.
>
>
>  Regards,
>> --
>> gurjeet.singh
>> @ EnterpriseDB - The Enterprise Postgres Company
>> http://www.enterprisedb.com
>>
>> singh.gurjeet@{ gmail | yahoo }.com
>> Twitter/Skype: singh_gurjeet
>>
>> Mail sent from my BlackLaptop device
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Slony1-hackers mailing list
>> Slony1-hackers at lists.slony.info
>> http://lists.slony.info/mailman/listinfo/slony1-hackers
>>
>
>
> --
> Steve Singer
> Afilias Canada
> Data Services Developer
> 416-673-1142
>



-- 
gurjeet.singh
@ EnterpriseDB - The Enterprise Postgres Company
http://www.EnterpriseDB.com

singh.gurjeet@{ gmail | yahoo }.com
Twitter/Skype: singh_gurjeet

Mail sent from my BlackLaptop device
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-hackers/attachments/20100707/9cdb27cf/attachment.htm 


More information about the Slony1-hackers mailing list