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

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

commit 79fc57716eeac9b1928bf881ed88a9730cbd4ad0
Author: Robert Newson <[email protected]>
AuthorDate: Wed Oct 28 22:03:21 2026 +0000

    nouveau: fix glob pattern when cleaning up after db deletion
---
 src/nouveau/src/nouveau_index_manager.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nouveau/src/nouveau_index_manager.erl 
b/src/nouveau/src/nouveau_index_manager.erl
index 44ee17a4d..b11df004f 100644
--- a/src/nouveau/src/nouveau_index_manager.erl
+++ b/src/nouveau/src/nouveau_index_manager.erl
@@ -122,7 +122,7 @@ handle_info(_Msg, State) ->
 
 handle_db_event(DbName, deleted, State) ->
     couch_log:notice("Deleting indexes for ~s as database was deleted", 
[DbName]),
-    nouveau_api:delete_path(nouveau_util:index_name(DbName)),
+    nouveau_api:delete_path(nouveau_util:index_name(<<DbName/binary, "/*">>)),
     {ok, State};
 handle_db_event(_DbName, _Event, State) ->
     {ok, State}.

Reply via email to