Skip to content

storage: Disallow sync intent resolution in loadSystemConfig#23282

Merged
bdarnell merged 1 commit intocockroachdb:masterfrom
bdarnell:load-system-config-deadlock
Mar 1, 2018
Merged

storage: Disallow sync intent resolution in loadSystemConfig#23282
bdarnell merged 1 commit intocockroachdb:masterfrom
bdarnell:load-system-config-deadlock

Conversation

@bdarnell
Copy link
Copy Markdown
Contributor

@bdarnell bdarnell commented Mar 1, 2018

This holds raftMu on the system config range for too long,
and in extreme cases can lead to deadlock.

Fixes #23254

Release note (bug fix): Fixed a deadlock when tables are rapidly
created or dropped.

This holds raftMu on the system config range for too long,
and in extreme cases can lead to deadlock.

Fixes cockroachdb#23254

Release note (bug fix): Fixed a deadlock when tables are rapidly
created or dropped.
@bdarnell bdarnell requested a review from a team March 1, 2018 19:53
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@a-robinson a-robinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well that was bad. LGTM.

@tbg
Copy link
Copy Markdown
Member

tbg commented Mar 1, 2018

LGTM but we should exercise this in roachtest. I'll file an issue.

@tbg
Copy link
Copy Markdown
Member

tbg commented Mar 1, 2018

(also not that you'd forget, but let's cherry-pick that)

@tbg
Copy link
Copy Markdown
Member

tbg commented Mar 1, 2018

#23286

@bdarnell bdarnell merged commit 9d18dd8 into cockroachdb:master Mar 1, 2018
@bdarnell bdarnell deleted the load-system-config-deadlock branch March 1, 2018 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lots of table creates lock up cluster. Contention on the SystemConfigSpan?

4 participants