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

sentry: fetcher.go:1538: transaction committed but schema change aborted with error: (×): Non-nullable column "×:×" with no value! Index scanned was × with the index key columns (×) and the values (×) -- *errutil.leafError: Non-nullable column "×:×" with no value! Index scanned was × with the index key columns (×) and the values (×) (1) fetcher.go:1538: *withstack.withStack (top exception) *assert.withAssertionFailure *contexttags.withContext: n4 (2) *contexttags.withContext: n1 (3) *errutil.withPrefix: transaction committed but schema change aborted with error: (×) (4) conn_executor.go:2291: *withstack.withStack (5) *pgerror.withCandidateCode: XXA00 (6) *hintdetail.withHint *issuelink.withIssueLink: https://github.com/cockroachdb/cockroach/issues/42061 (7) (check the extra data payloads) #65921

Closed
cockroach-teamcity opened this issue Jun 1, 2021 · 1 comment
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-sentry Originated from an in-the-wild panic report.

Comments

@cockroach-teamcity
Copy link
Member

This issue was autofiled by Sentry. It represents a crash or reported error on a live cluster with telemetry enabled.

Sentry link: https://sentry.io/organizations/cockroach-labs/issues/2430493442/?referrer=webhooks_plugin

Panic message:

fetcher.go:1538: transaction committed but schema change aborted with error: (×): Non-nullable column "×:×" with no value! Index scanned was × with the index key columns (×) and the values (×)
--
*errutil.leafError: Non-nullable column "×:×" with no value! Index scanned was × with the index key columns (×) and the values (×) (1)
fetcher.go:1538: *withstack.withStack (top exception)
*assert.withAssertionFailure
*contexttags.withContext: n4 (2)
*contexttags.withContext: n1 (3)
*errutil.withPrefix: transaction committed but schema change aborted with error: (×) (4)
conn_executor.go:2291: *withstack.withStack (5)
*pgerror.withCandidateCode: XXA00 (6)
*hintdetail.withHint
*issuelink.withIssueLink: #42061 (7)
(check the extra data payloads)

Stacktrace (expand for inline code snippets):

// error message, in case it was a serious error.
newErr := pgerror.Wrapf(err,
pgcode.TransactionCommittedWithSchemaChangeFailure,
in pkg/sql.(*connExecutor).txnStateTransitionsApplyWrapper.func1
ex.extraTxnState.jobs); err != nil {
handleErr(err)
}
in pkg/sql.(*connExecutor).txnStateTransitionsApplyWrapper
var err error
advInfo, err = ex.txnStateTransitionsApplyWrapper(ev, payload, res, pos)
if err != nil {
in pkg/sql.(*connExecutor).execCmd
var err error
if err = ex.execCmd(ex.Ctx()); err != nil {
if errors.IsAny(err, io.EOF, errDrainingComplete) {
in pkg/sql.(*connExecutor).run
}()
return h.ex.run(ctx, s.pool, reserved, cancel)
}
in pkg/sql.(*Server).ServeConn
reservedOwned = false // We're about to pass ownership away.
retErr = sqlServer.ServeConn(ctx, connHandler, reserved, cancelConn)
}()
in pkg/sql/pgwire.(*conn).processCommandsAsync.func1
/usr/local/go/src/runtime/asm_amd64.s#L1356-L1358 in runtime.goexit

pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).txnStateTransitionsApplyWrapper.func1 at line 2291
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).txnStateTransitionsApplyWrapper at line 2310
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 1610
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 1391
pkg/sql/conn_executor.go in pkg/sql.(*Server).ServeConn at line 508
pkg/sql/pgwire/conn.go in pkg/sql/pgwire.(*conn).processCommandsAsync.func1 at line 626
/usr/local/go/src/runtime/asm_amd64.s in runtime.goexit at line 1357
Tag Value
Cockroach Release v20.2.9
Cockroach SHA: c9d5466
Platform linux amd64
Distribution CCL
Environment v20.2.9
Command server
Go Version ``
# of CPUs
# of Goroutines
@cockroach-teamcity cockroach-teamcity added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-sentry Originated from an in-the-wild panic report. labels Jun 1, 2021
@yuzefovich
Copy link
Member

closing as unactionable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-sentry Originated from an in-the-wild panic report.
Projects
None yet
Development

No branches or pull requests

2 participants