错误,没有为方法加上同步限制。
如果没有适当地安排服务器的大小,当更新活动比较频繁时,集群复制维护数据库同步的能力就会受到限制。
When update activity is excessive, the ability of cluster replication to maintain database synchronization becomes limited if the server is not sized properly.
同步块被限制在一个JVM上,请求被路由到集群中的另一个节点并引起接收节点中的并发异常,这种可能性仍然存在。
The synchronization block was limited to one JVM and a possibility still existed that a request is routed to another node in a cluster and causes the concurrency exception in the receiving node.
应用推荐