{"action":"created","issue":{"url":"https://api.github.com/repos/youtube/vitess/issues/1898","repository_url":"https://api.github.com/repos/youtube/vitess","labels_url":"https://api.github.com/repos/youtube/vitess/issues/1898/labels{/name}","comments_url":"https://api.github.com/repos/youtube/vitess/issues/1898/comments","events_url":"https://api.github.com/repos/youtube/vitess/issues/1898/events","html_url":"https://github.com/youtube/vitess/pull/1898","id":167945412,"number":1898,"title":"Keep _vt.local_metadata table across backup-restore operations.","user":{"login":"pivanof","id":5752651,"avatar_url":"https://avatars.githubusercontent.com/u/5752651?v=3","gravatar_id":"","url":"https://api.github.com/users/pivanof","html_url":"https://github.com/pivanof","followers_url":"https://api.github.com/users/pivanof/followers","following_url":"https://api.github.com/users/pivanof/following{/other_user}","gists_url":"https://api.github.com/users/pivanof/gists{/gist_id}","starred_url":"https://api.github.com/users/pivanof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivanof/subscriptions","organizations_url":"https://api.github.com/users/pivanof/orgs","repos_url":"https://api.github.com/users/pivanof/repos","events_url":"https://api.github.com/users/pivanof/events{/privacy}","received_events_url":"https://api.github.com/users/pivanof/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/youtube/vitess/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-27T20:13:04Z","updated_at":"2016-07-28T17:25:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/youtube/vitess/pulls/1898","html_url":"https://github.com/youtube/vitess/pull/1898","diff_url":"https://github.com/youtube/vitess/pull/1898.diff","patch_url":"https://github.com/youtube/vitess/pull/1898.patch"},"body":"So far local_metadata contained only data needed for Orchestrator and we didn't\r\nneed to preserve that data across restores because it was about the vttablet\r\nrunning near MySQL. With the plan to store some data about the database itself\r\n(e.g. id of a schema swap already executed on the database) we need to save\r\nthe table's contents in a backup and preserve it after restore.\r\nThis change achieves that. The data used by Orchestrator gets repopulated\r\nimmediately after restore, so that functionality is not changed.\r\n\r\n@alainjobart\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/youtube/vitess/1898)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/youtube/vitess/issues/comments/235964803","html_url":"https://github.com/youtube/vitess/pull/1898#issuecomment-235964803","issue_url":"https://api.github.com/repos/youtube/vitess/issues/1898","id":235964803,"user":{"login":"alainjobart","id":4625714,"avatar_url":"https://avatars.githubusercontent.com/u/4625714?v=3","gravatar_id":"","url":"https://api.github.com/users/alainjobart","html_url":"https://github.com/alainjobart","followers_url":"https://api.github.com/users/alainjobart/followers","following_url":"https://api.github.com/users/alainjobart/following{/other_user}","gists_url":"https://api.github.com/users/alainjobart/gists{/gist_id}","starred_url":"https://api.github.com/users/alainjobart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainjobart/subscriptions","organizations_url":"https://api.github.com/users/alainjobart/orgs","repos_url":"https://api.github.com/users/alainjobart/repos","events_url":"https://api.github.com/users/alainjobart/events{/privacy}","received_events_url":"https://api.github.com/users/alainjobart/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T17:25:07Z","updated_at":"2016-07-28T17:25:07Z","body":"<img class=\"emoji\" title=\":lgtm:\" alt=\":lgtm:\" align=\"absmiddle\" src=\"https://reviewable.io/lgtm.png\" height=\"20\" width=\"61\"/>\n\n---\n\nReviewed 1 of 1 files at r3.\nReview status: all files reviewed at latest revision, 1 unresolved discussion.\n\n---\n\n\n\n*Comments from [Reviewable](https://reviewable.io:443/reviews/youtube/vitess/1898#-:-KNmXQ-kPikabCFv5eKE:1417088721)*\n<!-- Sent from Reviewable.io -->\n"}}
{"actor":{"display_login":"alainjobart"}}