{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/8697","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/8697/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/8697/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/8697/events","html_url":"https://github.com/cockroachdb/cockroach/issues/8697","id":172216133,"number":8697,"title":"acceptance: pq: replica X (range Y) was garbage collected","user":{"login":"cuongdo","id":1564582,"avatar_url":"https://avatars.githubusercontent.com/u/1564582?v=3","gravatar_id":"","url":"https://api.github.com/users/cuongdo","html_url":"https://github.com/cuongdo","followers_url":"https://api.github.com/users/cuongdo/followers","following_url":"https://api.github.com/users/cuongdo/following{/other_user}","gists_url":"https://api.github.com/users/cuongdo/gists{/gist_id}","starred_url":"https://api.github.com/users/cuongdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuongdo/subscriptions","organizations_url":"https://api.github.com/users/cuongdo/orgs","repos_url":"https://api.github.com/users/cuongdo/repos","events_url":"https://api.github.com/users/cuongdo/events{/privacy}","received_events_url":"https://api.github.com/users/cuongdo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-19T20:40:49Z","updated_at":"2016-08-22T14:06:41Z","closed_at":null,"body":"`TestRebalance_3To5Small` failed:\r\n\r\nhttps://teamcity.cockroachdb.com/viewLog.html?buildId=12982&buildTypeId=Cockroach_AllocatorTest3to510g&tab=buildLog#_focus=3192\r\n\r\nThese are the relevant log lines:\r\n\r\n```\r\n[03:22:01][TestRebalance_3To5Small] \tallocator_test.go:190: pq: replica 6 (range 44) was garbage collected\r\n[03:22:01][TestRebalance_3To5Small] FAIL\r\n[03:22:01][TestRebalance_3To5Small] exit status 1\r\n[03:22:01]\r\n[TestRebalance_3To5Small] \tallocator_test.go:190: pq: replica 6 (range 44) was garbage collected\r\nFAIL\r\nexit status 1\r\n```\r\n\r\nThis is the first time I've seen this error for this nightly test."},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/241423483","html_url":"https://github.com/cockroachdb/cockroach/issues/8697#issuecomment-241423483","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/8697","id":241423483,"user":{"login":"tschottdorf","id":5076964,"avatar_url":"https://avatars.githubusercontent.com/u/5076964?v=3","gravatar_id":"","url":"https://api.github.com/users/tschottdorf","html_url":"https://github.com/tschottdorf","followers_url":"https://api.github.com/users/tschottdorf/followers","following_url":"https://api.github.com/users/tschottdorf/following{/other_user}","gists_url":"https://api.github.com/users/tschottdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/tschottdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschottdorf/subscriptions","organizations_url":"https://api.github.com/users/tschottdorf/orgs","repos_url":"https://api.github.com/users/tschottdorf/repos","events_url":"https://api.github.com/users/tschottdorf/events{/privacy}","received_events_url":"https://api.github.com/users/tschottdorf/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T14:06:41Z","updated_at":"2016-08-22T14:06:41Z","body":"Looking at the code, it doesn't seem like a read under a valid lease ever looks at the `destroyed` field, and so these could indeed slip through. On the other hand, it seems silly to even garbage-collect a replica which has an active lease (nothing is won except complete unavailability)."}}
{"actor":{"display_login":"tschottdorf"}}