Skip to content

Commit

Permalink
Don't set use capture lobs for sym_node, sym_node_host, and sym_node_…
Browse files Browse the repository at this point in the history
…security. Those tables can get big.
  • Loading branch information
chenson42 committed Mar 1, 2013
1 parent 26d6f1b commit 9cb2605
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,14 @@ protected Trigger buildTriggerForSymmetricTable(String tableName) {
trigger.setChannelId(Constants.CHANNEL_HEARTBEAT);
} else {
trigger.setChannelId(Constants.CHANNEL_CONFIG);
}

if (!TableConstants.getTableName(tablePrefix, TableConstants.SYM_NODE_HOST)
.equals(tableName) &&
!TableConstants.getTableName(tablePrefix, TableConstants.SYM_NODE)
.equals(tableName) &&
!TableConstants.getTableName(tablePrefix, TableConstants.SYM_NODE_SECURITY)
.equals(tableName)) {
trigger.setUseCaptureLobs(true);
}
// little trick to force the rebuild of SymmetricDS triggers every time
Expand Down

0 comments on commit 9cb2605

Please sign in to comment.