Skip to content

Fix RxSession.beginTransaction returning an empty Publisher #932

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

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

injectives
Copy link
Contributor

This update is to fix: #797

Copy link
Contributor

@michael-simons michael-simons left a comment

Choose a reason for hiding this comment

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

The changes make sense in an isolated view, and I approve them.

But: Shouldn't than the examples in #797 fail with "Unexpected condition, begin transaction call has completed successfully with transaction being null"?

Anyway, please back port to 4.2 and 4.1 as well… Might even go down to 4.0. @gjmwoods and I would like to release patches of those versions as well for the time being.

@injectives
Copy link
Contributor Author

The changes make sense in an isolated view, and I approve them.

Thank you. 👍

But: Shouldn't than the examples in #797 fail with "Unexpected condition, begin transaction call has completed successfully with transaction being null"?

Based on the reproduction, null value was not actually the problem. The transaction is actually checked for null value in both cases (here and here). The actual change is around how MonoSink is used. It used to be completed twice, one time with value and one without.

Anyway, please back port to 4.2 and 4.1 as well… Might even go down to 4.0. @gjmwoods and I would like to release patches of those versions as well for the time being.

Sure.

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.

RxSession.beginTransaction returning an "empty" Publisher
2 participants