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

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

welp, read_file_info returns 'regular' for symlinks on OS X and Linux, so I 
guess this is a bust.

vagrant@debian-6:~$ file bar
bar: symbolic link to `foo'
vagrant@debian-6:~$ erl
Erlang R14A (erts-5.8) [source] [64-bit] [rq:1] [async-threads:0] 
[kernel-poll:false]

Eshell V5.8  (abort with ^G)
1> file:read_file_info("bar").
{ok,{file_info,0,regular,read_write,
               {{2014,3,19},{11,53,29}},
               {{2014,3,19},{11,53,29}},
               {{2014,3,19},{11,53,29}},
               33188,1,65024,0,1417237,900,900}}

> 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)

Reply via email to