Fb4 RC1 synchronous replication to localhost hang on disconnect ---------------------------------------------------------------
Key: CORE-6497 URL: http://tracker.firebirdsql.org/browse/CORE-6497 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 4.0 RC 1 Environment: VM Centos 8 64bits, SELinux disabled fresh install 1 CPU, 2Gb RAM, 20Gb disk Reporter: Lucas Schatz Steps to reproduce: replication.conf: database = /db/primary.fdb { sync_replica = SYSDBA:*******@localhost:/db/replica.fdb } systemctl stop firebird mkdir /db chown firebird. /db rm /db/primary.fdb /db/replica.fdb -f systemctl start firebird echo "create database 'localhost:/db/primary.fdb';ALTER DATABASE ENABLE PUBLICATION; ALTER DATABASE INCLUDE ALL TO PUBLICATION;quit;" | /opt/firebird/bin/isql systemctl stop firebird cp -a primary.fdb replica.fdb gfix -replica read_write /db/replica.fdb systemctl start firebird echo "show table;quit;" | /opt/firebird/bin/isql localhost:/db/primary.fdb echo "show table;quit;" | /opt/firebird/bin/isql localhost:/db/replica.fdb echo "create table tb1 (a integer not null, constraint tb1_pk primary key (a));commit;quit;" | /opt/firebird/bin/isql localhost:/db/primary.fdb #Here the script hang on the quit; command and I need to pkill -9 both isql and firebird pkill -9 firebird; pkill -9 isql echo "show table;quit;" | /opt/firebird/bin/isql localhost:/db/primary.fdb #Table is created echo "show table;quit;" | /opt/firebird/bin/isql localhost:/db/replica.fdb #Table is replicated No error in replication.log nor firebird.log -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel