Skip to content

Resolve "Add profiling to worker timeout case"

Ivaylo Novakov requested to merge 4296-add-profiling-to-worker-timeout-case into master

MERGE REQUEST

MR Guidelines

Overview

This MR adds some debug output to the panic that happens when a worker thread fails to go idle for more than 40 minutes. We want to know what's causing that to happen, so we'll print the internal state of the worker and the stacks of all goroutines operating at that time. This should give us enough information.

The MR also tweaks a little bit the protection against double execution because it seems that it might fail in some cases.

Example for Visual Changes

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • All new methods or updated methods have clear docstrings
  • Testing added or updated for new methods
  • Any new packages are added to Makefile and .gitlab-ci.yml
  • API documentation updated for API updates
  • Module README.md updated for changes to workflow
  • Issue added to Sia-UI repo for new supporting features
  • Changelog File Created

Issues Closed

Closes #4296 (closed)

Edited by Ivaylo Novakov

Merge request reports