Skip to content

Conversation

@rnewson
Copy link
Member

@rnewson rnewson commented Jan 7, 2025

refactor fabric_doc_update to use a record for accumulator, to make #5371 enhancement easier.

@rnewson rnewson mentioned this pull request Jan 7, 2025
5 tasks
@rnewson rnewson force-pushed the fabric-update-acc-record branch from 2f48127 to 0b10ff4 Compare January 7, 2025 10:04
@rnewson rnewson force-pushed the fabric-update-acc-record branch from 0b10ff4 to d3eb273 Compare January 7, 2025 10:32
@rnewson rnewson merged commit 8792316 into main Jan 7, 2025
23 checks passed
@rnewson rnewson deleted the fabric-update-acc-record branch January 7, 2025 11:50
rexi_monitor:stop(RexiMon)
end.

handle_message({rexi_DOWN, _, {_, NodeRef}, _}, _Worker, Acc0) ->
Copy link
Contributor

Choose a reason for hiding this comment

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

Should not the code still be able to handle messages with the tuple-shaped accumulators? Such messages can arrive during upgrade where the cluster has mixed version of nodes.

Copy link
Member Author

Choose a reason for hiding this comment

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

the acc is local, the first clause in handle_message is the message term from other nodes

@rnewson rnewson mentioned this pull request Mar 4, 2025
5 tasks
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.

3 participants