Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

pkg/cluster: remove disaster recovery/restore and backupmanager #1629

Merged
merged 2 commits into from
Nov 7, 2017

Conversation

fanminshi
Copy link
Contributor

ref: #1626

@fanminshi
Copy link
Contributor Author

cc/ @hongchaodeng @hasbro17

Copy link
Member

@hongchaodeng hongchaodeng left a comment

Choose a reason for hiding this comment

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

lgtm after nit

c.logger.Infof("Disaster recovery")
return c.disasterRecovery(L)
c.logger.Infof("lost quorum")
return fmt.Errorf("lost quorum")
Copy link
Member

Choose a reason for hiding this comment

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

errors.New("lost quorum")

Make it a global var.

@hongchaodeng
Copy link
Member

Test failing.

@fanminshi fanminshi changed the title pkg/cluster: remove disaster recovery/restore logic from pkg/cluster pkg/cluster: remove disaster recovery/restore and backupmanager Nov 7, 2017
@fanminshi
Copy link
Contributor Author

fanminshi commented Nov 7, 2017

fmt check was complaining that some constants in backupmanager are not used. so i remove backupmanager in this pr too.

@hongchaodeng
Copy link
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.

None yet

2 participants