On Jan 24, 2012, at 10:37 PM, Ryszard Łach wrote:
Hi.
Could anyone, please, give any info about status of filesystem
attachment storage?
Is it stable?
Caleb can probably answer better here since he's the one who implemented this.
My POV:
* It's supposed to be usable
* We need more real life reports that it's working fine in production
* We've received some bug reports already. Several have been fixed, there might still
be some open issues. You could search open issues about "filesystem" on
http://jira.xwiki.org to know specific details
* One current limitation I know is that clustering is not easily done since you need to
cluster the filesystem. This can be achieved with a NFS mount for example.
Does it deal with non-ascii filenames prolerply?
No idea. Caleb?
If so - why in 3.4 versions default storage for
attachments will be
hibernate?
Filesystem storage is not a perfect solution:
* clustering issue mentioned above
* it makes it harder to backup your XWiki system since you need to backup not only the DB
but also the directory where the attachments are saved. It's nice to know that
everything is in the DB.
* the filesystem is one additional point of failure
Ideally we would not need filesystem storage at all since DBs should be able to stream
arbitrary data in a performant manner. In practice only some DBs support this (MySQL
doesn't AFAIK).
All that said I completely agree with your question. I'd also like that we answer it
better and that we post this status on
xwiki.org.
So guys, can you complement/correct what I've said above so that we can get a correct
statement about this feature? :)
Thanks
-Vincent