-
Notifications
You must be signed in to change notification settings - Fork 4.1k
storage: GC error when racing with a split #7652
Copy link
Copy link
Closed
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution 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 restartingSevere stability issues that can be fixed by upgrading, but usually don’t resolve by restarting
Milestone
Description
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)
"""
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution 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 restartingSevere stability issues that can be fixed by upgrading, but usually don’t resolve by restarting