You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2020. It is now read-only.
When I use HintShardingStrategy in version 4.0.1, I actually return to UnicastRoutingEngine after executing RoutingEngineFactory#newInstance, this problem does not exist in 4.0.0-RC2.
The code usage example is as follows:
// config sharding rule
ShardingRuleConfiguration shardingRuleConfig = new ShardingRuleConfiguration();
shardingRuleConfig.setDefaultDatabaseShardingStrategyConfig(
new HintShardingStrategyConfiguration(new MyShardingAlgorithm())
);
shardingRuleConfig.setDefaultTableShardingStrategyConfig(
new NoneShardingStrategyConfiguration()
);
// use hint
hintManager.setDatabaseShardingValue (db);
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I use HintShardingStrategy in version 4.0.1, I actually return to UnicastRoutingEngine after executing RoutingEngineFactory#newInstance, this problem does not exist in 4.0.0-RC2.
The code usage example is as follows:
// config sharding rule
ShardingRuleConfiguration shardingRuleConfig = new ShardingRuleConfiguration();
shardingRuleConfig.setDefaultDatabaseShardingStrategyConfig(
new HintShardingStrategyConfiguration(new MyShardingAlgorithm())
);
shardingRuleConfig.setDefaultTableShardingStrategyConfig(
new NoneShardingStrategyConfiguration()
);
// use hint
hintManager.setDatabaseShardingValue (db);
The text was updated successfully, but these errors were encountered: