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: reinstate snapshot status reporting #9606

Merged
merged 1 commit into from Sep 28, 2016

Conversation

jordanlewis
Copy link
Member

@jordanlewis jordanlewis commented Sep 28, 2016

Streaming snapshots inadvertently removed Raft-initiated snapshot status
reporting. This is a feature that allows Raft to perform some IO
optimizations, according to the etcd Raft README, so we'd like to
continue using it.

Fixes #9592.


This change is Reviewable

@tamird
Copy link
Contributor

tamird commented Sep 28, 2016

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks pending.


storage/replica.go, line 2386 at r1 (raw file):

              // Report the snapshot status to Raft, which expects us to do this once
              // we finish attempting to send the snapshot.
              r.reportSnapshotStatus(msg.To, err)

there's a TODO on the method that you should remove as part of this change.


Comments from Reviewable

@petermattis
Copy link
Collaborator

:lgtm:


Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


Comments from Reviewable

Streaming snapshots inadvertently removed Raft-initiated snapshot status
reporting. This is a feature that allows Raft to perform some IO
optimizations, according to the etcd Raft README, so we'd like to
continue using it.

Fixes cockroachdb#9592.
@jordanlewis
Copy link
Member Author

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.


storage/replica.go, line 2386 at r1 (raw file):

Previously, tamird (Tamir Duberstein) wrote…

there's a TODO on the method that you should remove as part of this change.

Done.

Comments from Reviewable

@tamird
Copy link
Contributor

tamird commented Sep 28, 2016

:lgtm: modulo ongoing discussion in #9592.


Reviewed 1 of 1 files at r2.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from Reviewable

@jordanlewis jordanlewis merged commit 4a5fc29 into cockroachdb:master Sep 28, 2016
@jordanlewis jordanlewis deleted the report-snapshot-status branch September 28, 2016 20:44
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.

None yet

3 participants