$x->{dbh}->rollback();
$x->{dbh}->do('SET TRANSACTION ISOLATION LEVEL SERIALIZABLE READ WRITE');
+ $self->glog(qq{Set db "$dbname" to serializable}, LOG_DEBUG);
}
## We may want to lock all the tables
}
}
- $self->glog("Sequence from db $g->{winning_db} is the highest", LOG_DEBUG);
+ $self->glog("Sequence $S.$T from db $g->{winning_db} is the highest", LOG_DEBUG);
## Now that we have a winner, apply the changes to every other PG database
$deltacount{sequences} += $self->adjust_sequence($g, $sync, $S, $T, $syncname);
## For now, remove the bytea table type as we don't have full MySQL support yet
delete $tabletype{bucardo_test8};
-## Also cannot handle multi-column primary keys
-#delete $tabletype{bucardo_test2};
-
my $numtabletypes = keys %tabletype;
plan tests => 119;
$res = $bct->ctl($command);
like ($res, qr/Added sync "mysql"/, $t);
-## Start up Bucardo with this new sync
+## Create a second sync, solely for multi-sync interaction issues
+$bct->ctl('bucardo add dbgroup t1 A:source B C');
+$bct->ctl('bucardo add sync tsync1 herd=therd dbs=t1 ping=true');
+
+## Start up Bucardo with these new syncs
$bct->restart_bucardo($dbhX);
## Get the statement handles ready for each table type