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

Disabling the restore option on the vttablet fails to setup metadata table #4115

Closed
ameetkotian opened this issue Jul 30, 2018 · 2 comments
Closed

Comments

@ameetkotian
Copy link
Contributor

ameetkotian commented Jul 30, 2018

Overview of the Issue

If -restore_from_backup is disabled, vttablet does not setup the _vt.local_metadata. _vt.local_metadata is used, among others, by tools like orchestrator to get shard information and failover logic.

Reproduction Steps

Steps to reproduce this issue, example:

  1. Start a new tablet process without -restore_from_backup option.
  2. Check the _vt database is empty:
 SELECT *  FROM _vt.local_metadata ;

The issue is populateMetadataTables is called only part of mysqlctl.Restore.

@derekperkins
Copy link
Member

related to #3753

@derekperkins
Copy link
Member

duplicate of #4006, but as this issue is better documented, I'll close the other issue.

cc @lokanadhamm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants