[
https://issues.apache.org/jira/browse/COUCHDB-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940469#comment-13940469
]
Nils Breunese commented on COUCHDB-1592:
----------------------------------------
I guess a proper equivalent of
http://man7.org/linux/man-pages/man3/realpath.3.html is needed:
{quote}
realpath() expands all symbolic links and resolves references to /./, /../ and
extra '/' characters in the null-terminated string named by path to produce a
canonicalized absolute pathname. (...) The resulting path will have no
symbolic link, /./ or /../ components.
{quote}
> 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
> Components: Database Core
> 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 was sent by Atlassian JIRA
(v6.2#6252)