Creating a projection with a name of a deleted projections is not possible. Why? #100

Closed
MirkoBonadei opened this Issue Mar 11, 2014 · 7 comments

Projects

None yet

4 participants

@MirkoBonadei

Hi, today I am testing projections creation. So that I am doing some create/delete in my TDD cycle.

I have found that if I create a projection with name "test_projection" and I delete it then I am not able to re-create another projection (maybe later in time) with the name "test_projection".

Why is this happening? Is a projection name usable once in a lifetime?

Cheers,

Mirko

@gregoryyoung
Member

@yuriy are we using truncatebefore here? Or might it be due to it thinking
that its a restart and checks that its not implemented?

On Tue, Mar 11, 2014 at 12:39 PM, Mirko Bonadei notifications@github.comwrote:

Hi, today I am testing projections creation. So that I am doing some
create/delete in my TDD cycle.

I have found that if I create a projection with name "test_projection" and
I delete it then I am not able to re-create another projection (maybe later
in time) with the name "test_projection".

Why is this happening? Is a projection name usable once in a lifetime?

Cheers,

Mirko

Reply to this email directly or view it on GitHubhttps://github.com/EventStore/EventStore/issues/100
.

Le doute n'est pas une condition agréable, mais la certitude est absurde.

@MirkoBonadei

Not a big problem in the first period but I am implementing a migration system on top of these APIs.
In my opinion I should be able to create a projection, delete it and re-create it in a second moment.

Mirko

@ysw
Member
ysw commented Mar 11, 2014

It is not a problem with stream truncation. it is just implemented this
way following design of streams at the time it was created. Just a little
code to make it possible.

On Tue, Mar 11, 2014 at 1:30 PM, Greg Young notifications@github.comwrote:

@yuriy are we using truncatebefore here? Or might it be due to it thinking
that its a restart and checks that its not implemented?

On Tue, Mar 11, 2014 at 12:39 PM, Mirko Bonadei notifications@github.comwrote:

Hi, today I am testing projections creation. So that I am doing some
create/delete in my TDD cycle.

I have found that if I create a projection with name "test_projection"
and
I delete it then I am not able to re-create another projection (maybe
later
in time) with the name "test_projection".

Why is this happening? Is a projection name usable once in a lifetime?

Cheers,

Mirko

Reply to this email directly or view it on GitHub<
https://github.com/EventStore/EventStore/issues/100>
.

Le doute n'est pas une condition agréable, mais la certitude est absurde.


Reply to this email directly or view it on GitHubhttps://github.com/EventStore/EventStore/issues/100#issuecomment-37285855
.

Yuriy Solodkyy
(y.solodkyy@gmail.com)

@jen20
Member
jen20 commented Mar 11, 2014

@MirkoBonadei Which version are you using at the moment? This will likely be fixed on dev

@MirkoBonadei

@ysw What do you think? In my opinion it makes sense.

@gregoryyoung
Member

Being resolved if not already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment