offspot / imager-service

Create Kiwix Hotspot microSD cards online
https://imager.kiwix.org/
GNU General Public License v3.0
14 stars 6 forks source link

possible race condition in worker's await_sdcard #161

Closed rgaudin closed 8 months ago

rgaudin commented 4 years ago

Task L261R5ED0 failed on failed_to_insert due to an unexpected result for get_task(self.task["_id"]) call in await_sdcard.

The writing task apparently was a string instead of a dict which may indicate this was called a bit too early (before task was actually created).

kelson42 commented 8 months ago

The writer piece of code has been deprecated (an removed from the code base) as part of Kiwix Hotspot 3.0 development. Therefore this issue became purposeless and has been closed. It might be reconsidered at some point if decide to revive the writer.