-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no match of right hand value {error,enospc} #5265
Comments
enospc from It should be a more friendly message in the log, but at least first sight that's what's jumping out. |
|
Is there any chance view directory is configured to write another disk or the disks may fail to mount and it ends up writting to the root file system. The first instance in the logs seem to come from writting an attachments:
Is there a way to reconfigure the data directory or point it to another volume? Or tests if you can write to it manually? Verify that indeed the data directory is pointing the mounted large volume, sometimes misconfigurations happen and I've seen writes going to another directory than the indentded one. |
As you expect: the docker volume got stuck... This is my docker deployment (secrets removed) |
That would explain it, I think. Good find. It's sneaky that |
Just for curiosity, I stopped the container, rm & created couchdb-data and started the replication again:
|
My fault: I'm using Docker Desktop, the max. storage capacity was globally set to 100GB and the source (CouchDB 3.3.3) is running in parallel, so I can replicate from it... So nickva spotted it right on his first comment:
There may be two ideas for improvement, that I can provide from my fault:
|
No worries at all, thanks for reaching out. Yeah, agree a more friendly error would be nice in the logs. And it turns out we do have a disk monitor now in 3.4 (the work of @rnewson)! https://docs.couchdb.org/en/stable/config/disk-monitor.html if you configure it, it will stop indexing when approaching the limit and return a meaningful API error. See #4681 for the PR comments and the implementation. |
Description
I've set up a fresh CouchDB 3.4.1 instance (as Docker image, build from https://github.com/apache/couchdb-docker/tree/main/3.4.1)
Then I've started a replication from prod.-server and saw endless messages of "no match of right hand value {error,enospc}"
Here a (truncated) copy of the docker log:
couchdb.tar.gz
Your Environment
version: 3.4.1
Fedora Linux 40 (KDE Plasma) and
Ubuntu Server 24
(Both running the same docker image and report the same error)
Additional Context
I've talked a bit with Jan at slack, his first thoughts:
https://app.slack.com/client/T49P1AZRT/C49LEE7NW
The text was updated successfully, but these errors were encountered: