View Issue Details

IDProjectCategoryView StatusLast Update
0004320SymmetricDSBugpublic2020-03-17 18:43
Reporterelong Assigned Toelong  
Status closedResolutionfixed 
Product Version3.10.0 
Target Version3.11.7Fixed in Version3.11.7 
Summary0004320: MySQL upgrade gets sym_transaction_id_pre_5_7_6 does not exist
DescriptionSymmetricDS alters tables, runs the upgrade listener (which syncs triggers), and then createsRequiredDatabaseObjects. The syncing of triggers updates the triggers, but the triggers require the missing function that is created by createsRequiredDatabaseObjects. An update of sym_channel causes the triggers to fire prior to createsRequiredDatabaseObjects so you get the following error and SymmetricDS doesn't start.

org.jumpmind.db.sql.SqlException: FUNCTION storedb.sym_transaction_id_pre_5_7_6 does not exist
at org.jumpmind.db.sql.AbstractSqlTemplate.translate(
at org.jumpmind.db.sql.AbstractSqlTemplate.translate(
at org.jumpmind.db.sql.JdbcSqlTemplate.execute(
at org.jumpmind.db.sql.JdbcSqlTemplate.update(
at org.jumpmind.db.sql.AbstractSqlTemplate.update(
at org.jumpmind.symmetric.db.DatabaseUpgradeListener.afterUpgrade(
at org.jumpmind.symmetric.db.AbstractSymmetricDialect.createOrAlterTablesIfNecessary(
at org.jumpmind.symmetric.db.AbstractSymmetricDialect.initTablesAndDatabaseObjects(
at org.jumpmind.symmetric.AbstractSymmetricEngine.setupDatabase(
at org.jumpmind.symmetric.AbstractSymmetricEngine.setup(
TagsNo tags attached.


related to 0004318 closedelong MySQL upgrade gets sym_transaction_id_pre_5_7_6 does not exist 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-03-17 15:20 elong New Issue
2020-03-17 15:20 elong Status new => assigned
2020-03-17 15:20 elong Assigned To => elong
2020-03-17 15:20 elong Issue generated from: 0004318
2020-03-17 15:20 elong Relationship added related to 0004318
2020-03-17 15:21 elong Status assigned => resolved
2020-03-17 15:21 elong Resolution open => fixed
2020-03-17 15:21 elong Fixed in Version => 3.11.7
2020-03-17 18:43 admin Status resolved => closed