Skip to content

Commit

Permalink
server: avoid some log spam
Browse files Browse the repository at this point in the history
This change removes the following log spam:
```
could not run claimed job 102: no resumer is available for AUTO CONFIG RUNNER
```

Release note: None
  • Loading branch information
knz committed Mar 21, 2023
1 parent 87e227e commit b75a065
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/server/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ go_library(
"//pkg/security/password",
"//pkg/security/securityassets",
"//pkg/security/username",
"//pkg/server/autoconfig",
"//pkg/server/debug",
"//pkg/server/diagnostics",
"//pkg/server/diagnostics/diagnosticspb",
Expand Down
3 changes: 3 additions & 0 deletions pkg/server/server_sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ import (
"github.com/cockroachdb/cockroach/pkg/scheduledjobs"
"github.com/cockroachdb/cockroach/pkg/security/clientsecopts"
"github.com/cockroachdb/cockroach/pkg/security/username"
// Ensure the auto config runner job is registered to avoid log spam.
// Pending merge of https://github.com/cockroachdb/cockroach/pull/98466.
_ "github.com/cockroachdb/cockroach/pkg/server/autoconfig"
"github.com/cockroachdb/cockroach/pkg/server/diagnostics"
"github.com/cockroachdb/cockroach/pkg/server/pgurl"
"github.com/cockroachdb/cockroach/pkg/server/serverpb"
Expand Down

0 comments on commit b75a065

Please sign in to comment.