Skip to content

feat(cli-repl): do not wait for log clean-up MONGOSH-1990 #2355

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

Merged

Conversation

alenakhineika
Copy link
Contributor

When cleaning up the old log files, we won’t wait for those processes to finish to unblock the main process. We will log errors if MongoLogManager throws any.

Copy link
Collaborator

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

markTime() needs to be moved

@MohsenPrg

This comment was marked as spam.

@alenakhineika alenakhineika merged commit 898de1c into gagik/add-disable-logging Feb 4, 2025
10 checks passed
@alenakhineika alenakhineika deleted the MONGOSH-1990-void-log-cleanup branch February 4, 2025 19:39
gagik pushed a commit that referenced this pull request Feb 5, 2025
* feat(cli-repl): do not wait for log clean-up MONGOSH-1990

* test: add test for log manager throwing error

* test: remove only

* fix: mark time after log cleanup
gagik pushed a commit that referenced this pull request Feb 5, 2025
* feat(cli-repl): do not wait for log clean-up MONGOSH-1990

* test: add test for log manager throwing error

* test: remove only

* fix: mark time after log cleanup
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.

4 participants