You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2025/04/28 15:46:02 UTC

(couchdb) 02/03: use utility function for clarity

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch auto-delete-3
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit bf4c9919f7400d2578b919ab8e5cbb15644f6d73
Author: Robert Newson <rn...@apache.org>
AuthorDate: Mon Apr 28 16:44:35 2025 +0100

    use utility function for clarity
---
 src/fabric/src/fabric_drop_seq.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/fabric/src/fabric_drop_seq.erl b/src/fabric/src/fabric_drop_seq.erl
index 0fef3a811..2fc060a53 100644
--- a/src/fabric/src/fabric_drop_seq.erl
+++ b/src/fabric/src/fabric_drop_seq.erl
@@ -176,7 +176,7 @@ handle_shard_sync_docs_reply({rexi_DOWN, _, _, _}, _Worker, {ShardSyncHistory, C
 handle_shard_sync_docs_reply({rexi_EXIT, _Reason}, _Worker, {ShardSyncHistory, Count}) ->
     {ok, {ShardSyncHistory, Count - 1}};
 handle_shard_sync_docs_reply(rexi_STREAM_INIT, {_Worker, From}, Acc) ->
-    gen_server:reply(From, rexi_STREAM_START),
+    rexi:stream_start(From),
     {ok, Acc};
 handle_shard_sync_docs_reply({meta, _Meta}, _Worker, Acc) ->
     {ok, Acc};