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: lease.go:440: transaction committed but schema change aborted with error: (×): ×: ×: unable to read descriptor (127, 1647537501.076645470,2) found descriptor with modificationTime 1647537501.076645470,1 -- *errutil.leafError: unable to read descriptor (127, 1647537501.076645470,2) found descriptor with modificationTime 1647537501.076645470,1 (1) lease.go:440: *withstack.withStack (top exception) *assert.withAssertionFailure *errutil.withPrefix: × (2) util.go:603: *withstack.withStack (3) *pgerror.withCandidateCode: 42704 (4) *errutil.withPrefix: × (5) internal.go:658: *withstack.withStack (6) *errutil.withPrefix: transaction committed but schema change aborted with error: (×) (7) conn_executor.go:2383: *withstack.withStack (8) *pgerror.withCandidateCode: XXA00 (9) *hintdetail.withHint *issuelink.withIssueLink: https://github.com/cockroachdb/cockroach/issues/42061 (10) (check the extra data payloads) #78033

Closed
cockroach-teamcity opened this issue Mar 17, 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

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

Panic message:

lease.go:440: transaction committed but schema change aborted with error: (×): ×: ×: unable to read descriptor (127, 1647537501.076645470,2) found descriptor with modificationTime 1647537501.076645470,1
--
*errutil.leafError: unable to read descriptor (127, 1647537501.076645470,2) found descriptor with modificationTime 1647537501.076645470,1 (1)
lease.go:440: *withstack.withStack (top exception)
*assert.withAssertionFailure
*errutil.withPrefix: × (2)
util.go:603: *withstack.withStack (3)
*pgerror.withCandidateCode: 42704 (4)
*errutil.withPrefix: × (5)
internal.go:658: *withstack.withStack (6)
*errutil.withPrefix: transaction committed but schema change aborted with error: (×) (7)
conn_executor.go:2383: *withstack.withStack (8)
*pgerror.withCandidateCode: XXA00 (9)
*hintdetail.withHint
*issuelink.withIssueLink: #42061 (10)
(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#L1373-L1375 in runtime.goexit

pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).txnStateTransitionsApplyWrapper.func1 at line 2383
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).txnStateTransitionsApplyWrapper at line 2403
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 1679
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 1450
pkg/sql/conn_executor.go in pkg/sql.(*Server).ServeConn at line 484
pkg/sql/pgwire/conn.go in pkg/sql/pgwire.(*conn).processCommandsAsync.func1 at line 628
/usr/local/go/src/runtime/asm_amd64.s in runtime.goexit at line 1374
Tag Value
Cockroach Release v21.1.7
Cockroach SHA: 1fac61a
Platform linux amd64
Distribution CCL
Environment development
Command start-single-node
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 Mar 17, 2022
@yuzefovich
Copy link
Member

dup of #76976

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