Account gets corrupted after deleting a pod
tomicvladan opened this issue · comments
Steps to reproduce
- Login to Fairdrive
- Delete an existing pod
- Try creating the same pod again
- Try creating pod with a different name
Result
Getting Request failed with status code 409
errors
Expected result
It should be possible to create a pod with the existing name as a previous one. And the content of that pod should be empty. Also creating other pods shouldn't throw errors.
Most likely, this should be handled on the Fairdrive caching side. After deleting a pod, the cache should be updated. fdp-storage is covered by such a test.
It's not related to caching, because the pod list gets refreshed correctly. And trying to create a pod returns this error from bee:
POST http://localhost:1633/soc/9bdc3df70db00fdc745da0feab9a70d153270244/cf29db53d5c44182b4c8b222b1e0036eb48bbedd3b6087ae80426e9e275774aa?sig=3fb15... 409 (Conflict)