View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003329 | SymmetricDS | Bug | public | 2017-12-04 16:03 | 2019-04-24 17:09 |
Reporter | kpatierno | Assigned To | kpatierno | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.8.32 | ||||
Target Version | 3.8.34 | Fixed in Version | 3.8.34 | ||
Summary | 0003329: Unsuccessful upgrade from 3.7 to 3.8 | ||||
Description | * https://sourceforge.net/p/symmetricds/discussion/739236/thread/7c860859/ Dear Sirs We Currently Successfully Run SymmetricDS 3.7.2 between a PostgreSql Master to Sybase Target and it works very Well. Recently my developers attempted to Upgrade to SymmetricDS 3.8.29 and it failed. They Followed The Brief Instructions found in the Manual Under F.1 Full Upgrade. However, I would like to understand if there are Any Steps in the Initial Startup of a Upgraded SymmetricDS. They Did exactly the Steps 1 thru 7, However when SymmetricDS Restarted (or was Started as we have normally Start it) We Ran into an issue because the version of Postgresql jdbc driver we used referred to a system level column that was removed in the Database System Table in Postgres v9, So we got all these Errors [PostgreSqlDdlReader] [symmetric-engine-startup-0] Failed to read table: sym_node_identity. Error: ERROR: column t1.tgisconstraint does not exist We figured out the issue, and upgraded the JDBC Driver and Re-Started again. I can See in the Logs that SymmetricDS attempts to alter the Sym_ Tables and Drop Some ..etc. However I saw These Messages 2017-09-21 16:07:48,835 WARN [gras-001] [AseDdlBuilder] [symmetric-engine-startup-1] Data cannot be retained in table sym_node_communication because of the addition of the required column queue . The data is backed up in Table [name=sym_node_communication_; 12 columns], consider manually migrating the data back or dropping this temp table. 2017-09-21 16:07:48,849 INFO [gras-001] [AseSymmetricDialect] [symmetric-engine-startup-1] There are SymmetricDS tables that needed altered 2017-09-21 16:07:48,850 INFO [gras-001] [AseSymmetricDialect] [symmetric-engine-startup-1] DDL applied: SET quoted_identifier on 2017-09-21 16:07:48,850 INFO [gras-001] [AseSymmetricDialect] [symmetric-engine-startup-1] DDL applied: SET quoted_identifier on 2017-09-21 16:07:48,874 INFO [gras-001] [AseSymmetricDialect] [symmetric-engine-startup-1] DDL applied: IF EXISTS (SELECT 1 FROM dbo.sysobjects WHERE type = 'U' AND name = 'sym_node_') BEGIN DROP TABLE DAOA001.dbo.sym_node_ END 2017-09-21 16:07:48,874 INFO [gras-001] [AseSymmetricDialect] [symmetric-engine-startup-1] DDL applied: SET quoted_identifier on 2017-09-21 16:07:49,137 INFO [gras-001] [AseSymmetricDialect] [symmetric-engine-startup-1] DDL applied: CREATE TABLE DAOA001.dbo.sym_node_( node_id VARCHAR(50) NOT NULL, node_group_id VARCHAR(50) NOT NULL, external_id VARCHAR(50) NOT NULL, sync_enabled SMALLINT DEFAULT 0 NULL, sync_url VARCHAR(255) NULL, schema_version VARCHAR(50) NULL, symmetric_version VARCHAR(50) NULL, database_type VARCHAR(50) NULL, database_version VARCHAR(50) NULL, heartbeat_time DATETIME NULL, timezone_offset VARCHAR(6) NULL, batch_to_send_count NUMERIC(12,0) DEFAULT 0 NULL, batch_in_error_count NUMERIC(12,0) DEFAULT 0 NULL, created_at_node_id VARCHAR(50) NULL, deployment_type VARCHAR(50) NULL, PRIMARY KEY (node_id) ) 2017-09-21 16:07:49,140 INFO [gras-001] [AseSymmetricDialect] [symmetric-engine-startup-1] DDL applied: INSERT INTO DAOA001.dbo.sym_node_ (node_id,node_group_id,external_id,sync_enabled,sync_url,schema_version,symmetric_version,database_type,database_version,heartbeat_time,timezone_offset,batch_to_send_count,batch_in_error_count,created_at_node_id,deployment_type) SELECT node_id,node_group_id,external_id,sync_enabled,sync_url,schema_version,symmetric_version,database_type,database_version,heartbeat_time,timezone_offset,batch_to_send_count,batch_in_error_count,created_at_node_id,deployment_type FROM DAOA001.dbo.sym_node And Symmds would not start and work So We Restored the 3.7.2 Software, and I dropped all sym_ Tables in Source/Target and BAsically Restarted from Scratch the installation We Want to Try this Again (with the Proper JDBC Driver) However, I would like to know what the Appropriate steps for Restart should be in order to Upgrade the Software/Sym schema without having to lose my existing configuration. Please let me know Thank you Anthony V | ||||
Steps To Reproduce | SymmetricDS 3.7.2, PostgreSql ver3.9 server SymmetricDS 3.7.2, Sybase client Upgrade both to 3.8 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-12-04 16:03 | kpatierno | New Issue | |
2017-12-04 16:03 | kpatierno | Status | new => assigned |
2017-12-04 16:03 | kpatierno | Assigned To | => kpatierno |
2017-12-12 17:33 | mmichalek | Target Version | 3.9.0 => |
2018-02-14 20:08 | kpatierno | Changeset attached | => SymmetricDS 3.9 52882c08 |
2019-04-24 17:09 | elong | Status | assigned => closed |
2019-04-24 17:09 | elong | Resolution | open => fixed |
2019-04-24 17:09 | elong | Fixed in Version | => 3.8.34 |