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

Fix C++ version of MonitorStage output issue caused by out of order function calls #2140

Conversation

yczhang-nv
Copy link
Contributor

@yczhang-nv yczhang-nv commented Jan 28, 2025

Description

image
  • #2121 ensures the cursor is reset to the last line of output after shutdown by adding ProgressBarContextManager::mark_pbar_as_completed().
  • When executing some of the pipelines, race conditions may cause calling ProgressBarContextManager::display_all() after ProgressBarContextManager::mark_pbar_as_completed(), which intermittently causes the log display issue above - which should has been fixed by this PR.

Closes #2119

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • When the PR is ready for review, new or existing tests cover these changes.
  • When the PR is ready for review, the documentation is up to date with these changes.

@yczhang-nv yczhang-nv requested a review from a team as a code owner January 28, 2025 17:03
@yczhang-nv yczhang-nv changed the base branch from branch-25.06 to branch-25.02 January 28, 2025 17:04
@yczhang-nv yczhang-nv self-assigned this Jan 28, 2025
@yczhang-nv yczhang-nv added bug Something isn't working non-breaking Non-breaking change labels Jan 28, 2025
Copy link
Contributor

@willkill07 willkill07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small nit; otherwise LGTM

@dagardner-nv
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit 199eae2 into nv-morpheus:branch-25.02 Jan 28, 2025
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG]: C++ impl of monitor stage doesn't reset the cursor on shutdown
3 participants