-
Notifications
You must be signed in to change notification settings - Fork 173
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
RCORE-2174 Bootstrap store is not being reset if initial subscription bootstrap is interrupted by role change #7831
Changes from all commits
2b7a64b
ae731ac
19b8450
fe7c4a5
8c775e5
928a466
303cb7f
edf832e
76219d0
5a59f54
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1527,6 +1527,16 @@ void Session::cancel_resumption_delay() | |
if (unbind_process_complete()) | ||
initiate_rebind(); // Throws | ||
|
||
try { | ||
process_pending_flx_bootstrap(); // throws | ||
} | ||
catch (const IntegrationException& error) { | ||
on_integration_failure(error); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what happens if we have an integration failure here? I guess the client will just continue to resume the session but without applying the bootstrap? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes - it's the same if there is an integration failure during |
||
} | ||
catch (...) { | ||
on_integration_failure(IntegrationException(exception_to_status())); | ||
} | ||
|
||
m_conn.one_more_active_unsuspended_session(); // Throws | ||
if (m_try_again_activation_timer) { | ||
m_try_again_activation_timer.reset(); | ||
|
@@ -1717,7 +1727,7 @@ void Session::activate() | |
m_conn.one_more_active_unsuspended_session(); // Throws | ||
|
||
try { | ||
process_pending_flx_bootstrap(); | ||
process_pending_flx_bootstrap(); // throws | ||
} | ||
catch (const IntegrationException& error) { | ||
on_integration_failure(error); | ||
|
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.
this assertion didn't really make sense