-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Resolve missing internal state update in EventSourcedRememberEntities… #30217
Resolve missing internal state update in EventSourcedRememberEntities… #30217
Conversation
Hi @jneumaier, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement: |
Thank you for your pull request! After a quick sanity check one of the team will reply with 'OK ΤO ΤESΤ' to kick off our automated validation on Jenkins. This compiles the project, runs the tests, and checks for things like binary compatibility and source code formatting. When two team members have also manually reviewed and (perhaps after asking for some amendments) accepted your contribution, it should be good to be merged. For more details about our contributing process, check out CONTRIBUTING.md - and feel free to ask! |
OK TO TEST |
Test FAILed. |
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 catch, curious that nobody noticed earlier.
...-sharding/src/test/scala/akka/cluster/sharding/internal/RememberEntitiesShardStoreSpec.scala
Show resolved
Hide resolved
…sShardStore, simplify test (akka#30215)
Test FAILed. |
…sShardStore, fix scalafmt (akka#30215)
Test PASSed. |
@chbatey You also contributed to EventSourcedRememberEntitiesShardStore, maybe you can do a review? |
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.
thanks for fixing
@@ -101,7 +101,7 @@ private[akka] final class EventSourcedRememberEntitiesShardStore( | |||
left -= 1 | |||
if (left == 0) { | |||
sender() ! RememberEntitiesShardStore.UpdateDone(started, stopped) | |||
state.copy(state.entities.union(started).diff(stopped)) | |||
state = state.copy(state.entities.union(started).diff(stopped)) |
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.
😱
See #30215