Skip to content

Purge LinkedLogRotator#47

Open
orgads wants to merge 1 commit into
jenkinsci:masterfrom
orgads:no-rotator
Open

Purge LinkedLogRotator#47
orgads wants to merge 1 commit into
jenkinsci:masterfrom
orgads:no-rotator

Conversation

@orgads

@orgads orgads commented May 1, 2017

Copy link
Copy Markdown
Contributor

It is O(n^2), and looks like it adds no real value. The normal rotator should delete all the builds.

This might be the cause for JENKINS-38334

@olivergondza

olivergondza commented May 2, 2017

Copy link
Copy Markdown
Member

I am trying to understand what an impact fo such a change would be.

  • The LinkedLogRotator does not ever seem to get serialized (grepped my backups). Good.
  • Presumably it was introduced before MatrixBuild#delete was refactored to delete its configuration builds so it might be unnecessary these days. Good.
  • BUT, the LinkedLogRotator is deleting inactive configurations - is this taken care of as well?

It is O(n^2), and looks like it adds no real value. The normal
rotator should delete all the builds.
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

Successfully merging this pull request may close these issues.

2 participants