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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cm): bring back pre-v5.3.0 compat in takeover_session_begin/1 #11733

Merged
merged 2 commits into from Oct 10, 2023

Conversation

keynslug
Copy link
Contributor

@keynslug keynslug commented Oct 9, 2023

Which was accidentally broken in bf16417 as part of #11592.

Fixes EMQX-11095.

Summary

馃 Generated by Copilot at 3261e0a

Fix a bug that causes channel pid to be lost when a session is taken over by another node. Update emqx_cm.erl to include channel pid in session takeover and stepdown messages.

PR Checklist

Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:

  • Added tests for the changes
  • Added property-based tests for code which performs user input validation
  • Changed lines covered in coverage report
  • Change log has been added to changes/(ce|ee)/(feat|perf|fix)-<PR-id>.en.md files
  • For internal contributor: there is a jira ticket to track this change
  • Created PR to emqx-docs if documentation update is required, or link to a follow-up jira ticket
  • Schema changes are backward compatible

@keynslug keynslug requested review from lafirest and a team as code owners October 9, 2023 08:45
@keynslug keynslug force-pushed the fix/EMQX-10827/sesson-takeover branch 3 times, most recently from 2850ffc to bfaf867 Compare October 9, 2023 13:01
@keynslug keynslug requested a review from zmstone October 9, 2023 15:19
thalesmg
thalesmg previously approved these changes Oct 9, 2023
@keynslug keynslug force-pushed the fix/EMQX-10827/sesson-takeover branch from 2a31e4f to 6301294 Compare October 9, 2023 18:34
@keynslug keynslug changed the base branch from master to release-53 October 9, 2023 18:34
@keynslug keynslug requested review from zmstone and removed request for zmstone October 10, 2023 09:41
@zmstone zmstone merged commit a2e86c6 into emqx:release-53 Oct 10, 2023
143 checks passed
@keynslug keynslug deleted the fix/EMQX-10827/sesson-takeover branch October 10, 2023 17:10
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.

None yet

4 participants