Multiple spider crawled the data to the same database table using one pipeline, and found that the data was overwritten.

multiple different spider crawled data to the same database table using one pipeline, and found that the data was overwritten

.
Nov.07,2021

do you write or modify this? If it is a write, remember to commit the database transaction after the write. From your description here, you can clearly feel that it is because there is no transaction commit during the data writing process, and finally some crawler writes it and then does it. Of course, you don't have any code and you can't see anything here.

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-1e4596b-44b3b.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-1e4596b-44b3b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?