{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/firebase-tools/issues/977","repository_url":"https://api.github.com/repos/firebase/firebase-tools","labels_url":"https://api.github.com/repos/firebase/firebase-tools/issues/977/labels{/name}","comments_url":"https://api.github.com/repos/firebase/firebase-tools/issues/977/comments","events_url":"https://api.github.com/repos/firebase/firebase-tools/issues/977/events","html_url":"https://github.com/firebase/firebase-tools/pull/977","id":374269148,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MDA4MTcy","number":977,"title":"Fredzqm/long delete cli","user":{"login":"fredzqm","id":9068391,"node_id":"MDQ6VXNlcjkwNjgzOTE=","avatar_url":"https://avatars0.githubusercontent.com/u/9068391?v=4","gravatar_id":"","url":"https://api.github.com/users/fredzqm","html_url":"https://github.com/fredzqm","followers_url":"https://api.github.com/users/fredzqm/followers","following_url":"https://api.github.com/users/fredzqm/following{/other_user}","gists_url":"https://api.github.com/users/fredzqm/gists{/gist_id}","starred_url":"https://api.github.com/users/fredzqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredzqm/subscriptions","organizations_url":"https://api.github.com/users/fredzqm/orgs","repos_url":"https://api.github.com/users/fredzqm/repos","events_url":"https://api.github.com/users/fredzqm/events{/privacy}","received_events_url":"https://api.github.com/users/fredzqm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-26T07:58:40Z","updated_at":"2018-10-26T08:10:42Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/firebase/firebase-tools/pulls/977","html_url":"https://github.com/firebase/firebase-tools/pull/977","diff_url":"https://github.com/firebase/firebase-tools/pull/977.diff","patch_url":"https://github.com/firebase/firebase-tools/pull/977.patch"},"body":"### Description\r\nSimilar to firestore:delete, database:remove should recursively delete data to avoid having a large delete block RTDB.\r\n\r\nhttps://b.corp.google.com/issues/114465241\r\n\t \r\n### Scenarios Tested\r\n\r\nSet up a huge RTDB, and attempt to delete its root.\r\nI used [this script](https://paste.googleplex.com/5728924927524864) to build the large db.\r\n\r\nIt is expected that the script will take a long time in this use case.\r\nThe goal is to provide developer a tool to perform large delete without blocking their DB.\r\n\r\n### Sample Commands\r\n\r\n`firebase database:remove /-y -v -c 1000`\r\n\r\nAttempt to delete the whole db, with a concurrency factor of 1000, i.e. at most 1000 outstanding HTTP request to RTDB.\r\n\r\n`-v` prints out the path deleted to show progress.\r\n"},"comment":{"url":"https://api.github.com/repos/firebase/firebase-tools/issues/comments/433325181","html_url":"https://github.com/firebase/firebase-tools/pull/977#issuecomment-433325181","issue_url":"https://api.github.com/repos/firebase/firebase-tools/issues/977","id":433325181,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzMyNTE4MQ==","user":{"login":"coveralls","id":2354108,"node_id":"MDQ6VXNlcjIzNTQxMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T08:10:42Z","updated_at":"2018-10-26T08:10:42Z","author_association":"NONE","body":"\n[![Coverage Status](https://coveralls.io/builds/19736242/badge)](https://coveralls.io/builds/19736242)\n\nCoverage remained the same at 64.862% when pulling **02e19e03cb6962dd6f0c2838276ef979a8aaca51 on fredzqm/long-delete-cli** into **b18c44c8d1c9e8ec3194532c13de96c250e6f97b on master**.\n"}}
{"actor":{"display_login":"coveralls"}}