[Bucardo-general] Should Bucardo Treat Deadlocks as Serialization Failures?
David E. Wheeler
david at justatheory.com
Sat Nov 3 22:34:54 UTC 2012
On Nov 3, 2012, at 3:03 PM, David E. Wheeler <david at justatheory.com> wrote:
> Looks good, though a bit redundant. I think there is now a bunch of other deadlock stuff that can be ripped out, too. Oh, and I think `upgrade` needs to add a row for the new setting.
>
> I can take care of this stuff on Monday (as well as test changes, if need be) unless you beat me to it. :-)
Oh, now getting a few test failures:
t/20-postgres.t .............. 247/526
# Failed test 'Kick pgtest3 yet again'
# at t/20-postgres.t line 313.
# 'Error running bucardo: Kick pgtest3: [1 s] KILLED!Use of uninitialized value $whydie in substitution (s///) at blib/script/bucardo line 4680.
# Use of uninitialized value $whydie in substitution (s///) at blib/script/bucardo line 4681.
# Use of uninitialized value $whydie in substitution (s///) at blib/script/bucardo line 4682.
# Use of uninitialized value $whydie in substitution (s///) at blib/script/bucardo line 4683.
# Use of uninitialized value in sprintf at blib/script/bucardo line 4684.
#
# Started:
# Ended: 2012-11-03 22:32:36.109105+00
# 2012-11-03 22:32:36.191581+00
#
#
# '
# doesn't match '(?^:^Kick\s+pgtest3:\s+(?^:\[0\s*s\]\s+(?:[\b]{6}\[\d+\s*s\]\s+)*)DONE!)'
Sync failed, no point continuing at t/20-postgres.t line 313.
# Looks like you planned 526 tests but ran 247.
# Looks like you failed 1 test of 247 run.
t/20-postgres.t .............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 280/526 subtests
t/40-customcode-exception.t .. 2/9999 # Looks like you planned 9999 tests but ran 3.
t/40-customcode-exception.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9996/9999 subtests
t/40-serializable.t .......... 22/27 Bailout called. Further testing stopped: Gave up waiting for notice "bucardo_syncsleep_serialtest1": timed out at 4 from line 95. Time=Sat Nov 3 15:33:24 2012
FAILED--Further testing stopped: Gave up waiting for notice "bucardo_syncsleep_serialtest1": timed out at 4 from line 95. Time=Sat Nov 3 15:33:24 2012
make: *** [test_dynamic] Error 255
I think part of it might be the two lines like this:
if ($sleeptime < 1) {
Shouldn’t they be
if ($sleeptime < 0) {
?
Best,
David
More information about the Bucardo-general
mailing list