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

Rename log rotate config #1520

Merged
merged 4 commits into from
Nov 27, 2023
Merged

Conversation

ashmeenkaur
Copy link
Collaborator

@ashmeenkaur ashmeenkaur commented Nov 24, 2023

Description

Based on the limitation in lumberjack library that doesn't allow creation of 0 backup files, we are renaming "file-count" config to "backup-file-count".

Link to the issue in case of a bug fix.

Testing details

  1. Manual - Manually ran on VM and docker again to verify everything is working as intended
  2. Unit tests - Updated
  3. Integration tests - passed

@ashmeenkaur ashmeenkaur added the execute-integration-tests Run only integration tests label Nov 24, 2023
@ashmeenkaur ashmeenkaur changed the base branch from master to dec_2023_release November 24, 2023 08:02
@ashmeenkaur ashmeenkaur changed the base branch from dec_2023_release to integrate_with_lumberjack November 24, 2023 10:01
@ashmeenkaur ashmeenkaur changed the base branch from integrate_with_lumberjack to dec_2023_release November 24, 2023 11:30
@ashmeenkaur ashmeenkaur removed the execute-integration-tests Run only integration tests label Nov 24, 2023
@ashmeenkaur ashmeenkaur marked this pull request as ready for review November 24, 2023 11:30
Copy link
Collaborator

@raj-prince raj-prince left a comment

Choose a reason for hiding this comment

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

Should we write unit test for backupFileCount = 0?

Other than that LGTM.

@raj-prince raj-prince self-requested a review November 27, 2023 05:31
Copy link
Collaborator

@raj-prince raj-prince left a comment

Choose a reason for hiding this comment

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

Also, can we write the integration test for backup-file-count = 0? I feel like, it's important.

@ashmeenkaur
Copy link
Collaborator Author

Also, can we write the integration test for backup-file-count = 0? I feel like, it's important.

Added a TODO for the same, I will take this up in a separate PR.

@ashmeenkaur ashmeenkaur merged commit 5a36491 into dec_2023_release Nov 27, 2023
8 checks passed
gargnitingoogle pushed a commit that referenced this pull request Nov 28, 2023
* change file-count to backup-file-count

* remove 0 value constraint from backup-file-count

* review comment to add unit test for backup file count 0

* review comments
gargnitingoogle pushed a commit that referenced this pull request Nov 28, 2023
* change file-count to backup-file-count

* remove 0 value constraint from backup-file-count

* review comment to add unit test for backup file count 0

* review comments
gargnitingoogle pushed a commit that referenced this pull request Nov 28, 2023
* change file-count to backup-file-count

* remove 0 value constraint from backup-file-count

* review comment to add unit test for backup file count 0

* review comments
gargnitingoogle pushed a commit that referenced this pull request Nov 29, 2023
* change file-count to backup-file-count

* remove 0 value constraint from backup-file-count

* review comment to add unit test for backup file count 0

* review comments
raj-prince pushed a commit that referenced this pull request Nov 29, 2023
* change file-count to backup-file-count

* remove 0 value constraint from backup-file-count

* review comment to add unit test for backup file count 0

* review comments
@ashmeenkaur ashmeenkaur deleted the rename-log-rotate-config branch December 4, 2023 05:56
gargnitingoogle pushed a commit that referenced this pull request Jan 4, 2024
* change file-count to backup-file-count

* remove 0 value constraint from backup-file-count

* review comment to add unit test for backup file count 0

* review comments
ashmeenkaur added a commit that referenced this pull request Jan 9, 2024
* change file-count to backup-file-count

* remove 0 value constraint from backup-file-count

* review comment to add unit test for backup file count 0

* review comments
ashmeenkaur added a commit that referenced this pull request Jan 10, 2024
* change file-count to backup-file-count

* remove 0 value constraint from backup-file-count

* review comment to add unit test for backup file count 0

* review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants