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:1646: 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 (×) -- *err... #93947

Closed
cockroach-teamcity opened this issue Dec 19, 2022 · 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

cockroach-teamcity commented Dec 19, 2022

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/3823623277/?referrer=webhooks_plugin

Panic message:

fetcher.go:1646: 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:1646: *withstack.withStack (top exception)
*assert.withAssertionFailure
*errutil.withPrefix: transaction committed but schema change aborted with error: (×) (2)
conn_executor.go:2667: *withstack.withStack (3)
*pgerror.withCandidateCode: XXA00 (4)
*hintdetail.withHint
*issuelink.withIssueLink: #42061 (5)
(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#L1370-L1372 in runtime.goexit

pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).txnStateTransitionsApplyWrapper.func1 at line 2667
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).txnStateTransitionsApplyWrapper at line 2687
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 1858
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 1631
pkg/sql/conn_executor.go in pkg/sql.(*Server).ServeConn at line 670
pkg/sql/pgwire/conn.go in pkg/sql/pgwire.(*conn).processCommandsAsync.func1 at line 648
/usr/local/go/src/runtime/asm_amd64.s in runtime.goexit at line 1371
Tag Value
Cockroach Release v21.2.2
Cockroach SHA: af7f257
Platform darwin amd64
Distribution CCL
Environment development
Command start-single-node
Go Version ``
# of CPUs
# of Goroutines

Jira issue: CRDB-22609

@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 Dec 19, 2022
@yuzefovich
Copy link
Member

yuzefovich commented Dec 21, 2022

unactionable

@exalate-issue-sync exalate-issue-sync bot changed the title sentry: fetcher.go:1646: 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 (×) -- *err... sentry: fetcher.go:1646: 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 (×) -- *err... Dec 21, 2022
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