You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After f46d0bd, concurrent logrotate tasks will fail if status file is not specified.Exclusive access to the state file is indeed necessary.However, in the default scenario, waiting for the last logrotate task to complete is better than returning a failure message.In addition, if different state files are configured with the same log, the current locking mechanism does not seem to be able to avoid concurrent dumps of logs.
The text was updated successfully, but these errors were encountered:
There is already the --wait-for-state-lock option for this and I think it is obvious from the man page why it is not the default behavior. See #457 for the context.
After f46d0bd, concurrent logrotate tasks will fail if status file is not specified.Exclusive access to the state file is indeed necessary.However, in the default scenario, waiting for the last logrotate task to complete is better than returning a failure message.In addition, if different state files are configured with the same log, the current locking mechanism does not seem to be able to avoid concurrent dumps of logs.
The text was updated successfully, but these errors were encountered: