liusf1993 commented on issue #3211: Statement "SELECT GET_LOCK('lock10086')"
doesn't work as expected
URL:
https://github.com/apache/incubator-shardingsphere/issues/3211#issuecomment-541494908
> Distribute solution is not Silver Bullet, please refactor old system
towards distribute solution.
Firstly, I don't think db lock on the same database is not a distribute
solution, although it may not be the best solution in most cases.
Then, let's skip the distribute lock.
The case that database partition is only required for some special tables
exists, which means all other tables being in a default or primary database,
sql with no tables is the same. `default-data-source-name` is worked for the
case on other tables, if support for no table is added, the function of
`default-data-source-name` can be better.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services