{"action":"opened","number":220,"pull_request":{"url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/220","id":132724680,"html_url":"https://github.com/2gis/nuclear-river-validation-rules/pull/220","diff_url":"https://github.com/2gis/nuclear-river-validation-rules/pull/220.diff","patch_url":"https://github.com/2gis/nuclear-river-validation-rules/pull/220.patch","issue_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/220","number":220,"state":"open","locked":false,"title":"Поправил рассинхронизацию между фактами и агрегатами.","user":{"login":"maximpashuk","id":5028850,"avatar_url":"https://avatars2.githubusercontent.com/u/5028850?v=4","gravatar_id":"","url":"https://api.github.com/users/maximpashuk","html_url":"https://github.com/maximpashuk","followers_url":"https://api.github.com/users/maximpashuk/followers","following_url":"https://api.github.com/users/maximpashuk/following{/other_user}","gists_url":"https://api.github.com/users/maximpashuk/gists{/gist_id}","starred_url":"https://api.github.com/users/maximpashuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximpashuk/subscriptions","organizations_url":"https://api.github.com/users/maximpashuk/orgs","repos_url":"https://api.github.com/users/maximpashuk/repos","events_url":"https://api.github.com/users/maximpashuk/events{/privacy}","received_events_url":"https://api.github.com/users/maximpashuk/received_events","type":"User","site_admin":false},"body":"Суть ошибки: мы пишем сначала в ServiceBus, а только потом в БД, а надо наоборот, иначе в ServiceBus будут лежать недостоверные данные.\r\n\r\nЗапилил всё на транзакциях ServieBus, но решение не самое лучшее, надо переделать потом как в ERM через асинхронную очередь.\r\n\r\nОграничение на 100 сообщений в одной servicebus-транзакции заставило придумать TransferEvent. Проверил на ручейке, до ограничения в размер сообщения в 256kb нам ещё далеко.","created_at":"2017-07-27T11:18:26Z","updated_at":"2017-07-27T11:18:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/220/commits","review_comments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/220/comments","review_comment_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/220/comments","statuses_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/statuses/52d592d1b2b60d7d68df4f4fc03bd4c04cb219b2","head":{"label":"2gis:feature/fix-facts-aggs","ref":"feature/fix-facts-aggs","sha":"52d592d1b2b60d7d68df4f4fc03bd4c04cb219b2","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars2.githubusercontent.com/u/1481435?v=4","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":64453049,"name":"nuclear-river-validation-rules","full_name":"2gis/nuclear-river-validation-rules","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars2.githubusercontent.com/u/1481435?v=4","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/nuclear-river-validation-rules","description":null,"fork":false,"url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules","forks_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/forks","keys_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/teams","hooks_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/hooks","issue_events_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/events","assignees_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/tags","blobs_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/languages","stargazers_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/stargazers","contributors_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/contributors","subscribers_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/subscribers","subscription_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/subscription","commits_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/merges","archive_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/downloads","issues_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/labels{/name}","releases_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/releases{/id}","deployments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/deployments","created_at":"2016-07-29T05:30:04Z","updated_at":"2016-10-26T11:00:03Z","pushed_at":"2017-07-27T11:17:57Z","git_url":"git://github.com/2gis/nuclear-river-validation-rules.git","ssh_url":"git@github.com:2gis/nuclear-river-validation-rules.git","clone_url":"https://github.com/2gis/nuclear-river-validation-rules.git","svn_url":"https://github.com/2gis/nuclear-river-validation-rules","homepage":null,"size":19287,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"2gis:master","ref":"master","sha":"08ce27943ad4da34a12a8c6612441921c8021d88","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars2.githubusercontent.com/u/1481435?v=4","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":64453049,"name":"nuclear-river-validation-rules","full_name":"2gis/nuclear-river-validation-rules","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars2.githubusercontent.com/u/1481435?v=4","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/nuclear-river-validation-rules","description":null,"fork":false,"url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules","forks_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/forks","keys_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/teams","hooks_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/hooks","issue_events_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/events","assignees_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/tags","blobs_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/languages","stargazers_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/stargazers","contributors_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/contributors","subscribers_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/subscribers","subscription_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/subscription","commits_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/merges","archive_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/downloads","issues_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/labels{/name}","releases_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/releases{/id}","deployments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/deployments","created_at":"2016-07-29T05:30:04Z","updated_at":"2016-10-26T11:00:03Z","pushed_at":"2017-07-27T11:17:57Z","git_url":"git://github.com/2gis/nuclear-river-validation-rules.git","ssh_url":"git@github.com:2gis/nuclear-river-validation-rules.git","clone_url":"https://github.com/2gis/nuclear-river-validation-rules.git","svn_url":"https://github.com/2gis/nuclear-river-validation-rules","homepage":null,"size":19287,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/220"},"html":{"href":"https://github.com/2gis/nuclear-river-validation-rules/pull/220"},"issue":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/220"},"comments":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/220/comments"},"review_comments":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/220/comments"},"review_comment":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/220/commits"},"statuses":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/statuses/52d592d1b2b60d7d68df4f4fc03bd4c04cb219b2"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":89,"deletions":16,"changed_files":8}}
{"actor":{"display_login":"maximpashuk"}}