Skip to content

Commit

Permalink
0005578: Script error from newer wins conflict resolution with old nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Nov 7, 2022
1 parent 251bcf5 commit 2a97f1c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -210,7 +210,7 @@ protected void handleWinnerForNewerCaptureWins(ISqlTransaction transaction, CsvD
if (nodeHists != null && nodeHists.size() > 0 && pkCsvData != null) {
String sourceNodeId = csvData.getAttribute(CsvData.ATTRIBUTE_SOURCE_NODE_ID);
long createTime = data.getCreateTime() != null ? data.getCreateTime().getTime() : 0;
String script = "if (context != void && context != null) { " +
String script = "if (context != void && context != null && org.jumpmind.symmetric.Version.isOlderVersion(\"3.12.4\")) { " +
"engine.getDataService().sendNewerDataToNode(context.findTransaction(), SOURCE_NODE_ID, \"" +
tableName + "\", " + pkCsvData + ", new Date(" +
createTime +"L), \"" + sourceNodeId + "\"); }";
Expand Down

0 comments on commit 2a97f1c

Please sign in to comment.