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

rnewson pushed a commit to branch dreyfus-purge-ok
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 9e40018828387777a65fe3edfb00b057ac84d3c3
Author: Robert Newson <[email protected]>
AuthorDate: Tue Mar 17 13:29:08 2026 +0000

    confirm set_purge_seq returned ok
---
 src/dreyfus/src/dreyfus_index_updater.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dreyfus/src/dreyfus_index_updater.erl 
b/src/dreyfus/src/dreyfus_index_updater.erl
index 278d42b54..387ab09e2 100644
--- a/src/dreyfus/src/dreyfus_index_updater.erl
+++ b/src/dreyfus/src/dreyfus_index_updater.erl
@@ -113,7 +113,7 @@ purge_index(Db, IndexPid, Index) ->
         end,
         {ok, ExcludeList} = couch_db:fold_purge_infos(Db, IdxPurgeSeq, 
FoldFun, []),
         NewPurgeSeq = couch_db:get_purge_seq(Db),
-        clouseau_rpc:set_purge_seq(IndexPid, NewPurgeSeq),
+        ok = clouseau_rpc:set_purge_seq(IndexPid, NewPurgeSeq),
         update_local_doc(Db, Index, NewPurgeSeq),
         {ok, ExcludeList}
     after

Reply via email to