Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: scatter fails with "pending snapshot already present" #17533

Closed
petermattis opened this issue Aug 9, 2017 · 3 comments
Closed

storage: scatter fails with "pending snapshot already present" #17533

petermattis opened this issue Aug 9, 2017 · 3 comments
Assignees
Milestone

Comments

@petermattis
Copy link
Collaborator

petermattis commented Aug 9, 2017

Saw this error when testing against sky. The error was returned from ALTER TABLE test.kv SCATTER when doing kv --concurrency 512 --splits 100000.

2017/08/09 01:27:10 pq: [n46,s48,r4368/2:/Table/51/1/-7566{8738…-4507…}]: can't set pending snapshot index to 1; pending snapshot already present: 47
@petermattis petermattis self-assigned this Aug 9, 2017
@petermattis petermattis added this to the 1.1 milestone Aug 9, 2017
@benesch benesch changed the title storage: storage: scatter fails with "pending snapshot already present" Aug 9, 2017
@benesch
Copy link
Contributor

benesch commented Aug 15, 2017

@petermattis think this was fixed by #17644?

@petermattis
Copy link
Collaborator Author

No, I think this is interaction between adminScatter and replicateQueue. It isn't particularly harmful, but sort of a wart. I think we could fix it by adding a Replica.maintenanceMu or perhaps Replica.maintenanceCh that is acquired whenever a snapshot is in flight.

@petermattis petermattis modified the milestones: 1.2, 1.1 Aug 17, 2017
@petermattis
Copy link
Collaborator Author

Haven't seen this in a long time. It is possible something fixed this. Closing as not reproducible.

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

No branches or pull requests

2 participants