Skip to content

add log message if new tablet doesn't have a sufficiently new timesta…#3084

Merged
sougou merged 2 commits intovitessio:masterfrom
gentryx:master
Aug 17, 2017
Merged

add log message if new tablet doesn't have a sufficiently new timesta…#3084
sougou merged 2 commits intovitessio:masterfrom
gentryx:master

Conversation

@gentryx
Copy link
Copy Markdown
Contributor

@gentryx gentryx commented Aug 17, 2017

…mp to be marked up

// The notification we just got is older than
// the one we had before, discard it.
if ts.TabletExternallyReparentedTimestamp < e.healthy[0].TabletExternallyReparentedTimestamp {
log.Warningf("not marking healthy master as Up because its externally reparented timestamt is smaller than the highest known timestamp from previous MASTERs: %d < %d ",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

typo: timestamt

// The notification we just got is older than
// the one we had before, discard it.
if ts.TabletExternallyReparentedTimestamp < e.healthy[0].TabletExternallyReparentedTimestamp {
log.Warningf("not marking healthy master as Up because its externally reparented timestamt is smaller than the highest known timestamp from previous MASTERs: %d < %d ",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also need to add a few imports to fix build.

@gentryx
Copy link
Copy Markdown
Contributor Author

gentryx commented Aug 17, 2017

Ugh, I forgot you'd be seeing this even though CI hasn't completed yet. Sorry about the noise.

I'll ping you here once the patch is at least compiling. :-)

@alainjobart
Copy link
Copy Markdown
Contributor

alainjobart commented Aug 17, 2017

LGTM

Approved with PullApprove

@sougou sougou merged commit 8ac93ef into vitessio:master Aug 17, 2017
@demmer demmer mentioned this pull request Sep 4, 2017
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