Skip to content

Conversation

@nickva
Copy link
Contributor

@nickva nickva commented Mar 4, 2025

In a mixed cluster, with nodes before and after #5373 where pread_iolist and append_bin were removed, attachment operations may throw function_clause errors on the new couch_file gen_servers. That's because attachment streams may be opened on one node, but operations on them maybe called from another node. As such, we have to handle the old gen_server messages until the next version.

@nickva nickva requested a review from jaydoane March 4, 2025 22:51
In a mixed cluster, with nodes before and after #5373 where `pread_iolist` and
`append_bin` were removed, attachment operations may throw function_clause
errors on the new couch_file gen_servers. That's because attachment streams may
be opened on one node, but operations on them maybe called from another node.
As such, we have to handle the old gen_server messages until the next version.
@nickva nickva force-pushed the handle-attachment-writes-during-upgrades branch from b5134f6 to c134edb Compare March 5, 2025 05:16
@nickva nickva merged commit 1a88c2a into main Mar 5, 2025
23 checks passed
@nickva nickva deleted the handle-attachment-writes-during-upgrades branch March 5, 2025 06:05
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.

2 participants