Project

General

Profile

Actions

Bug #15095

closed

Hooks need to run on an dedicated thread pool

Added by François ARMAND almost 5 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

If hooks run on scala "global" threadpool, they risk to be blocked by whatever is also on that threadpool, especially since its policy is not to run as always async.

Moreover, we need a seperate log for hooks, and a warning log on very long hooks (on a dedicated logger that can be shutdown by user if he wants).


Subtasks 1 (0 open1 closed)

Bug #15098: Duration import breaks compilation of PolicyWriterService.scalaReleasedFrançois ARMANDActions

Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #15102: Port NuProcess and RunHooks to ZIOReleasedFrançois ARMANDActions
Actions #1

Updated by François ARMAND almost 5 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND almost 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/2269
Actions #3

Updated by François ARMAND almost 5 years ago

  • Subject changed from Missing log on hooks for generation to Hooks need to run on an other threadpool than scala global
  • Description updated (diff)
Actions #4

Updated by Rudder Quality Assistant almost 5 years ago

  • Assignee changed from Nicolas CHARLES to François ARMAND
Actions #5

Updated by François ARMAND almost 5 years ago

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

Updated by François ARMAND almost 5 years ago

Actions #7

Updated by Vincent MEMBRÉ almost 5 years ago

  • Name check set to To do
Actions #8

Updated by Vincent MEMBRÉ almost 5 years ago

  • Fix check set to To do
Actions #9

Updated by François ARMAND almost 5 years ago

  • Fix check changed from To do to Checked
Actions #10

Updated by Alexis Mousset almost 5 years ago

  • Subject changed from Hooks need to run on an other threadpool than scala global to Hooks need to run on an dedicated thread pool
  • Name check changed from To do to Reviewed
Actions #11

Updated by Vincent MEMBRÉ almost 5 years ago

This bug has been fixed in Rudder 5.0.12 which was released today.

Actions #12

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF