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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce acc record #5385

Merged
merged 1 commit into from
Jan 7, 2025
Merged

introduce acc record #5385

merged 1 commit into from
Jan 7, 2025

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
@@ -58,28 +72,34 @@ go(DbName, AllDocs0, Opts) ->
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.

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