Skip to content

Race condition bug in housekeeping.q #730

Description

@ilya-di

logfile incorrectly zipping

user reported:

We have noticed that on Thursday(morning) a logfile for Thursday became zipped, incorrectly. Haven’t seen before, didn’t happen since then, I had not found any evidence that this was a justified behaviour… except if the find unix command that our housekeeper uses with the agemin defined with a constant “+” prefixed parameter can result in such a bad timing that exclusion of the logfile didn’t happen as the logfile got modified just at that time(or roughly a min ago if mmin +0) but when a few milisecs later the match for deletion happens the logfile was”old enough” to fulfil that criteria - leaving you with effectively no tplog for the day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions