{"action":"closed","issue":{"url":"https://api.github.com/repos/perkeep/perkeep/issues/1097","repository_url":"https://api.github.com/repos/perkeep/perkeep","labels_url":"https://api.github.com/repos/perkeep/perkeep/issues/1097/labels{/name}","comments_url":"https://api.github.com/repos/perkeep/perkeep/issues/1097/comments","events_url":"https://api.github.com/repos/perkeep/perkeep/issues/1097/events","html_url":"https://github.com/perkeep/perkeep/issues/1097","id":315215700,"number":1097,"title":"blobpacked: no log entry before starting slow scan","user":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars1.githubusercontent.com/u/2621?v=4","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"mpl","id":626071,"avatar_url":"https://avatars1.githubusercontent.com/u/626071?v=4","gravatar_id":"","url":"https://api.github.com/users/mpl","html_url":"https://github.com/mpl","followers_url":"https://api.github.com/users/mpl/followers","following_url":"https://api.github.com/users/mpl/following{/other_user}","gists_url":"https://api.github.com/users/mpl/gists{/gist_id}","starred_url":"https://api.github.com/users/mpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpl/subscriptions","organizations_url":"https://api.github.com/users/mpl/orgs","repos_url":"https://api.github.com/users/mpl/repos","events_url":"https://api.github.com/users/mpl/events{/privacy}","received_events_url":"https://api.github.com/users/mpl/received_events","type":"User","site_admin":false},"assignees":[{"login":"mpl","id":626071,"avatar_url":"https://avatars1.githubusercontent.com/u/626071?v=4","gravatar_id":"","url":"https://api.github.com/users/mpl","html_url":"https://github.com/mpl","followers_url":"https://api.github.com/users/mpl/followers","following_url":"https://api.github.com/users/mpl/following{/other_user}","gists_url":"https://api.github.com/users/mpl/gists{/gist_id}","starred_url":"https://api.github.com/users/mpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpl/subscriptions","organizations_url":"https://api.github.com/users/mpl/orgs","repos_url":"https://api.github.com/users/mpl/repos","events_url":"https://api.github.com/users/mpl/events{/privacy}","received_events_url":"https://api.github.com/users/mpl/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-17T20:20:36Z","updated_at":"2018-04-21T19:09:51Z","closed_at":"2018-04-21T19:09:51Z","author_association":"CONTRIBUTOR","body":"On startup, my server now hangs for 54 seconds while scanning blobpacked, without writing to stderr saying what it's doing:\r\n\r\n```\r\n$ run-camlistored\r\n2018/04/17 13:17:28 Starting camlistored version unknown; Go devel +8818b4d27e Sun Apr 8 13:55:30 2018 +0000 (linux/amd64)\r\n2018/04/17 13:17:28 TLS enabled, with Let's Encrypt for xxx\r\n2018/04/17 13:17:28 Starting to listen on https://localhost:4430\r\n(54 seconds go by)\r\n2018/04/17 13:18:22 blobpacked: 71735 large blobs found in index, 0 missing from index\r\n2018/04/17 13:18:23 Starting index integrity check.\r\n2018/04/17 13:18:26 Index integrity check done.\r\n2018/04/17 13:18:26 Slurping corpus to memory from index...\r\n```\r\n\r\nWe need to both:\r\n\r\n*) make it emit a log line saying what it's about to do, before it hangs for N seconds\r\n\r\n*) make N not be 54 seconds. Seems like a long time to read 71735 rows from a file. More LevelDB problems?\r\n"}}
{"actor":{"display_login":"camlistorebot"}}