Skip to content

Commit

Permalink
0005418: Virtual Trigger Routers created for SymmetricDS tables do not
Browse files Browse the repository at this point in the history
make sure that the router ID is unique
  • Loading branch information
Philip Marzullo committed Aug 23, 2022
1 parent db6bb8c commit b2cc188
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -557,7 +557,7 @@ public List<TriggerRouter> buildTriggerRoutersForSymmetricTables(String version,
}

public String buildSymmetricTableRouterId(String triggerId, String sourceNodeGroupId, String targetNodeGroupId) {
return StringUtils.left(FormatUtils.replaceCharsToShortenName(String.format("%s_%s_2_%s", triggerId, sourceNodeGroupId, targetNodeGroupId)), 50);
return String.format("%s_%s_2_%s", triggerId, sourceNodeGroupId, targetNodeGroupId);
}

protected TriggerRouter buildTriggerRoutersForSymmetricTables(String version, Trigger trigger,
Expand Down

0 comments on commit b2cc188

Please sign in to comment.