rundeck-plugins / rundeck-s3-log-plugin

Store execution logs in Amazon S3 buckets
Apache License 2.0
32 stars 23 forks source link

RUN-1081: S3 plugin logs errors when a log is greater than 250MiB #49

Closed Oalbarran94 closed 2 years ago

Oalbarran94 commented 2 years ago

Fix: 2658

The problem presented is that when we are executing a long lasting job, it is trying to save the logs into the minio bucket without having finished the job execution. So when it tries to save a third or fourth time it is going to throw an exception complaining that the file's length does not match the one that it is going to upload and that is correct because the job keeps executing.

Hence the approach taken was to catch the exception and let it slipped since it is not causing any problem and it is saving the log into minio after the job is finished.

image

image