-
Notifications
You must be signed in to change notification settings - Fork 27
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
Method on the builder to disable logging #233
Comments
This only happens when the script is executed via hook, since it's the only possibility to store the result in a node |
Hi pcastelog I had the issue as well with plain groovy when result gets stored in the history node. And as an improvement we could log it instead to a file (binary data) rather than to a String property when it exceeds a certain size and in the string property we just add a reference. |
thanks @nhirrle The problem I see is that if we can use plain aecu methods there is no option to not log the nodes modified, unless we do a customAction. i.e |
I see @pcastelog |
#234 Added PR to solve the issue :) |
When a huge migration is performed should be possible to disable the logging to avoid the creation of one line per node change.
The issue found was that after 5 million changes on nodes, the output of the file was stored in /var/aecu with a size of ~ 550Mb that was causing
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneDocumentMaker String length: 555735990 for property: runOutput at Node: /var/aecu/2024/5/27/171680290585741449/1 is greater than configured value 102400
That was killing the index update since the IndexWriter could not manage that amount of data on the node.
The text was updated successfully, but these errors were encountered: