{"action":"created","issue":{"url":"https://api.github.com/repos/hyperledger/fabric/issues/2002","repository_url":"https://api.github.com/repos/hyperledger/fabric","labels_url":"https://api.github.com/repos/hyperledger/fabric/issues/2002/labels{/name}","comments_url":"https://api.github.com/repos/hyperledger/fabric/issues/2002/comments","events_url":"https://api.github.com/repos/hyperledger/fabric/issues/2002/events","html_url":"https://github.com/hyperledger/fabric/issues/2002","id":162192850,"number":2002,"title":"received an error while trying to get the state deltas for blocks 140 through 154 from name:\"vp2\"","user":{"login":"dongmingh","id":17034559,"avatar_url":"https://avatars.githubusercontent.com/u/17034559?v=3","gravatar_id":"","url":"https://api.github.com/users/dongmingh","html_url":"https://github.com/dongmingh","followers_url":"https://api.github.com/users/dongmingh/followers","following_url":"https://api.github.com/users/dongmingh/following{/other_user}","gists_url":"https://api.github.com/users/dongmingh/gists{/gist_id}","starred_url":"https://api.github.com/users/dongmingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongmingh/subscriptions","organizations_url":"https://api.github.com/users/dongmingh/orgs","repos_url":"https://api.github.com/users/dongmingh/repos","events_url":"https://api.github.com/users/dongmingh/events{/privacy}","received_events_url":"https://api.github.com/users/dongmingh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-24T17:24:40Z","updated_at":"2016-06-27T14:23:59Z","closed_at":null,"body":"## Description\r\ncommit cdfbdcd66de75cb832114d8815999189c7f6da9b\r\nMerge: dbf46b0 e3adcbe\r\nAuthor: Sheehan Anderson <sranderson@gmail.com>\r\nDate:   Fri Jun 24 10:22:07 2016 -0400\r\n\r\n    Merge pull request #1980 from jyellick/fix-concurrent-map-write-v05\r\n\r\n    Eliminate possible broadcaster concurrent map read/write\r\n\r\n4 peer network, security and privacy enabled, batch size = 1000, thread number = 100\r\nRun stress test for 60 min and see the messages below 5 times in the log\r\n\r\n14:41:12.166 [consensus/statetransfer] func1 -> WARN 35c^[[0m name:\"vp2\"  failed to get blocks from 154 to 139 from name:\"vp2\" : Remote ledger not found for receiver vp2\r\n14:41:12.167 [consensus/statetransfer] tryOverPeers -> WARN 35d name:\"vp2\"  in tryOverPeers loop trying name:\"vp2\"  : Remote ledger not found for receiver vp2\r\n14:41:12.176 [consensus/obcpbft] processNewView2 -> INFO 35e Replica 2 accepting new-view to view 7\r\n14:41:12.365 [consensus/obcpbft] recvViewChange -> INFO 35f Replica 2 received view-change from replica 0, v:7, h:140, |C|:0, |P|:20, |Q|:20\r\n14:41:14.066 [consensus/statetransfer] tryOverPeers -> WARN 360 name:\"vp2\"  in tryOverPeers loop trying name:\"vp2\"  : name:\"vp2\"  received an error while trying to get the state deltas for blocks 140 through 154 from name:\"vp2\"\r\n\r\n## Describe How to Reproduce\r\n1. Use local_fabric.sh to setup a 4-peer network with security and privacy enabled, batchsize=1000\r\n2. bring up SaopUI:\r\n   set thread = 100\r\n   send invokes a->b, invoke b->a, then repeat\r\n3. run for 60 min\r\n4. check log\r\n"},"comment":{"url":"https://api.github.com/repos/hyperledger/fabric/issues/comments/228760475","html_url":"https://github.com/hyperledger/fabric/issues/2002#issuecomment-228760475","issue_url":"https://api.github.com/repos/hyperledger/fabric/issues/2002","id":228760475,"user":{"login":"jyellick","id":7431583,"avatar_url":"https://avatars.githubusercontent.com/u/7431583?v=3","gravatar_id":"","url":"https://api.github.com/users/jyellick","html_url":"https://github.com/jyellick","followers_url":"https://api.github.com/users/jyellick/followers","following_url":"https://api.github.com/users/jyellick/following{/other_user}","gists_url":"https://api.github.com/users/jyellick/gists{/gist_id}","starred_url":"https://api.github.com/users/jyellick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyellick/subscriptions","organizations_url":"https://api.github.com/users/jyellick/orgs","repos_url":"https://api.github.com/users/jyellick/repos","events_url":"https://api.github.com/users/jyellick/events{/privacy}","received_events_url":"https://api.github.com/users/jyellick/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T14:23:59Z","updated_at":"2016-06-27T14:23:59Z","body":"@corecode As you can [see](https://github.com/hyperledger/fabric/blob/cdfbdcd66de75cb832114d8815999189c7f6da9b/core/peer/statetransfer/statetransfer.go#L269-287) the state transfer code should never pick itself as a source to sync from (unless you can spot a bug in this logic), but there is nothing to prevent someone from explicitly instructing state transfer to sync from itself, maybe we should try to filter that out too.\r\n\r\nPBFT will pass the peers to sync from based on the peers which have sent the checkpoint message.  If we've sent a checkpoint message then it would usually imply that our state is already current at that point, so I'm not sure why this would be occurring from the other end either."}}
{"actor":{"display_login":"jyellick"}}