[Bucardo-general] Upgrade procedure and diff for small typo in bucardo_ctl list goat

Goran Gugic goran.gugic at gmail.com
Thu Jun 25 13:19:44 UTC 2009


Today after doing a git pull I have run into a bit of a problem that
bucardo_ctl upgrade
didn't solve
( symptoms:
[1245927871]  KID Warning! Child for sync "sync2" ("master" -> "dev2") was
killed at line 3941: DBD::Pg::st execute failed: ERROR:  relation
"bucardo.bucardo_truncate_trigger" does not exist at
/usr/local/share/perl/5.10.0/Bucardo.pm line 3941.
)

After I did
SELECT validate_sync(<syncname>);
for the syncs that I was going to use it seems fixed.

However, that makes me wonder if I should have run some other
validations/etc... Is the upgrade procedure mentioned anywhere in docs? If
not could we have it in INSTALL?

Noticed a small typo in passing which made bucardo_ctl list goat missreport
the has_delta

index 8e78110..b512885 100755
--- a/bucardo_ctl
+++ b/bucardo_ctl
@@ -1197,7 +1197,7 @@ sub list_goats {
                        $row->{db},
                        $row->{ping} ? 'Yes' : 'No',
                        $row->{makedelta} ? 'Yes' : 'No',
-                       $row->{hasdelta} ? 'Yes' : 'No';
+                       $row->{has_delta} ? 'Yes' : 'No';
        }

        exit;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20090625/df710fd1/attachment.html 


More information about the Bucardo-general mailing list