{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/340","repository_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus","labels_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/340/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/340/events","html_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/issues/340","id":178616712,"number":340,"title":"ASB Prefetching in combination with transaction mode none warning","user":{"login":"ramonsmits","id":152998,"avatar_url":"https://avatars.githubusercontent.com/u/152998?v=3","gravatar_id":"","url":"https://api.github.com/users/ramonsmits","html_url":"https://github.com/ramonsmits","followers_url":"https://api.github.com/users/ramonsmits/followers","following_url":"https://api.github.com/users/ramonsmits/following{/other_user}","gists_url":"https://api.github.com/users/ramonsmits/gists{/gist_id}","starred_url":"https://api.github.com/users/ramonsmits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramonsmits/subscriptions","organizations_url":"https://api.github.com/users/ramonsmits/orgs","repos_url":"https://api.github.com/users/ramonsmits/repos","events_url":"https://api.github.com/users/ramonsmits/events{/privacy}","received_events_url":"https://api.github.com/users/ramonsmits/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/labels/Type:%20Feature","name":"Type: Feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-22T13:55:26Z","updated_at":"2016-09-22T14:22:30Z","closed_at":null,"body":"While talking about prefetching I was wondering what the behavior is during graceful shutdown specifically to this question:\r\n\r\n- Are message that are already 'prefetched' but not yet processed still processed until the prefetch buffer/queue is depleted\r\n\r\nIf the answer is no and the customer is running with transaction mode 'None' than we have potential message loss during a 'graceful shutdown' even though no errors occur as the messages in the prefetch buffer are then discarded.\r\n\r\nIf this behavior is our actual behavior we should write a WARN log entry stating something like the following at startup\r\n\r\n> WARN Prefetchsize is larger than 0 while transaction mode is 'None'. This can result in message loss during normal operation.\r\n\r\nAlso, during shutdown, we should log a similar message for each discarded message if possible.\r\n"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/comments/248918150","html_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/issues/340#issuecomment-248918150","issue_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/340","id":248918150,"user":{"login":"SeanFeldman","id":1309622,"avatar_url":"https://avatars.githubusercontent.com/u/1309622?v=3","gravatar_id":"","url":"https://api.github.com/users/SeanFeldman","html_url":"https://github.com/SeanFeldman","followers_url":"https://api.github.com/users/SeanFeldman/followers","following_url":"https://api.github.com/users/SeanFeldman/following{/other_user}","gists_url":"https://api.github.com/users/SeanFeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanFeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanFeldman/subscriptions","organizations_url":"https://api.github.com/users/SeanFeldman/orgs","repos_url":"https://api.github.com/users/SeanFeldman/repos","events_url":"https://api.github.com/users/SeanFeldman/events{/privacy}","received_events_url":"https://api.github.com/users/SeanFeldman/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T14:22:30Z","updated_at":"2016-09-22T14:22:30Z","body":"I wonder if we should automatically disable prefetching if mode is Receive-and-Delete"}}
{"actor":{"display_login":"SeanFeldman"}}