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

fix bugs to run demo #151

Merged
merged 3 commits into from
Feb 14, 2022
Merged

fix bugs to run demo #151

merged 3 commits into from
Feb 14, 2022

Conversation

hanfei1991
Copy link
Owner

@hanfei1991 hanfei1991 commented Feb 11, 2022

After this PR, cvsTask can run as expected. In addition:

  • adjust log level
  • revert the baseJobMaster to baseMaster

@hanfei1991 hanfei1991 added the status/ptal Could you please take a look? label Feb 11, 2022
@hanfei1991 hanfei1991 requested review from nongfushanquan, amyangfei and liuzix and removed request for amyangfei and liuzix February 11, 2022 10:16
if !task.isEOF {
task.cancelFn()
}
return err
}
if reply.IsEof {
log.L().Info("Reach the end of the file ", zap.Any("fileName:", task.srcDir))
task.isEOF = true
close(task.buffer)
Copy link
Collaborator

Choose a reason for hiding this comment

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

if the server crash in the syncing process, the status should be set error

Copy link
Owner Author

Choose a reason for hiding this comment

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

@codecov-commenter
Copy link

codecov-commenter commented Feb 12, 2022

Codecov Report

Merging #151 (af29b02) into master (25834f8) will not change coverage.
The diff coverage is 0.0000%.

@@             Coverage Diff             @@
##             master       #151   +/-   ##
===========================================
  Coverage   49.9464%   49.9464%           
===========================================
  Files            55         55           
  Lines          4667       4667           
===========================================
  Hits           2331       2331           
+ Misses         2137       2136    -1     
- Partials        199        200    +1     

@hanfei1991
Copy link
Owner Author

relate #152

@hanfei1991 hanfei1991 added this to the v20220218 milestone Feb 14, 2022
@amyangfei amyangfei merged commit af8f0ba into master Feb 14, 2022
@amyangfei amyangfei deleted the hanfei/run-demo branch February 14, 2022 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/ptal Could you please take a look?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants