Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc enhancement for README.md #3

Open
hi-ko opened this issue Nov 15, 2019 · 0 comments
Open

doc enhancement for README.md #3

hi-ko opened this issue Nov 15, 2019 · 0 comments

Comments

@hi-ko
Copy link

hi-ko commented Nov 15, 2019

Not an issue with your module at all but I've seen today a production system having set eagerOrphanCleanup=true as you commented in your README.md, please add comment:

Caution: setting eagerOrphanCleanup=true will delete the content file immediately when the trash is beeing emptied or when a node is beeing removed having the aspect sys:temporary set. orphanProtectDays will no longer apply and you could not recover files in that timeframe! In a production system a content file should be kept at least one day on the storage (given you use a file system store) to catch them in the backup.

To avoid to first copy all content nodes first to contentstore.deleted and then delete them which may cause a lot unwanted IO it may be easier to configure

 dir.contentstore.deleted=/dev/null

This will still cause a lot of read IO but avoids at least the IO for write and remove.

Better option would be of cource Alfresco implements an option to not copy the files to contentstore.deleted but remove them during cleanup run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant