kuzzle icon indicating copy to clipboard operation
kuzzle copied to clipboard

Prevent node eviction while debugging

Open Shiranuit opened this issue 2 years ago • 3 comments

What does this PR do ?

  • Convert IDCardRenewer from a WorkerThread to a ChildProcess to prevent it from being frozen when doing a coredump of kuzzle
  • Add a packet to synchronize the Kuzzle cluster nodes and notify them to not evict a specific node
  • Refactor the debug controller to extract the logic into a dedicated service
  • Add a Cluster debug module that will help debug specific things about the cluster

Other changes

  • Fix core dump crashing because if was using an old method to delete a folder which does not exists anymore

Shiranuit avatar Sep 12 '22 09:09 Shiranuit

Executed Checks

:heavy_check_mark: Branch Merge Check

:heavy_check_mark: Changelog Tag Check

:heavy_check_mark: PR Body Check

Generated by :no_entry_sign: dangerJS against 872fc2df7c34692dd60a7da4d867b0062286d129

kuzzle avatar Sep 12 '22 09:09 kuzzle

Codecov Report

Merging #2387 (650e3f3) into 2-dev (0a178a2) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 650e3f3 differs from pull request most recent head 872fc2d. Consider uploading reports for the commit 872fc2d to get more accurate results

@@      Coverage Diff      @@
##   2-dev   #2387   +/-   ##
=============================
=============================

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Sep 12 '22 13:09 codecov[bot]

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Sep 13 '22 09:09 sonarqubecloud[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Feb 14 '23 14:02 sonarqubecloud[bot]