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

server: add tso retry number log info. #92

Merged
merged 2 commits into from
May 5, 2016
Merged

Conversation

qiuyesuifeng
Copy link
Contributor

@@ -147,15 +147,15 @@ func (s *Server) getRespTS() *pdpb.Timestamp {
for i := 0; i < maxRetryNum; i++ {
current, ok := s.ts.Load().(*atomicObject)
if !ok {
log.Errorf("we haven't synced timestamp ok, wait and retry")
log.Errorf("we haven't synced timestamp ok, wait and retry, retry number %d", i)
Copy link
Member

Choose a reason for hiding this comment

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

s/number/count/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed.

@siddontang
Copy link
Contributor

LGTM

1 similar comment
@tiancaiamao
Copy link
Contributor

LGTM

@ngaut
Copy link
Member

ngaut commented May 5, 2016

LGMT

@qiuyesuifeng qiuyesuifeng merged commit c9722d0 into master May 5, 2016
@qiuyesuifeng qiuyesuifeng deleted the qiuyesuifeng/tso-log branch May 5, 2016 09:09
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.

4 participants