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

BatchingSqlJournal now preserves Sender in PersistCallback #3779

Merged
merged 1 commit into from
May 7, 2019

Conversation

ismaelhamed
Copy link
Member

Currently, you have to capture Sender before calling Persist() when you use the BatchingSqlJournal, otherwise you end up with the wrong Sender in the PersistCallback.

@ismaelhamed
Copy link
Member Author

ismaelhamed commented May 5, 2019

@Horusiath mind validating this, or suggesting an alternative solution?

@StephSanchez
Copy link

StephSanchez commented May 5, 2019 via email

Copy link
Contributor

@Horusiath Horusiath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one little change. Beside that, everything looks good 👍

@@ -10,6 +10,10 @@
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.6' ">1.6.1</NetStandardImplicitPackageVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I'd like to move to value tuples, I think this is a change to be done directly on Akka core package ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense

@ismaelhamed ismaelhamed force-pushed the journal-fix-sender branch from c958bdd to c22ed96 Compare May 6, 2019 06:01
@ismaelhamed ismaelhamed force-pushed the journal-fix-sender branch from c22ed96 to 0dd0c71 Compare May 6, 2019 06:03
@ismaelhamed ismaelhamed changed the title [WIP] BatchingSqlJournal now preserves Sender in PersistCallback BatchingSqlJournal now preserves Sender in PersistCallback May 6, 2019
@ismaelhamed ismaelhamed marked this pull request as ready for review May 6, 2019 06:06
@Aaronontheweb
Copy link
Member

You good with the updates @Horusiath ?

@Horusiath Horusiath self-requested a review May 7, 2019 12:40
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

Successfully merging this pull request may close these issues.

4 participants