You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/03/08 01:27:35 UTC

[GitHub] [incubator-shardingsphere] wy-coder opened a new issue #1997: Force route is a one time thing, should not be a Hint Strategy which have Algorithm.

wy-coder opened a new issue #1997: Force route is a one time thing,should not be a Hint Strategy which have Algorithm.
URL: https://github.com/apache/incubator-shardingsphere/issues/1997
 
 
   ## Feature Request
   
   **For English only**, other languages will not accept.
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response **more than 7 days** and we cannot make decision by current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Is your feature request related to a problem?
   
   We have a shard table Account in 3 databases.
   
   There is a batch to loop the Account table to do a job.
   
   The Account table is so big . so we design a distributed batch running in 10 nodes.
   
   Each node reads a piece of data from a specific database for processing.
   
   A scheduler will assign each node which database to read from, from begin index to end index.
   
   So we need to specify a database when reading data, but we can still write data with ShardingAlgorithm as usual.
   
   ### Describe the feature you would like.
   make force route a one time thing , use the ShardingAlgorithm but value from hintmanager.
   
   or force route to a specify database .
   
   thanks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services