{"action":"created","comment":{"url":"https://api.github.com/repos/prometheus/tsdb/pulls/comments/241337746","pull_request_review_id":184581952,"id":241337746,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTMzNzc0Ng==","diff_hunk":"@@ -480,7 +480,7 @@ func (h *Head) Init(minValidTime int64) error {\n \t\treturn nil\n \t}\n \tlevel.Warn(h.logger).Log(\"msg\", \"encountered WAL error, attempting repair\", \"err\", err)\n-\n+\tsr.Close() // Close the reader so that the repair can remove the corrupted file under Windows.","path":"head.go","position":null,"original_position":5,"commit_id":"624d889b209be98f1f7704d41459b862600bec86","original_commit_id":"b57d8fc09483832080a658791726a57946e8f273","user":{"login":"krasi-georgiev","id":8903888,"node_id":"MDQ6VXNlcjg5MDM4ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/8903888?v=4","gravatar_id":"","url":"https://api.github.com/users/krasi-georgiev","html_url":"https://github.com/krasi-georgiev","followers_url":"https://api.github.com/users/krasi-georgiev/followers","following_url":"https://api.github.com/users/krasi-georgiev/following{/other_user}","gists_url":"https://api.github.com/users/krasi-georgiev/gists{/gist_id}","starred_url":"https://api.github.com/users/krasi-georgiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krasi-georgiev/subscriptions","organizations_url":"https://api.github.com/users/krasi-georgiev/orgs","repos_url":"https://api.github.com/users/krasi-georgiev/repos","events_url":"https://api.github.com/users/krasi-georgiev/events{/privacy}","received_events_url":"https://api.github.com/users/krasi-georgiev/received_events","type":"User","site_admin":false},"body":"yep that would work as well, Thanks!","created_at":"2018-12-13T10:01:55Z","updated_at":"2018-12-13T10:01:55Z","html_url":"https://github.com/prometheus/tsdb/pull/469#discussion_r241337746","pull_request_url":"https://api.github.com/repos/prometheus/tsdb/pulls/469","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/prometheus/tsdb/pulls/comments/241337746"},"html":{"href":"https://github.com/prometheus/tsdb/pull/469#discussion_r241337746"},"pull_request":{"href":"https://api.github.com/repos/prometheus/tsdb/pulls/469"}},"in_reply_to_id":241335765},"pull_request":{"url":"https://api.github.com/repos/prometheus/tsdb/pulls/469","id":237666981,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NjY2OTgx","html_url":"https://github.com/prometheus/tsdb/pull/469","diff_url":"https://github.com/prometheus/tsdb/pull/469.diff","patch_url":"https://github.com/prometheus/tsdb/pull/469.patch","issue_url":"https://api.github.com/repos/prometheus/tsdb/issues/469","number":469,"state":"open","locked":false,"title":"fix windows tests","user":{"login":"krasi-georgiev","id":8903888,"node_id":"MDQ6VXNlcjg5MDM4ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/8903888?v=4","gravatar_id":"","url":"https://api.github.com/users/krasi-georgiev","html_url":"https://github.com/krasi-georgiev","followers_url":"https://api.github.com/users/krasi-georgiev/followers","following_url":"https://api.github.com/users/krasi-georgiev/following{/other_user}","gists_url":"https://api.github.com/users/krasi-georgiev/gists{/gist_id}","starred_url":"https://api.github.com/users/krasi-georgiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krasi-georgiev/subscriptions","organizations_url":"https://api.github.com/users/krasi-georgiev/orgs","repos_url":"https://api.github.com/users/krasi-georgiev/repos","events_url":"https://api.github.com/users/krasi-georgiev/events{/privacy}","received_events_url":"https://api.github.com/users/krasi-georgiev/received_events","type":"User","site_admin":false},"body":"closes: https://github.com/prometheus/tsdb/pull/420\r\nSigned-off-by: Krasi Georgiev <kgeorgie@redhat.com>","created_at":"2018-12-11T12:48:58Z","updated_at":"2018-12-13T10:01:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"760398585ca6e2b4018d70738256bb0e388a2380","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/prometheus/tsdb/pulls/469/commits","review_comments_url":"https://api.github.com/repos/prometheus/tsdb/pulls/469/comments","review_comment_url":"https://api.github.com/repos/prometheus/tsdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prometheus/tsdb/issues/469/comments","statuses_url":"https://api.github.com/repos/prometheus/tsdb/statuses/624d889b209be98f1f7704d41459b862600bec86","head":{"label":"krasi-georgiev:windows-tests","ref":"windows-tests","sha":"624d889b209be98f1f7704d41459b862600bec86","user":{"login":"krasi-georgiev","id":8903888,"node_id":"MDQ6VXNlcjg5MDM4ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/8903888?v=4","gravatar_id":"","url":"https://api.github.com/users/krasi-georgiev","html_url":"https://github.com/krasi-georgiev","followers_url":"https://api.github.com/users/krasi-georgiev/followers","following_url":"https://api.github.com/users/krasi-georgiev/following{/other_user}","gists_url":"https://api.github.com/users/krasi-georgiev/gists{/gist_id}","starred_url":"https://api.github.com/users/krasi-georgiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krasi-georgiev/subscriptions","organizations_url":"https://api.github.com/users/krasi-georgiev/orgs","repos_url":"https://api.github.com/users/krasi-georgiev/repos","events_url":"https://api.github.com/users/krasi-georgiev/events{/privacy}","received_events_url":"https://api.github.com/users/krasi-georgiev/received_events","type":"User","site_admin":false},"repo":{"id":102941912,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI5NDE5MTI=","name":"tsdb","full_name":"krasi-georgiev/tsdb","private":false,"owner":{"login":"krasi-georgiev","id":8903888,"node_id":"MDQ6VXNlcjg5MDM4ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/8903888?v=4","gravatar_id":"","url":"https://api.github.com/users/krasi-georgiev","html_url":"https://github.com/krasi-georgiev","followers_url":"https://api.github.com/users/krasi-georgiev/followers","following_url":"https://api.github.com/users/krasi-georgiev/following{/other_user}","gists_url":"https://api.github.com/users/krasi-georgiev/gists{/gist_id}","starred_url":"https://api.github.com/users/krasi-georgiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krasi-georgiev/subscriptions","organizations_url":"https://api.github.com/users/krasi-georgiev/orgs","repos_url":"https://api.github.com/users/krasi-georgiev/repos","events_url":"https://api.github.com/users/krasi-georgiev/events{/privacy}","received_events_url":"https://api.github.com/users/krasi-georgiev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/krasi-georgiev/tsdb","description":null,"fork":true,"url":"https://api.github.com/repos/krasi-georgiev/tsdb","forks_url":"https://api.github.com/repos/krasi-georgiev/tsdb/forks","keys_url":"https://api.github.com/repos/krasi-georgiev/tsdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krasi-georgiev/tsdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krasi-georgiev/tsdb/teams","hooks_url":"https://api.github.com/repos/krasi-georgiev/tsdb/hooks","issue_events_url":"https://api.github.com/repos/krasi-georgiev/tsdb/issues/events{/number}","events_url":"https://api.github.com/repos/krasi-georgiev/tsdb/events","assignees_url":"https://api.github.com/repos/krasi-georgiev/tsdb/assignees{/user}","branches_url":"https://api.github.com/repos/krasi-georgiev/tsdb/branches{/branch}","tags_url":"https://api.github.com/repos/krasi-georgiev/tsdb/tags","blobs_url":"https://api.github.com/repos/krasi-georgiev/tsdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krasi-georgiev/tsdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krasi-georgiev/tsdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/krasi-georgiev/tsdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krasi-georgiev/tsdb/statuses/{sha}","languages_url":"https://api.github.com/repos/krasi-georgiev/tsdb/languages","stargazers_url":"https://api.github.com/repos/krasi-georgiev/tsdb/stargazers","contributors_url":"https://api.github.com/repos/krasi-georgiev/tsdb/contributors","subscribers_url":"https://api.github.com/repos/krasi-georgiev/tsdb/subscribers","subscription_url":"https://api.github.com/repos/krasi-georgiev/tsdb/subscription","commits_url":"https://api.github.com/repos/krasi-georgiev/tsdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/krasi-georgiev/tsdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/krasi-georgiev/tsdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/krasi-georgiev/tsdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/krasi-georgiev/tsdb/contents/{+path}","compare_url":"https://api.github.com/repos/krasi-georgiev/tsdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krasi-georgiev/tsdb/merges","archive_url":"https://api.github.com/repos/krasi-georgiev/tsdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krasi-georgiev/tsdb/downloads","issues_url":"https://api.github.com/repos/krasi-georgiev/tsdb/issues{/number}","pulls_url":"https://api.github.com/repos/krasi-georgiev/tsdb/pulls{/number}","milestones_url":"https://api.github.com/repos/krasi-georgiev/tsdb/milestones{/number}","notifications_url":"https://api.github.com/repos/krasi-georgiev/tsdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krasi-georgiev/tsdb/labels{/name}","releases_url":"https://api.github.com/repos/krasi-georgiev/tsdb/releases{/id}","deployments_url":"https://api.github.com/repos/krasi-georgiev/tsdb/deployments","created_at":"2017-09-09T09:08:12Z","updated_at":"2018-09-16T16:21:47Z","pushed_at":"2018-12-13T10:01:34Z","git_url":"git://github.com/krasi-georgiev/tsdb.git","ssh_url":"git@github.com:krasi-georgiev/tsdb.git","clone_url":"https://github.com/krasi-georgiev/tsdb.git","svn_url":"https://github.com/krasi-georgiev/tsdb","homepage":null,"size":6149,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prometheus:master","ref":"master","sha":"c8c03ff85bd820e95bcff56795d62bb321b8c934","user":{"login":"prometheus","id":3380462,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODA0NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/3380462?v=4","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"repo":{"id":73823302,"node_id":"MDEwOlJlcG9zaXRvcnk3MzgyMzMwMg==","name":"tsdb","full_name":"prometheus/tsdb","private":false,"owner":{"login":"prometheus","id":3380462,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODA0NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/3380462?v=4","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/prometheus/tsdb","description":"The Prometheus time series database layer.","fork":false,"url":"https://api.github.com/repos/prometheus/tsdb","forks_url":"https://api.github.com/repos/prometheus/tsdb/forks","keys_url":"https://api.github.com/repos/prometheus/tsdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prometheus/tsdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prometheus/tsdb/teams","hooks_url":"https://api.github.com/repos/prometheus/tsdb/hooks","issue_events_url":"https://api.github.com/repos/prometheus/tsdb/issues/events{/number}","events_url":"https://api.github.com/repos/prometheus/tsdb/events","assignees_url":"https://api.github.com/repos/prometheus/tsdb/assignees{/user}","branches_url":"https://api.github.com/repos/prometheus/tsdb/branches{/branch}","tags_url":"https://api.github.com/repos/prometheus/tsdb/tags","blobs_url":"https://api.github.com/repos/prometheus/tsdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prometheus/tsdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prometheus/tsdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/prometheus/tsdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prometheus/tsdb/statuses/{sha}","languages_url":"https://api.github.com/repos/prometheus/tsdb/languages","stargazers_url":"https://api.github.com/repos/prometheus/tsdb/stargazers","contributors_url":"https://api.github.com/repos/prometheus/tsdb/contributors","subscribers_url":"https://api.github.com/repos/prometheus/tsdb/subscribers","subscription_url":"https://api.github.com/repos/prometheus/tsdb/subscription","commits_url":"https://api.github.com/repos/prometheus/tsdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/prometheus/tsdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/prometheus/tsdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/prometheus/tsdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/prometheus/tsdb/contents/{+path}","compare_url":"https://api.github.com/repos/prometheus/tsdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prometheus/tsdb/merges","archive_url":"https://api.github.com/repos/prometheus/tsdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prometheus/tsdb/downloads","issues_url":"https://api.github.com/repos/prometheus/tsdb/issues{/number}","pulls_url":"https://api.github.com/repos/prometheus/tsdb/pulls{/number}","milestones_url":"https://api.github.com/repos/prometheus/tsdb/milestones{/number}","notifications_url":"https://api.github.com/repos/prometheus/tsdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prometheus/tsdb/labels{/name}","releases_url":"https://api.github.com/repos/prometheus/tsdb/releases{/id}","deployments_url":"https://api.github.com/repos/prometheus/tsdb/deployments","created_at":"2016-11-15T14:50:03Z","updated_at":"2018-12-13T08:24:44Z","pushed_at":"2018-12-13T10:01:35Z","git_url":"git://github.com/prometheus/tsdb.git","ssh_url":"git@github.com:prometheus/tsdb.git","clone_url":"https://github.com/prometheus/tsdb.git","svn_url":"https://github.com/prometheus/tsdb","homepage":"","size":6141,"stargazers_count":503,"watchers_count":503,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":57,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":105,"open_issues":57,"watchers":503,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prometheus/tsdb/pulls/469"},"html":{"href":"https://github.com/prometheus/tsdb/pull/469"},"issue":{"href":"https://api.github.com/repos/prometheus/tsdb/issues/469"},"comments":{"href":"https://api.github.com/repos/prometheus/tsdb/issues/469/comments"},"review_comments":{"href":"https://api.github.com/repos/prometheus/tsdb/pulls/469/comments"},"review_comment":{"href":"https://api.github.com/repos/prometheus/tsdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prometheus/tsdb/pulls/469/commits"},"statuses":{"href":"https://api.github.com/repos/prometheus/tsdb/statuses/624d889b209be98f1f7704d41459b862600bec86"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"krasi-georgiev"}}