Skip to content

Commit

Permalink
Remove ShardingRouteAlgorithmException check logic temporarily to sup…
Browse files Browse the repository at this point in the history
…port different actual table name config
  • Loading branch information
strongduanmu committed Oct 23, 2024
1 parent cf7ecad commit 6f4db27
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ private Collection<String> doSharding(final Collection<String> availableTargetNa
new PreciseShardingValue(shardingValue.getTableName(), shardingValue.getColumnName(), dataNodeInfo, each));
if (null != target && availableTargetNames.contains(target)) {
result.add(target);
} else if (null != target && !availableTargetNames.contains(target)) {
throw new ShardingRouteAlgorithmException(target, availableTargetNames);
}
// TODO add ShardingRouteAlgorithmException check when autoTable support config actualDataNodes
}
return result;
}
Expand Down

0 comments on commit 6f4db27

Please sign in to comment.