{"action":"opened","number":315,"pull_request":{"url":"https://api.github.com/repos/Azure/sonic-sairedis/pulls/315","id":184205238,"html_url":"https://github.com/Azure/sonic-sairedis/pull/315","diff_url":"https://github.com/Azure/sonic-sairedis/pull/315.diff","patch_url":"https://github.com/Azure/sonic-sairedis/pull/315.patch","issue_url":"https://api.github.com/repos/Azure/sonic-sairedis/issues/315","number":315,"state":"open","locked":false,"title":"Do not always crash syncd with event process error, provide SAI API f…","user":{"login":"jipanyang","id":29779499,"avatar_url":"https://avatars3.githubusercontent.com/u/29779499?v=4","gravatar_id":"","url":"https://api.github.com/users/jipanyang","html_url":"https://github.com/jipanyang","followers_url":"https://api.github.com/users/jipanyang/followers","following_url":"https://api.github.com/users/jipanyang/following{/other_user}","gists_url":"https://api.github.com/users/jipanyang/gists{/gist_id}","starred_url":"https://api.github.com/users/jipanyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jipanyang/subscriptions","organizations_url":"https://api.github.com/users/jipanyang/orgs","repos_url":"https://api.github.com/users/jipanyang/repos","events_url":"https://api.github.com/users/jipanyang/events{/privacy}","received_events_url":"https://api.github.com/users/jipanyang/received_events","type":"User","site_admin":false},"body":"…eedback for create/set/remove operations\r\n\r\nSigned-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>\r\n\r\nThe change is to provide feedback path to orchagent for libsai redis API create/set/remove operations. \r\n\r\nSAI_OBJECT_TYPE_ROUTE_ENTRY has been excluded from the feedback set, one of the reason is the impact on operation latency when there is large amount of route entries.\r\n\r\nNotificationProducer/NotificationConsumer channel has been used for feedback, which has lower overhead than Producer/Consumer channel ( less than 50%).\r\n\r\n\r\n**create example:**\r\n\r\n2018-04-25.23:08:40.962598|c|SAI_OBJECT_TYPE_HOSTIF:oid:0xd000000000978|SAI_HOSTIF_ATTR_TYPE=SAI_HOSTIF_TYPE_NETDEV|SAI_HOSTIF_ATTR_OBJ_ID=oid:0x1000\r\n2018-04-25.23:08:40.965889|C|SAI_STATUS_SUCCESS|SAI_OBJECT_TYPE_HOSTIF:oid:0xd000000000978\r\n\r\n\r\n\r\n**set example:**\r\n\r\n2018-04-25.23:08:40.892350|s|SAI_OBJECT_TYPE_HOSTIF:oid:0xd000000000977|SAI_HOSTIF_ATTR_VLAN_TAG=SAI_HOSTIF_VLAN_TAG_STRIP\r\n2018-04-25.23:08:40.893075|S|SAI_STATUS_SUCCESS|SAI_OBJECT_TYPE_HOSTIF:oid:0xd000000000977\r\n\r\n**remove example:**\r\n\r\n2018-04-26.00:07:40.480202|r|SAI_OBJECT_TYPE_VLAN_MEMBER:oid:0x270000000000c5\r\n2018-04-26.00:07:40.481170|R|SAI_STATUS_SUCCESS|SAI_OBJECT_TYPE_VLAN_MEMBER:oid:0x270000000000c5\r\n\r\n**No change to SAI_OBJECT_TYPE_ROUTE_ENTRY:**\r\n\r\n2018-04-26.00:15:25.184769|c|SAI_OBJECT_TYPE_ROUTE_ENTRY:{\"dest\":\"10.1.237.114/32\",\"switch_id\":\"oid:0x21000000000000\",\"vr\":\"oid:0x300000000003a\"}|SAI\r\n2018-04-26.00:15:25.186839|c|SAI_OBJECT_TYPE_ROUTE_ENTRY:{\"dest\":\"10.1.191.30/32\",\"switch_id\":\"oid:0x21000000000000\",\"vr\":\"oid:0x300000000003a\"}|SAI_\r\n2018-04-26.00:15:25.188762|c|SAI_OBJECT_TYPE_ROUTE_ENTRY:{\"dest\":\"10.2.39.168/32\",\"switch_id\":\"oid:0x21000000000000\",\"vr\":\"oid:0x300000000003a\"}|SAI_\r\n\r\n\r\n\r\n\r\n","created_at":"2018-04-26T01:45:15Z","updated_at":"2018-04-26T01:45:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/sonic-sairedis/pulls/315/commits","review_comments_url":"https://api.github.com/repos/Azure/sonic-sairedis/pulls/315/comments","review_comment_url":"https://api.github.com/repos/Azure/sonic-sairedis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/sonic-sairedis/issues/315/comments","statuses_url":"https://api.github.com/repos/Azure/sonic-sairedis/statuses/2303654cbb1e6ba373e18e40be374d1bb55990ce","head":{"label":"jipanyang:sai_feed_back","ref":"sai_feed_back","sha":"2303654cbb1e6ba373e18e40be374d1bb55990ce","user":{"login":"jipanyang","id":29779499,"avatar_url":"https://avatars3.githubusercontent.com/u/29779499?v=4","gravatar_id":"","url":"https://api.github.com/users/jipanyang","html_url":"https://github.com/jipanyang","followers_url":"https://api.github.com/users/jipanyang/followers","following_url":"https://api.github.com/users/jipanyang/following{/other_user}","gists_url":"https://api.github.com/users/jipanyang/gists{/gist_id}","starred_url":"https://api.github.com/users/jipanyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jipanyang/subscriptions","organizations_url":"https://api.github.com/users/jipanyang/orgs","repos_url":"https://api.github.com/users/jipanyang/repos","events_url":"https://api.github.com/users/jipanyang/events{/privacy}","received_events_url":"https://api.github.com/users/jipanyang/received_events","type":"User","site_admin":false},"repo":{"id":97403367,"name":"sonic-sairedis","full_name":"jipanyang/sonic-sairedis","owner":{"login":"jipanyang","id":29779499,"avatar_url":"https://avatars3.githubusercontent.com/u/29779499?v=4","gravatar_id":"","url":"https://api.github.com/users/jipanyang","html_url":"https://github.com/jipanyang","followers_url":"https://api.github.com/users/jipanyang/followers","following_url":"https://api.github.com/users/jipanyang/following{/other_user}","gists_url":"https://api.github.com/users/jipanyang/gists{/gist_id}","starred_url":"https://api.github.com/users/jipanyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jipanyang/subscriptions","organizations_url":"https://api.github.com/users/jipanyang/orgs","repos_url":"https://api.github.com/users/jipanyang/repos","events_url":"https://api.github.com/users/jipanyang/events{/privacy}","received_events_url":"https://api.github.com/users/jipanyang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jipanyang/sonic-sairedis","description":"SAI object interface to Redis database, as used in the SONiC project","fork":true,"url":"https://api.github.com/repos/jipanyang/sonic-sairedis","forks_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/forks","keys_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/teams","hooks_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/hooks","issue_events_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/issues/events{/number}","events_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/events","assignees_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/assignees{/user}","branches_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/branches{/branch}","tags_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/tags","blobs_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/git/refs{/sha}","trees_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/statuses/{sha}","languages_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/languages","stargazers_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/stargazers","contributors_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/contributors","subscribers_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/subscribers","subscription_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/subscription","commits_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/commits{/sha}","git_commits_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/git/commits{/sha}","comments_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/comments{/number}","issue_comment_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/issues/comments{/number}","contents_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/contents/{+path}","compare_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/merges","archive_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/downloads","issues_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/issues{/number}","pulls_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/pulls{/number}","milestones_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/milestones{/number}","notifications_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/labels{/name}","releases_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/releases{/id}","deployments_url":"https://api.github.com/repos/jipanyang/sonic-sairedis/deployments","created_at":"2017-07-16T18:41:28Z","updated_at":"2017-07-16T18:41:30Z","pushed_at":"2018-04-26T01:13:02Z","git_url":"git://github.com/jipanyang/sonic-sairedis.git","ssh_url":"git@github.com:jipanyang/sonic-sairedis.git","clone_url":"https://github.com/jipanyang/sonic-sairedis.git","svn_url":"https://github.com/jipanyang/sonic-sairedis","homepage":null,"size":3421,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"177f768c6ffe0806ee500f739bd06203ab913b72","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":53451335,"name":"sonic-sairedis","full_name":"Azure/sonic-sairedis","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/sonic-sairedis","description":"SAI object interface to Redis database, as used in the SONiC project","fork":false,"url":"https://api.github.com/repos/Azure/sonic-sairedis","forks_url":"https://api.github.com/repos/Azure/sonic-sairedis/forks","keys_url":"https://api.github.com/repos/Azure/sonic-sairedis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/sonic-sairedis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/sonic-sairedis/teams","hooks_url":"https://api.github.com/repos/Azure/sonic-sairedis/hooks","issue_events_url":"https://api.github.com/repos/Azure/sonic-sairedis/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/sonic-sairedis/events","assignees_url":"https://api.github.com/repos/Azure/sonic-sairedis/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/sonic-sairedis/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/sonic-sairedis/tags","blobs_url":"https://api.github.com/repos/Azure/sonic-sairedis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/sonic-sairedis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/sonic-sairedis/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/sonic-sairedis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/sonic-sairedis/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/sonic-sairedis/languages","stargazers_url":"https://api.github.com/repos/Azure/sonic-sairedis/stargazers","contributors_url":"https://api.github.com/repos/Azure/sonic-sairedis/contributors","subscribers_url":"https://api.github.com/repos/Azure/sonic-sairedis/subscribers","subscription_url":"https://api.github.com/repos/Azure/sonic-sairedis/subscription","commits_url":"https://api.github.com/repos/Azure/sonic-sairedis/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/sonic-sairedis/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/sonic-sairedis/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/sonic-sairedis/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/sonic-sairedis/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/sonic-sairedis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/sonic-sairedis/merges","archive_url":"https://api.github.com/repos/Azure/sonic-sairedis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/sonic-sairedis/downloads","issues_url":"https://api.github.com/repos/Azure/sonic-sairedis/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/sonic-sairedis/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/sonic-sairedis/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/sonic-sairedis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/sonic-sairedis/labels{/name}","releases_url":"https://api.github.com/repos/Azure/sonic-sairedis/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/sonic-sairedis/deployments","created_at":"2016-03-08T22:58:27Z","updated_at":"2018-04-16T19:13:56Z","pushed_at":"2018-04-16T19:13:54Z","git_url":"git://github.com/Azure/sonic-sairedis.git","ssh_url":"git@github.com:Azure/sonic-sairedis.git","clone_url":"https://github.com/Azure/sonic-sairedis.git","svn_url":"https://github.com/Azure/sonic-sairedis","homepage":null,"size":3280,"stargazers_count":10,"watchers_count":10,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":38,"open_issues":9,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/sonic-sairedis/pulls/315"},"html":{"href":"https://github.com/Azure/sonic-sairedis/pull/315"},"issue":{"href":"https://api.github.com/repos/Azure/sonic-sairedis/issues/315"},"comments":{"href":"https://api.github.com/repos/Azure/sonic-sairedis/issues/315/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/sonic-sairedis/pulls/315/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/sonic-sairedis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/sonic-sairedis/pulls/315/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/sonic-sairedis/statuses/2303654cbb1e6ba373e18e40be374d1bb55990ce"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":170,"deletions":21,"changed_files":7}}
{"actor":{"display_login":"jipanyang"}}