Hi Federico,
After going through every code change since version 7.0.5 Beta 2 line by line, I believe I know what caused all the re-list operation when first starting GarageSale 7.0.5 final:
Before GarageSale 7.0.5, it was possible that listings with the auto-relist option were re-listed too often. This happened when GarageSale received a notification from eBay that a listing ended, but the internal operation queue on which the re-list operation was put was very full. In this case, it could it happen that another status update from eBay was received, before the queued listing was re-listed. Under these circumstances, another re-list operation for the very same listing would have been enqueued, resulting in several re-lists for the very same item.
To prevent this bug we added a flag to the listing in the first beta of 7.0.5, that kept track if the listing was already queued for re-listing. If this flag was set, the listing would not be enqueued another time when a listings with the auto-relist flag enabled was processed.
Unfortunately this flag was saved to disk, which introduced a new subtle bug. If the user quit GarageSale while listings were waiting to be re-listed, these listing were never auto-relisted. Every time GarageSale processed eBay status updated, the application would not enqueue the listing because the guard flag was still set. Since there was no operation enqueued, the listing was never auto-relisted.
We addressed this bug in GarageSale 7.0.5 Beta 3, by replacing the initial guard flag with a new flag, which only lived as long as GarageSale was running and was never saved to disk. Thus, if the listing was not auto-relisted before the user quit GarageSale, it had a chance to re-listed upon GarageSale’s next run.
Since you stayed on GarageSale 7.0.5 Beta 2, you never got the fix we shipped with beta 3. Thus, you accumulated a lot of listing, that should have been re-listed, but weren’t because the guard flag was stuck. Once you updated to GarageSale 7.0.5 final, you got the fix we implemented in Beta 3, so all the previously accumulated, but never executed re-lists, were finally processed.
I believe that’s what you experienced this morning. If my assumptions are correct, this was a singular event, which should not happen again, as it resulted from the prolonged usage for GarageSale 7.0.5 Beta 2.
To prevent a situation like this from happening again, we probably have to add another safety net, which prevents items from being auto-relisted if their listing ended a while back (e.g. one or two weeks).
Hope this makes sense to you.