Skip to content

storage: GC error when racing with a split #7652

@knz

Description

@knz

Found while running a loop of "create database; create table; drop database" against an idle single-node server:

I160706 14:57:58.767892 storage/replica_command.go:2127  initiating a split of range=1416 [/Table/1309-/Max) at key /Table/1310
W160706 14:57:58.855717 storage/intent_resolver.go:343  could not GC completed transaction: key range /Table/1309-/Max outside of bounds of range /Table/1309-/Table/1310

Requested by @bdarnell:
"""
file an issue for that transaction gc message. it’s harmless, but we can do better by making the intentResolver always use the DistSender instead of blindly writing to its local range (which may no longer be the right one if we’re racing with a split)
"""

Metadata

Metadata

Assignees

Labels

C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)S-1-stabilitySevere stability issues that can be fixed by upgrading, but usually don’t resolve by restarting

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions