Skip to content
This repository was archived by the owner on Sep 6, 2018. It is now read-only.

fix(log): truncate file and reset offset correctly - #225

Open
yichengq wants to merge 1 commit into
goraft:masterfrom
yichengq:95
Open

fix(log): truncate file and reset offset correctly#225
yichengq wants to merge 1 commit into
goraft:masterfrom
yichengq:95

Conversation

@yichengq

@yichengq yichengq commented Jun 5, 2014

Copy link
Copy Markdown
Contributor

@yichengq

yichengq commented Jun 5, 2014

Copy link
Copy Markdown
Contributor Author

@xiangli-cmu Based on our discussion, I make the above changes.

@philips

philips commented Jun 6, 2014

Copy link
Copy Markdown
Member

This makes sense to me. I wish the commit had a description like:

"If we need to truncate the file because of a decoding error then seek back to the last known good entry"

If we need to truncate the file because of a decoding error
then seek back to the last known good entry.
@yichengq

yichengq commented Jun 6, 2014

Copy link
Copy Markdown
Contributor Author

refreshed.

@philips

philips commented Jul 29, 2014

Copy link
Copy Markdown
Member

lgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants