Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fix base node shutdown #6697

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

hansieodendaal
Copy link
Contributor

@hansieodendaal hansieodendaal commented Nov 21, 2024

Description

Fixed the base node shutdown on Ubuntu (and hopefully on MacOS) whereas pressing Ctrl-C multiple times rendered the command line interface in an undefined state. This was not issue on Windows.

Note: The change to 'base_layer\core\src\base_node\tari_pulse_service\mod.rs' is an interim change to enable testing (getting rid of the repeated command-line spam) but not required for the base node to shut down. More changes in #6696.

Motivation and Context

The base node did not shut down properly on Ubuntu and MacOs.

How Has This Been Tested?

System-level testing on Windows and Ubuntu (WSL).

What process can a PR reviewer use to test or verify this change?

System-level testing - still outstanding on MacOS

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

Fixed the base node shutdown on Ubuntu whereas pressing Ctrl-C multiple times rendered the
command line interface in an undefined state. This was not issue on Windows.

Note: The change to 'base_layer\core\src\base_node\tari_pulse_service\mod.rs' is just to
enable testing (get rid of the repeated command-line spam), and will be fixed in tari-project#6696.
@hansieodendaal hansieodendaal requested a review from a team as a code owner November 21, 2024 13:28
Copy link

Test Results (CI)

    3 files    129 suites   39m 22s ⏱️
1 344 tests 1 344 ✅ 0 💤 0 ❌
4 030 runs  4 030 ✅ 0 💤 0 ❌

Results for commit fbf6099.

Copy link

Test Results (Integration tests)

36 tests  +36   36 ✅ +36   14m 38s ⏱️ + 14m 38s
11 suites +11    0 💤 ± 0 
 2 files   + 2    0 ❌ ± 0 

Results for commit fbf6099. ± Comparison against base commit 0610bcc.

@SWvheerden SWvheerden merged commit d22ef65 into tari-project:development Nov 22, 2024
18 checks passed
@hansieodendaal hansieodendaal deleted the ho_bn_shutdown branch November 22, 2024 08:36
hansieodendaal added a commit to hansieodendaal/tari that referenced this pull request Nov 28, 2024
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