With event store version 3.5.0 we cannot recreate a projection with the same name.
(reason to do this: projection is in a faulted state; no clue why this is the case; how to prevent it from getting into that state)
Deleting was already a quest:
-
via UI I deleted the projection (named projects)
-
via command prompt I deleted two associated streams:
curl.exe -v -X DELETE http://127.0.0.1:2113/streams/projects -H “HardDelete:true”
curl.exe -v -X DELETE http://127.0.0.1:2113/streams/$$projects -H “HardDelete:true”
- Then I did a scavenge
After recreating the projection with the same name the systems ends up in some infinite loop.
It looks like the system is still holding some internal references to the old projection with the same name.
I guess this is the case because using a different name for the projection works.
However I need to have the projection with the original name.
So definitelly I’m not doing it the correct way.
Documentation is not very helpful so I had to try something (and found some hints like deleting the associated streams).
Or do I need to upgrade to version 3.8.0?
However, we did a trial on a test machine, it looks like that creating a projection with a previously used name, is still a problem.
Can someone help me out?
Kind regards,
Michel