Skip to content

Conversation

@Alex079
Copy link
Contributor

@Alex079 Alex079 commented Mar 25, 2023

rSocketPool.select() in method requestChannel should be called on each subscription as it is done in other methods of the class.

Motivation:

When server restarts while client is still connected, LoadbalanceRSocketClient is not able to reconnect when retrying requestChannel Flux. Retry fails with the error "Only a single Subscriber allowed".

Modifications:

Wrap rSocketPool.select() in Mono.

Result:

Retrying requestChannel Flux should trigger connection attempt.

Target branch:

I cannot create a new base branch in rsocket-java as described in contribution guidelines. Creating the PR on master instead.

OlegDokuka and others added 15 commits August 6, 2022 14:27
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: OlegDokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: OlegDokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: OlegDokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: OlegDokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
@OlegDokuka
Copy link
Member

Hi @Alex079!

Indeed it is a bug. Do you mind writing a test for that as well?

Thanks,
Oleh

@Alex079
Copy link
Contributor Author

Alex079 commented Mar 28, 2023

hello @OlegDokuka,

I will find some time to finish it this week.

Thanks,
Alex

@Alex079
Copy link
Contributor Author

Alex079 commented Apr 2, 2023

I have added the test. Could you please check?

@OlegDokuka OlegDokuka changed the base branch from master to 1.1.x April 4, 2023 13:56
@OlegDokuka
Copy link
Member

@Alex079 can you please rebase on 1.1.x branch.
Thanks

@OlegDokuka OlegDokuka added this to the 1.1.4 milestone Apr 4, 2023
@OlegDokuka OlegDokuka added bug and removed enhancement labels Apr 4, 2023
@OlegDokuka OlegDokuka closed this Apr 5, 2023
@OlegDokuka OlegDokuka added superseded Issue is superseded by another and removed bug labels Apr 5, 2023
@OlegDokuka OlegDokuka removed this from the 1.1.4 milestone Apr 5, 2023
@OlegDokuka
Copy link
Member

closed in favor of #1086

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

superseded Issue is superseded by another

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants