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
Fix stashing of commands when snapshot is in progress #27389
Conversation
Test PASSed. |
} | ||
""") | ||
|
||
def pa(pid: PersistenceId, eventProbe: TestProbe[String]) = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a more descriptive function name.
ControllableSnapshotStoreExt(system).completeSnapshotWrite.complete(Success(())) | ||
eventProbe.expectMessage("two") | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any failure to test here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to have this in - perhaps look at that method name before merging?
(i'll amend with a quick rename and then merge) |
Thanks @raboof |
Test PASSed. |
* Fix stashing of commands when snapshot is in progress Fixes #27381 * Naming
@@ -338,7 +338,7 @@ private[akka] object Running { | |||
setup.log.debug("Discarding message [{}], because actor is to be stopped.", cmd) | |||
Behaviors.unhandled | |||
} else { | |||
stashUser(cmd) | |||
stashInternal(cmd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ouch :)
* Fix stashing of commands when snapshot is in progress Fixes akka#27381 * Naming
Fixes #27381