Project

General

Profile

Actions

Bug #17767

closed

Do a `git gc` periodically

Added by François ARMAND over 2 years ago. Updated about 1 year ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
43
Regression:

Description

We have several cases where git becomes extremely slow, with git status taking tens of seconds to finish. This is because jgit doesn't periodically do git gc and garbage accumulate.

We should do a git gc periodically, perhaps once a week, or at each rudder boot.

I put that in 5.0 as it is a bug, but depending of complexity it may end in 6.0 or 6.1.

Actions #1

Updated by François ARMAND over 2 years ago

  • Category changed from Web - Maintenance to Performance and scalability
  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 52

Setting to major, because it's very hard to understand why rudder is starting to fail and be slow.

Actions #2

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 5.0.18 to 5.0.19
  • Priority changed from 52 to 51
Actions #3

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 5.0.19 to 5.0.20
  • Priority changed from 51 to 50
Actions #4

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 5.0.20 to 797
  • Priority changed from 50 to 49
Actions #5

Updated by Benoît PECCATTE over 1 year ago

  • Target version changed from 797 to 6.1.14
  • Priority changed from 49 to 43
Actions #6

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #7

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #8

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #9

Updated by François ARMAND about 1 year ago

  • Status changed from New to In progress
Actions #10

Updated by François ARMAND about 1 year ago

  • Target version changed from 6.1.17 to 7.0.0~beta3

Finally, we will had it in in rudder 7.0. It could be backported if necessary.

Actions #11

Updated by François ARMAND about 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/3984
Actions #12

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.0.0~beta3 to 7.0.0~rc1
Actions #13

Updated by François ARMAND about 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #14

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.0.0~rc1 to 7.0.0~beta3
Actions #15

Updated by Vincent MEMBRÉ about 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~beta3 which was released today.

Actions

Also available in: Atom PDF