Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

log spam CRITICAL failed to convert node #11276

Closed
Assignees
spikecurtis
Labels
s3Bugs that confuse, annoy, or are purely cosmetic
@spikecurtis

Description

@spikecurtis

Customers are seeing logs dropped from this line:

c.logger.Critical(c.ctx,"failed to convert node",slog.F("node",bestN),slog.Error(err))

like

2023-12-19 02:01:06.578 [crit]  coderd.pgcoord: failed to convert node  coordinator_id=b830df01-161b-49ca-9003-9b4b23d0e50f  node=<nil>  error="missing/incorrect type prefix np"

We are missing a check for the node being missing (allowed by this function) before trying to convert it.

Since the correct behavior is to return nil (and NOT drop a log), the only problem is the log itself.

Metadata

Metadata

Assignees

Labels

s3Bugs that confuse, annoy, or are purely cosmetic

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp