kvzhkv opened a new issue, #6101:
URL: https://github.com/apache/couchdb/issues/6101
### Version
unknown
### Describe the problem you're encountering
CouchDB crashes if Clouseau is not available after failed attempts to build
search indexes for ddoc with several index functions
### Expected Behaviour
Building indexes should be ignored if Clouseau is not available
Maybe there should be a config setting to explicitly disable Dreyfus, like
it is for Nouveau
```
[nouveau]
enable = false
;suggestion
[dreyfus]
enable = false
```
### Steps to Reproduce
Run CouchDB with Docker Compose
```
services:
couchdb:
image: couchdb:3.5.2.1
ports:
- "5984:5984"
environment:
COUCHDB_USER: admin
COUCHDB_PASSWORD: couchdbadmin
```
- Login to Fauxton
- Setup single node instance
- Create `test` db
- Add ddoc with several index functions
```
{
"_id": "_design/legacy_ddoc",
"views": {},
"language": "javascript",
"indexes": {
"index0": { "index": "function (doc) { return; }" },
"index1": { "index": "function (doc) { return; }" },
"index2": { "index": "function (doc) { return; }" },
"index3": { "index": "function (doc) { return; }" },
"index4": { "index": "function (doc) { return; }" },
"index5": { "index": "function (doc) { return; }" },
"index6": { "index": "function (doc) { return; }" },
"index7": { "index": "function (doc) { return; }" },
"index8": { "index": "function (doc) { return; }" }
}
}
```
- Watch CouchDB logs
attached complete log file
[couch352logs.log](https://github.com/user-attachments/files/31636696/couch352logs.log)
### Your Environment
used Docker on MacOS
`docker version` output
```
Client:
Version: 29.1.3
API version: 1.52
Go version: go1.25.5
Git commit: f52814d
Built: Fri Dec 12 14:48:46 2025
OS/Arch: darwin/arm64
Context: desktop-linux
Server: Docker Desktop 4.55.0 (213807)
Engine:
Version: 29.1.3
API version: 1.52 (minimum version 1.44)
Go version: go1.25.5
Git commit: fbf3ed2
Built: Fri Dec 12 14:50:40 2025
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: v2.2.0
GitCommit: 1c4457e00facac03ce1d75f7b6777a7a851e5c41
runc:
Version: 1.3.4
GitCommit: v1.3.4-0-gd6d73eb8
docker-init:
Version: 0.19.0
GitCommit: de40ad0
```
### Additional Context
I was replicating data from old CouchDB cluster which uses Clouseau to a new
one (version 3.5.2), was planning to update ddoc search indexes to use Nouveau
after moving data.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]