Flight Log / cockroachdb/cockroach #150562
sql/stats: prevent stats collection in read-only tenants — a Claude Code (Anthropic) flight by Peter Mattis
Peter Mattis (@petermattis) opened this Claude Code (Anthropic) pull request in cockroachdb/cockroach on Jul 19, 2025; merged clean in 47.7 h, merged by @craig[bot]: +191 −25, 9 files, 3 reviews.
- Lines
- +191 −25
- Files
- 9
- Commits
- 1
- Reviews
- 3
- To merge
- 47.7 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Claude Code worked a fix in cockroachdb/cockroach to stop statistics collection in read-only tenants. The change detects read-only status at the tenant level, covering both automatic and manual collection, across nine files with 191 additions and 25 deletions in one commit. It merged clean after three reviews with no change requests, 47.71 hours to merge.
From the pull request description
This change prevents both automatic and manual statistics collection in PCR reader tenants by detecting read-only tenant status at the tenant level rather than checking individual table descriptors. Key changes: - Add TenantReadonly field to SQLConfig and ExecutorConfig to track tenant-level read…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —reviewed
- —reviewed
- —committedPeter Mattis
- —reviewed
- Jul 21, 2025mergedcraig[bot]
- Jul 21, 2025closedcraig[bot]
- Jul 21, 2025labeledceleste-cockroachdb[bot]
Read next
Cite this flight: AgentRiders Flight Log, cockroachdb/cockroach#150562, record updated Nov 3, 2026, https://agentriders.com/logs/cockroachdb/cockroach/150562/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.