{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/sentry/issues/1036","labels_url":"https://api.github.com/repos/getsentry/sentry/issues/1036/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry/issues/1036/comments","events_url":"https://api.github.com/repos/getsentry/sentry/issues/1036/events","html_url":"https://github.com/getsentry/sentry/issues/1036","id":20954054,"number":1036,"title":"IntegrityError: insert or update on table \"sentry_messagefiltervalue\" violates foreign key constraint \"group_id_refs_id_1fb6dc4e\" (Sentry 6.3.0)","user":{"login":"mgedmin","id":159967,"avatar_url":"https://avatars.githubusercontent.com/u/159967?v=3","gravatar_id":"","url":"https://api.github.com/users/mgedmin","html_url":"https://github.com/mgedmin","followers_url":"https://api.github.com/users/mgedmin/followers","following_url":"https://api.github.com/users/mgedmin/following{/other_user}","gists_url":"https://api.github.com/users/mgedmin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgedmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgedmin/subscriptions","organizations_url":"https://api.github.com/users/mgedmin/orgs","repos_url":"https://api.github.com/users/mgedmin/repos","events_url":"https://api.github.com/users/mgedmin/events{/privacy}","received_events_url":"https://api.github.com/users/mgedmin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2013-10-14T12:37:53Z","updated_at":"2015-05-30T13:41:11Z","closed_at":null,"body":"Saw an internal error today:\r\n\r\n    IntegrityError: insert or update on table \"sentry_messagefiltervalue\" violates foreign key constraint \"group_id_refs_id_1fb6dc4e\"\r\n    DETAIL:  Key (group_id)=(7) is not present in table \"sentry_groupedmessage\".\r\n\r\nRaw traceback:\r\n```\r\n  File \"celery/task/trace.py\", line 233, in trace_task\r\n    R = retval = fun(*args, **kwargs)\r\n  File \"sentry/tasks/store.py\", line 36, in save_event\r\n    Group.objects.save_data(data.pop('project'), data)\r\n  File \"django/db/transaction.py\", line 223, in inner\r\n    return func(*args, **kwargs)\r\n  File \"django/db/transaction.py\", line 217, in __exit__\r\n    self.exiting(exc_value, self.using)\r\n  File \"django/db/transaction.py\", line 281, in exiting\r\n    commit(using=using)\r\n  File \"django/db/transaction.py\", line 152, in commit\r\n    connection.commit()\r\n  File \"django/db/backends/__init__.py\", line 241, in commit\r\n    self._commit()\r\n  File \"django/db/backends/postgresql_psycopg2/base.py\", line 242, in _commit\r\n    six.reraise(utils.IntegrityError, utils.IntegrityError(*tuple(e.args)), sys.exc_info()[2])\r\n  File \"django/db/backends/postgresql_psycopg2/base.py\", line 240, in _commit\r\n    return self.connection.commit()\r\n```\r\n\r\nMore details:\r\n- got an error notification for .../group/7 at Mon, 14 Oct 2013 07:50:56 -0000\r\n- got an error notification for .../group/8 at Mon, 14 Oct 2013 07:50:56 -0000\r\n- got this internal error, recorded as .../group/9 at Mon, 14 Oct 2013 07:50:57 -0000\r\n\r\nSome kind of a race condition?"},"comment":{"url":"https://api.github.com/repos/getsentry/sentry/issues/comments/107042556","html_url":"https://github.com/getsentry/sentry/issues/1036#issuecomment-107042556","issue_url":"https://api.github.com/repos/getsentry/sentry/issues/1036","id":107042556,"user":{"login":"camilonova","id":202559,"avatar_url":"https://avatars.githubusercontent.com/u/202559?v=3","gravatar_id":"","url":"https://api.github.com/users/camilonova","html_url":"https://github.com/camilonova","followers_url":"https://api.github.com/users/camilonova/followers","following_url":"https://api.github.com/users/camilonova/following{/other_user}","gists_url":"https://api.github.com/users/camilonova/gists{/gist_id}","starred_url":"https://api.github.com/users/camilonova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camilonova/subscriptions","organizations_url":"https://api.github.com/users/camilonova/orgs","repos_url":"https://api.github.com/users/camilonova/repos","events_url":"https://api.github.com/users/camilonova/events{/privacy}","received_events_url":"https://api.github.com/users/camilonova/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T13:41:11Z","updated_at":"2015-05-30T13:41:11Z","body":"any other updates?"}}