Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@MirkoBonadei
Copy link

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
Copy link
Contributor

@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//issues/100
.

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

@MirkoBonadei
Copy link
Author

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
Copy link
Contributor

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//issues/100#issuecomment-37285855
.

Yuriy Solodkyy
(y.solodkyy@gmail.com)

@jen20
Copy link
Contributor

jen20 commented Mar 11, 2014

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

@MirkoBonadei
Copy link
Author

@MirkoBonadei
Copy link
Author

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

@gregoryyoung
Copy link
Contributor

Being resolved if not already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants