Skip to content

Bug Maybe: Calling Respond while using the Persistence Mixin #256

@chriskolenko

Description

@chriskolenko

Hi all,

I'm not sure if this is a bug or not.

I got a deadletter when using the Respond after persisting a messaging.

	if !a.Recovering() {
		a.PersistReceive(msg)
		ctx.Respond(..new..message..)
	}

I only get the issue when PersistReceive will Request a Snapshot.

After reversing the order

	if !a.Recovering() {
		ctx.Respond(..new..message..)
		a.PersistReceive(msg)
	}

Everything works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TODOKanban status: TODO

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions