couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1592) Free space check for automatic compaction doesn't follow symlinks
Date Wed, 07 Nov 2012 12:15:12 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492291#comment-13492291
] 

Robert Newson commented on COUCHDB-1592:
----------------------------------------

Hm, never mind, I'm sure filename:absname() won't resolve the symlink, so even if couchdb
is correctly finding the right entry in get_disk_data() output, it'll be the wrong result.
I think we can tweak this to test if database_dir is a symlink and then resolve the link and
use that instead.
                
> Free space check for automatic compaction doesn't follow symlinks
> -----------------------------------------------------------------
>
>                 Key: COUCHDB-1592
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1592
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Nils Breunese
>
> We've got a problem with automatic compaction not running due to low diskspace according
to CouchDB. According to our system administrators there is more than enough space (more than
twice the currently used space), but the data directory is a symlink to the real data storage.
It seems CouchDB is checking the diskspace on the filesystem on which the symlink resides
instead of the diskspace on the linked filesystem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message