huyu-tom commented on issue #32734:
URL: 
https://github.com/apache/shardingsphere/issues/32734#issuecomment-2322755825

   <img width="1408" alt="image" 
src="https://github.com/user-attachments/assets/f36e7a5d-89f2-4274-b164-925acb8f1061";>
   This is the judgment. The target returned must be in the 
availableTargetNames, otherwise an error will be reported. However, I bypassed 
this judgment by adding it in. However, availableTargetNames is a shared 
(different connections) and thread-unsafe collection, so the solution of 
dynamically adding the availableTargetNames collection cannot be adopted!
   The final idea is: Can this judgment be omitted? It is highly likely that it 
will not affect the overall logic. Although I did not actually specify 
actual-data-nodes, the database and table can be specified through the sharding 
algorithm, and the table in the database must have been created))


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to