Skip to content

Fix auto reconnection in query metadata #411

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 3 commits into from
Apr 1, 2025

Conversation

Gsantomaggio
Copy link
Member

@Gsantomaggio Gsantomaggio commented Apr 1, 2025

Fix auto reconnection in case the await system.StreamInfo(stream).ConfigureAwait(false); fails.

The await system.StreamInfo(stream).ConfigureAwait(false); was called two times. The first time was checked the state.

The second time could fail and skip the auto-reconnection.

In this PR the StreamInfo is called only one time.

Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
@Gsantomaggio Gsantomaggio added this to the 1.8.12 milestone Apr 1, 2025
Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
@Gsantomaggio Gsantomaggio merged commit 98dd6ac into main Apr 1, 2025
2 checks passed
@Gsantomaggio Gsantomaggio deleted the fix_autoreconnection_query_metadata branch April 1, 2025 11:37
@Gsantomaggio Gsantomaggio changed the title Fix autorecconetion in query metadata Fix auto reconnection in query metadata Apr 2, 2025
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.

1 participant