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

rnewson pushed a commit to branch nouveau-update-bundle
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 278c5e3ab1fe67b4d6845831e13f18f05a0df91d
Author: Robert Newson <[email protected]>
AuthorDate: Sat Mar 21 23:31:42 2026 +0000

    remove unused function
---
 src/nouveau/src/nouveau_index_updater.erl | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/src/nouveau/src/nouveau_index_updater.erl 
b/src/nouveau/src/nouveau_index_updater.erl
index 10d4144f0..763e12d03 100644
--- a/src/nouveau/src/nouveau_index_updater.erl
+++ b/src/nouveau/src/nouveau_index_updater.erl
@@ -18,7 +18,7 @@
 -include("nouveau.hrl").
 
 %% public api
--export([outdated/1, get_db_info/1]).
+-export([get_db_info/1]).
 
 %% callbacks
 -export([update/1]).
@@ -47,16 +47,6 @@
     batch
 }).
 
-outdated(#index{} = Index) ->
-    case open_or_create_index(Index) of
-        {ok, #{} = Info} ->
-            #{<<"update_seq">> := IndexUpdateSeq, <<"purge_seq">> := 
IndexPurgeSeq} = Info,
-            {DbUpdateSeq, DbPurgeSeq} = get_db_info(Index),
-            DbUpdateSeq > IndexUpdateSeq orelse DbPurgeSeq > IndexPurgeSeq;
-        {error, Reason} ->
-            {error, Reason}
-    end.
-
 update(#index{} = Index) ->
     {ok, Db} = couch_db:open_int(Index#index.dbname, []),
     try

Reply via email to