Navigation Menu

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

Non Authoritative Information in saga persister #413

Closed
nordbergmikael opened this issue May 23, 2012 · 7 comments
Closed

Non Authoritative Information in saga persister #413

nordbergmikael opened this issue May 23, 2012 · 7 comments

Comments

@nordbergmikael
Copy link

Having ~7 sagas that all are started by the same message and a unique property, UId, in the saga data.
Data.UId = message.Id in saga handler.

1st run -> ok, 7 new sagas are created and stored in database.
2nd run -> In RavenSagaPersister.GetByUniqueProperty a call to Session.Load(lookupId) is made. In the Raven console GET request "loops" for ~20 sec then an "Non Authoritative Information" exception is thrown.

Less than 7 sagas works on my dev box.

@andreasohlund
Copy link
Member

We need to check this against the latest raven

@ghost ghost assigned SimonCropp Jun 28, 2013
@andreasohlund
Copy link
Member

Please recheck this simon

@SimonCropp
Copy link
Contributor

@nordbergmikael I am having trouble reproducing this. Can you share the code that causes the problem?

@SimonCropp
Copy link
Contributor

Since I cant reproduce this I am closing the issue. @nordbergmikael if you can provide a repro please re-open the issue

@leblancmeneses
Copy link

I got here from this post: "Multiple saga mapping of a single message"
http://stackoverflow.com/questions/11567706/multiple-saga-mapping-of-a-single-message

And have a related question:

What happens if an exception happens when initializing one of the sagas. The message will go into the error queue. If returned to source queue once the saga is fixed I'm guessing the unique property attribute will make sure 6 sagas are not started twice if currently running.

What if it already completed and user replayed (returned to source queue) do i need to maintain storage of saga name + [Unique] to avoid replay or does NServiceBus infrastructure handle this for us?

@danielmarbach
Copy link
Contributor

That is handled by the infrastructure. The uniqueness information is kept in the storage. Only the data is removed

Am 13.01.2014 um 05:35 schrieb Leblanc Meneses notifications@github.com:

I got here from this post: "Multiple saga mapping of a single message"
http://stackoverflow.com/questions/11567706/multiple-saga-mapping-of-a-single-message

And have a related question:

What happens if an exception happens when initializing one of the sagas. The message will go into the error queue. If returned to source queue once the saga is fixed I'm guessing the unique property attribute will make sure 6 sagas are not started twice if currently running.

What if it already completed and user replayed (returned to source queue) do i need to maintain storage of saga name + [Unique] to avoid replay or does NServiceBus infrastructure handle this for us?


Reply to this email directly or view it on GitHub.

@leblancmeneses
Copy link

great - thanks. is there a term that describes the scenario I'm describing: reprocessing avoidance scenario?

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

5 participants