Skip to content

Change Error log to Info for PVC size increase#1373

Merged
f41gh7 merged 1 commit intoVictoriaMetrics:masterfrom
bertinm-gc:change-error-to-info-when-pvc-increased
May 22, 2025
Merged

Change Error log to Info for PVC size increase#1373
f41gh7 merged 1 commit intoVictoriaMetrics:masterfrom
bertinm-gc:change-error-to-info-when-pvc-increased

Conversation

@bertinm-gc
Copy link
Contributor

@bertinm-gc bertinm-gc commented May 21, 2025

addresses #1361

Copy link
Collaborator

@f41gh7 f41gh7 left a comment

Choose a reason for hiding this comment

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

LGTM

@f41gh7 f41gh7 merged commit a811de4 into VictoriaMetrics:master May 22, 2025
@f41gh7
Copy link
Collaborator

f41gh7 commented May 22, 2025

Thanks for contribution!

// probably, user updated pvc manually
// without applying this changes to the configuration.
logger.WithContext(ctx).Error(fmt.Errorf("cannot decrease PVC=%s size from=%s to=%s", pvc.Name, newSize.String(), existSize.String()),
logger.WithContext(ctx).Info(fmt.Sprintf("cannot decrease PVC=%s size from=%s to=%s", pvc.Name, newSize.String(), existSize.String()),
Copy link
Member

Choose a reason for hiding this comment

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

@f41gh7 should this be reflected in changelog ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No, it's minor internal change

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.

3 participants