{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/135","labels_url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/135/comments","events_url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/135/events","html_url":"https://github.com/mesosphere/cassandra-mesos/pull/135","id":102369953,"number":135,"title":"restore_basic2","user":{"login":"dmitrypekar","id":2434593,"avatar_url":"https://avatars.githubusercontent.com/u/2434593?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrypekar","html_url":"https://github.com/dmitrypekar","followers_url":"https://api.github.com/users/dmitrypekar/followers","following_url":"https://api.github.com/users/dmitrypekar/following{/other_user}","gists_url":"https://api.github.com/users/dmitrypekar/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrypekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrypekar/subscriptions","organizations_url":"https://api.github.com/users/dmitrypekar/orgs","repos_url":"https://api.github.com/users/dmitrypekar/repos","events_url":"https://api.github.com/users/dmitrypekar/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrypekar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-08-21T12:32:50Z","updated_at":"2015-09-14T08:39:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mesosphere/cassandra-mesos/pulls/135","html_url":"https://github.com/mesosphere/cassandra-mesos/pull/135","diff_url":"https://github.com/mesosphere/cassandra-mesos/pull/135.diff","patch_url":"https://github.com/mesosphere/cassandra-mesos/pull/135.patch"},"body":"If recreated branch and PR for restore_basic functionality.\r\nPlease review & merge."},"comment":{"url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/comments/140001561","html_url":"https://github.com/mesosphere/cassandra-mesos/pull/135#issuecomment-140001561","issue_url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/135","id":140001561,"user":{"login":"dmitrypekar","id":2434593,"avatar_url":"https://avatars.githubusercontent.com/u/2434593?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrypekar","html_url":"https://github.com/dmitrypekar","followers_url":"https://api.github.com/users/dmitrypekar/followers","following_url":"https://api.github.com/users/dmitrypekar/following{/other_user}","gists_url":"https://api.github.com/users/dmitrypekar/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrypekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrypekar/subscriptions","organizations_url":"https://api.github.com/users/dmitrypekar/orgs","repos_url":"https://api.github.com/users/dmitrypekar/repos","events_url":"https://api.github.com/users/dmitrypekar/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrypekar/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T08:39:54Z","updated_at":"2015-09-14T08:39:54Z","body":"Hi Ben,\r\n\r\nI've used primarily following test to verify the implementation of backup&restore is working:\r\n# Test plan:\r\n1. Run cassandra mesos with 2 nodes;\r\n2. Create table t.test with some data:\r\n```\r\nCREATE KEYSPACE t WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };\r\nUSE t;\r\nCREATE TABLE test (id int PRIMARY KEY, s varchar);\r\n\r\ninsert into test (id, s) values (1, '1');\r\ninsert into test (id, s) values (2, '2');\r\ninsert into test (id, s) values (3, '3');\r\ninsert into test (id, s) values (4, '4');\r\ninsert into test (id, s) values (5, '5');\r\ninsert into test (id, s) values (6, '6');\r\ninsert into test (id, s) values (7, '7');\r\ninsert into test (id, s) values (8, '8');\r\ninsert into test (id, s) values (9, '9');\r\ninsert into test (id, s) values (10, '10');\r\n```\r\n3. Create backup 'backup';\r\n4. Delete some data:\r\n```\r\ndelete from t.test where id in (2,5,7,8);\r\n```\r\n5. Restore backup 'backup';\r\n6. Make sure that deleted data is restored;"}}