cockroachdb / cockroachdb/cockroach

Sentry: version_set.go:1055: log.Dev.Fatal: MANIFEST flush failed: reading AEAD response header: read tcp × -> ×: read: connection reset by peer (1) attached stack trace -- stack trace: | github...

Open
#175,038 3 comments 0 reactions 0 assignees View on GitHub
A-storage C-bug O-sentry T-storage
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

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

Sentry Link: [https://cockroach-labs.sentry.io/issues/7726268595/?referrer=webhooks_plugin](https://cockroach-labs.sentry.io/issues/7726268595/?referrer=webhooks_plugin)

Panic Message:

```
version_set.go:1055: log.Dev.Fatal: MANIFEST flush failed: reading AEAD response header: read tcp × -> ×: read: connection reset by peer
(1) attached stack trace
-- stack trace:
| github.com/cockroachdb/pebble.(*versionSet).UpdateVersionLocked
| external/com_github_cockroachdb_pebble/version_set.go:1055
| github.com/cockroachdb/pebble.(*DB).flush1
| external/com_github_cockroachdb_pebble/compaction.go:1817
| github.com/cockroachdb/pebble.(*DB).flush.func1
| external/com_github_cockroachdb_pebble/compaction.go:1524
| runtime/pprof.Do
| GOROOT/src/runtime/pprof/runtime.go:57
| github.com/cockroachdb/pebble.(*DB).flush
| external/com_github_cockroachdb_pebble/compaction.go:1517
| runtime.goexit
| src/runtime/asm_arm64.s:1447
Wraps: (2) secondary error attachment
| MANIFEST flush failed: reading AEAD response header: read tcp × -> ×: read: connection reset by peer
| (1) attached stack trace
| -- stack trace:
| | github.com/cockroachdb/pebble/internal/manifestmanager.writeRecord
| | external/com_github_cockroachdb_pebble/internal/manifestmanager/manifestmanager.go:1034
| | github.com/cockroachdb/pebble/internal/manifestmanager.(*Manager).writeAndSync
| | external/com_github_cockroachdb_pebble/internal/manifestmanager/manifestmanager.go:875
| | github.com/cockroachdb/pebble/internal/manifestmanager.(*Manager).Append
| | external/com_github_cockroachdb_pebble/internal/manifestmanager/manifestmanager.go:810
| | github.com/cockroachdb/pebble.(*manifestWriter).Write
| | external/com_github_cockroachdb_pebble/manifest_writer.go:330
| | github.com/cockroachdb/pebble.(*versionSet).UpdateVersionLocked.func2
| | external/com_github_cockroachdb_pebble/version_set.go:1027
| | github.com/cockroachdb/pebble.(*versionSet).UpdateVersionLocked
| | external/com_github_cockroachdb_pebble/version_set.go:1042
| | github.com/cockroachdb/pebble.(*DB).flush1
| | external/com_github_cockroachdb_pebble/compaction.go:1817
| | github.com/cockroachdb/pebble.(*DB).flush.func1
| | external/com_github_cockroachdb_pebble/compaction.go:1524
| | runtime/pprof.Do
| | GOROOT/src/runtime/pprof/runtime.go:57
| | [...repeated from below...]
| Wraps: (2) MANIFEST flush failed
| Wraps: (3) attached stack trace
| -- stack trace:
| | github.com/cockroachdb/basalt/basaltclient.(*BlobDataClient).doRequestAEAD
| | external/com_github_cockroachdb_basalt_basaltclient/blob_data.go:274
| | github.com/cockroachdb/basalt/basaltclient.(*BlobDataClient).doRequest
| | external/com_github_cockroachdb_basalt_basaltclient/blob_data.go:216
| | github.com/cockroachdb/basalt/basaltclient.(*BlobDataClient).Append
| | external/com_github_cockroachdb_basalt_basaltclient/blob_data.go:332
| | github.com/cockroachdb/basalt/basaltclient.(*quorumReplicaWorker).run
| | external/com_github_cockroachdb_basalt_basaltclient/quorum_writer.go:812
| | runtime.goexit
| | src/runtime/asm_arm64.s:1447
| Wraps: (4) reading AEAD response header
| Wraps: (5) read tcp × -> ×
| Wraps: (6) read
| Wraps: (7) connection reset by peer
| Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *withstack.withStack (4) *errutil.withPrefix (5) *net.OpError (6) *os.SyscallError (7) syscall.Errno
Wraps: (3) log.Dev.Fatal: MANIFEST flush failed: reading AEAD response header: read tcp × -> ×: read: connection reset by peer
Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.leafError
-- report composition:
*errutil.leafError: log.Dev.Fatal: MANIFEST flush failed: reading AEAD response header: read tcp × -> ×: read: connection reset by peer
*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack:::
version_set.go:1055: *withstack.withStack (top exception)
```

Stacktrace (expand for inline code snippets):

[src/runtime/asm_arm64.s#L1446-L1448](src/runtime/asm_arm64.s#L1446-L1448)
[external/com_github_cockroachdb_pebble/compaction.go#L1516-L1518](external/com_github_cockroachdb_pebble/compaction.go#L1516-L1518)
[GOROOT/src/runtime/pprof/runtime.go#L56-L58](GOROOT/src/runtime/pprof/runtime.go#L56-L58)
[external/com_github_cockroachdb_pebble/compaction.go#L1523-L1525](external/com_github_cockroachdb_pebble/compaction.go#L1523-L1525)
[external/com_github_cockroachdb_pebble/compaction.go#L1816-L1818](external/com_github_cockroachdb_pebble/compaction.go#L1816-L1818)
[external/com_github_cockroachdb_pebble/version_set.go#L1054-L1056](external/com_github_cockroachdb_pebble/version_set.go#L1054-L1056)

```
src/runtime/asm_arm64.s in runtime.goexit at line 1447
external/com_github_cockroachdb_pebble/compaction.go in github.com/cockroachdb/pebble.(*DB).flush at line 1517
GOROOT/src/runtime/pprof/runtime.go in runtime/pprof.Do at line 57
external/com_github_cockroachdb_pebble/compaction.go in github.com/cockroachdb/pebble.(*DB).flush.func1 at line 1524
external/com_github_cockroachdb_pebble/compaction.go in github.com/cockroachdb/pebble.(*DB).flush1 at line 1817
external/com_github_cockroachdb_pebble/version_set.go in github.com/cockroachdb/pebble.(*versionSet).UpdateVersionLocked at line 1055
```

### Tags

| Tag | Value |
| --- | --- |
| Command | server |
| Environment | v26.3.2 |
| Go Version | go1.26.6 |
| Platform | linux arm64 |
| Distribution | CCL |
| Cockroach Release | v26.3.2-cloudonly.1-basalt |
| Cockroach SHA | 807558e5e81666af257c811e925e4cae570abc28 |
| # of CPUs | 4 |
| # of Goroutines | 573 |

Jira issue: CRDB-68187

Contributor guide

Open the contributing guide

Research direction

Start with external/com_github_cockroachdb_pebble/version_set.go:1055 and trace the manifest write through internal/manifestmanager/manifestmanager.go:1034 to basaltclient/blob_data.go:274. Use the Sentry report and Jira issue CRDB-68187 to investigate the connection reset; the issue does not define the expected fix or completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.