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:55:13 GMT

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

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

Nils, ignore that, I was asking if absname resolves the symlink, but it obviously doesn't.
What we'd need to do is call read_link, which will resolve the link if it is one, or it returns
{error, einval} if it isn't, and we can then use absname. Something like that, it doesn't
sound hard, assuming that the code in couchdb for finding the right line from get_disk_data
works.
                
> 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