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

pump/*: Refine some log in storage/ #607

Merged
merged 13 commits into from
May 20, 2019
Merged

pump/*: Refine some log in storage/ #607

merged 13 commits into from
May 20, 2019

Conversation

july2993
Copy link
Contributor

What problem does this PR solve?

Refine some log in storage/

What is changed and how it works?

RT

Check List

Tests

Code changes

Side effects

Related changes

@july2993
Copy link
Contributor Author

/run-all-tests

2 similar comments
@july2993
Copy link
Contributor Author

/run-all-tests

@july2993
Copy link
Contributor Author

/run-all-tests

@july2993
Copy link
Contributor Author

/rebuild

pump/storage/storage.go Outdated Show resolved Hide resolved
pump/storage/storage.go Outdated Show resolved Hide resolved
@zhouqiang-cl
Copy link
Contributor

/run-all-tests

@suzaku
Copy link
Contributor

suzaku commented May 20, 2019

LGTM

pump/storage/log.go Outdated Show resolved Hide resolved
pump/storage/log.go Outdated Show resolved Hide resolved
pump/storage/storage.go Outdated Show resolved Hide resolved
pump/storage/storage.go Outdated Show resolved Hide resolved
july2993 and others added 4 commits May 20, 2019 15:30
Co-Authored-By: Ian <ArGregoryIan@gmail.com>
Co-Authored-By: Ian <ArGregoryIan@gmail.com>
Co-Authored-By: Ian <ArGregoryIan@gmail.com>
@july2993
Copy link
Contributor Author

/run-all-tests

@july2993
Copy link
Contributor Author

/run-all-tests

pump/storage/vlog.go Outdated Show resolved Hide resolved
pump/storage/vlog.go Outdated Show resolved Hide resolved
@@ -305,7 +304,7 @@ func (vlog *valueLog) write(reqs []*request) error {
if vlog.sync {
err = curFile.fdatasync()
if err != nil {
return errors.Trace(err)
return errors.Annotate(err, "fdatasync failed")
Copy link
Collaborator

Choose a reason for hiding this comment

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

should we add file name?

july2993 and others added 3 commits May 20, 2019 15:53
Co-Authored-By: Ian <ArGregoryIan@gmail.com>
Co-Authored-By: Ian <ArGregoryIan@gmail.com>
@july2993
Copy link
Contributor Author

/run-all-tests

@july2993
Copy link
Contributor Author

/run-all-tests

@july2993 july2993 requested a review from IANTHEREAL May 20, 2019 08:16
@july2993
Copy link
Contributor Author

/run-all-tests

@IANTHEREAL
Copy link
Collaborator

LGTM

@july2993
Copy link
Contributor Author

/run-all-tests

1 similar comment
@july2993
Copy link
Contributor Author

/run-all-tests

@july2993
Copy link
Contributor Author

/run-all-tests tidb=release-2.1 tikv=release-2.1 pd=release-2.1

@july2993 july2993 merged commit 30ad792 into release-2.1 May 20, 2019
@july2993 july2993 deleted the hjh/err branch May 20, 2019 10:47
july2993 added a commit to july2993/tidb-binlog that referenced this pull request May 23, 2019
IANTHEREAL pushed a commit that referenced this pull request May 27, 2019
* pump/*: Refine some log in storage/ (#607)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants