cockroachdb / cockroachdb/cockroach

backupccl: data race in `TestBackupRestoreWithConcurrentWrites`

Open
#121,501 3 comments 0 reactions 0 assignees View on GitHub
A-disaster-recovery A-kv C-bug P-2 T-disaster-recovery T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Seen in [this build](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Ci_Tests_Testrace/14656167?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildChangesSection=true&expandBuildProblemsSection=true&expandBuildTestsSection=true)

```
==================
WARNING: DATA RACE
Read at 0x00c011363d88 by goroutine 647582:
github.com/cockroachdb/cockroach/pkg/kv/kvpb.(*BatchRequest).SafeFormat()
github.com/cockroachdb/cockroach/pkg/kv/kvpb/pkg/kv/kvpb/batch.go:888 +0x684
github.com/cockroachdb/cockroach/pkg/kv/kvserver/spanlatch.(*latch).SafeFormat()
github.com/cockroachdb/cockroach/pkg/kv/kvserver/spanlatch/manager.go:123 +0x1e5
github.com/cockroachdb/redact/internal/rfmt.(*pp).handleMethods()
...
```

Unsure if this reproduces locally or at `master`.

Jira issue: CRDB-37289

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.