{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/6653","repository_url":"https://api.github.com/repos/influxdata/influxdb","labels_url":"https://api.github.com/repos/influxdata/influxdb/issues/6653/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/influxdb/issues/6653/comments","events_url":"https://api.github.com/repos/influxdata/influxdb/issues/6653/events","html_url":"https://github.com/influxdata/influxdb/pull/6653","id":155294693,"number":6653,"title":"Compaction fixes","user":{"login":"jwilder","id":219935,"avatar_url":"https://avatars.githubusercontent.com/u/219935?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilder","html_url":"https://github.com/jwilder","followers_url":"https://api.github.com/users/jwilder/followers","following_url":"https://api.github.com/users/jwilder/following{/other_user}","gists_url":"https://api.github.com/users/jwilder/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilder/subscriptions","organizations_url":"https://api.github.com/users/jwilder/orgs","repos_url":"https://api.github.com/users/jwilder/repos","events_url":"https://api.github.com/users/jwilder/events{/privacy}","received_events_url":"https://api.github.com/users/jwilder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/influxdata/influxdb/labels/category/performance","name":"category/performance","color":"006b75"},{"url":"https://api.github.com/repos/influxdata/influxdb/labels/tsm","name":"tsm","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/influxdata/influxdb/milestones/39","html_url":"https://github.com/influxdata/influxdb/milestones/1.0.0","labels_url":"https://api.github.com/repos/influxdata/influxdb/milestones/39/labels","id":1101423,"number":39,"title":"1.0.0","description":"","creator":{"login":"toddboom","id":53132,"avatar_url":"https://avatars.githubusercontent.com/u/53132?v=3","gravatar_id":"","url":"https://api.github.com/users/toddboom","html_url":"https://github.com/toddboom","followers_url":"https://api.github.com/users/toddboom/followers","following_url":"https://api.github.com/users/toddboom/following{/other_user}","gists_url":"https://api.github.com/users/toddboom/gists{/gist_id}","starred_url":"https://api.github.com/users/toddboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddboom/subscriptions","organizations_url":"https://api.github.com/users/toddboom/orgs","repos_url":"https://api.github.com/users/toddboom/repos","events_url":"https://api.github.com/users/toddboom/events{/privacy}","received_events_url":"https://api.github.com/users/toddboom/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":27,"state":"open","created_at":"2015-05-08T06:30:59Z","updated_at":"2016-05-18T15:47:44Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2016-05-17T15:49:26Z","updated_at":"2016-05-18T16:35:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/influxdata/influxdb/pulls/6653","html_url":"https://github.com/influxdata/influxdb/pull/6653","diff_url":"https://github.com/influxdata/influxdb/pull/6653.diff","patch_url":"https://github.com/influxdata/influxdb/pull/6653.patch"},"body":"###### Required for all non-trivial PRs\r\n- [x] Rebased/mergable\r\n- [x] Tests pass\r\n- [x] CHANGELOG.md updated\r\n\r\nThis PR re-introduces the fix for #6556 that was reverted in #6637.  The original fix could drop points during compactions as well as cause an `interface conversion` panic (#6652) in some cases.   What happened was that merged values from one series could get mixed with the values for the next series.  If the series were different types, a panic could occur.  If it was the last block to be merged, the values would be lost.  Both of these issues should be fixed now as well as the original issue of overwriting a point in a large series triggering memory spikes.\r\n\r\nThis also fixes #6406 that can occur if enough points are written into a single series to cause the TSM index to exceed the max index entries allotment. It will now handle that error and rollover to a new file.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/comments/220084527","html_url":"https://github.com/influxdata/influxdb/pull/6653#issuecomment-220084527","issue_url":"https://api.github.com/repos/influxdata/influxdb/issues/6653","id":220084527,"user":{"login":"jwilder","id":219935,"avatar_url":"https://avatars.githubusercontent.com/u/219935?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilder","html_url":"https://github.com/jwilder","followers_url":"https://api.github.com/users/jwilder/followers","following_url":"https://api.github.com/users/jwilder/following{/other_user}","gists_url":"https://api.github.com/users/jwilder/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilder/subscriptions","organizations_url":"https://api.github.com/users/jwilder/orgs","repos_url":"https://api.github.com/users/jwilder/repos","events_url":"https://api.github.com/users/jwilder/events{/privacy}","received_events_url":"https://api.github.com/users/jwilder/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T16:35:20Z","updated_at":"2016-05-18T16:35:20Z","body":"I was able to reproduce the missing data on startup.  It is due to https://github.com/influxdata/influxdb/commit/0dbd4893daff91ed29f23de57dcd4b8520b78064#diff-82e4e65bd72f00208a49c4797d466ecdR383.  "}}