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: refine log for buffer validation. Fixes #185 #573

Merged
merged 2 commits into from
Feb 28, 2023

Conversation

dpadhiar
Copy link
Contributor

Log statement for buffer validation previously was misleading. This validation occurs in the vertex pod's init container. When the vertex pod is being created, this validation happens while the buffers are still being created thus making this log inaccurate.

New log statement shows that the buffers likely aren't created yet instead of an error.

@@ -74,7 +74,7 @@ func NewISBSvcBufferValidateCommand() *cobra.Command {
}
_ = wait.ExponentialBackoffWithContext(ctx, sharedutil.DefaultRetryBackoff, func() (bool, error) {
if err = isbsClient.ValidateBuffers(ctx, bfs); err != nil {
logger.Errorw("Buffers validation failed, will retry if the limit is not reached", zap.Error(err))
logger.Errorw("Buffers not created yet, will retry if the limit is not reached", zap.Error(err))
Copy link
Member

Choose a reason for hiding this comment

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

  1. Maybe using Info is better?
  2. Buffers might have not been created yet, xxxx

@dpadhiar dpadhiar marked this pull request as ready for review February 28, 2023 00:51
Copy link
Member

@whynowy whynowy left a comment

Choose a reason for hiding this comment

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

LGTM

@whynowy whynowy merged commit 1b4800a into numaproj:main Feb 28, 2023
whynowy pushed a commit that referenced this pull request Mar 13, 2023
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