Problems with repeated invocation of dubbo services

the dubbo service of the project is deployed on 4 servers. There is a problem that I call the dubbo interface in controller, and the interface will insert some data, but I found in the background that 2 dubbo servers executed this interface in the same second, resulting in repeated insertion of a piece of data. why did this happen?

May.23,2022

even if you have only one machine, the retry mechanism of dubbo may lead to repetition, so you have to design your interface as idempotent


. The retry of any link will not affect
by adding trace to check, or look at the requested link. Why


is the cause of load balancing strategy? Take a look at the loadbalance settings of your consumer


I have this problem because the entity that returned the value is not serialized, and the entity serialization problem is resolved.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e54a27-452dd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e54a27-452dd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?