{"action":"created","comment":{"url":"https://api.github.com/repos/ravendb/ravendb/pulls/comments/118498656","pull_request_review_id":40296184,"id":118498656,"diff_hunk":"@@ -247,6 +247,33 @@ public void Initialize()\n                 }\n             };\n \n+            try\n+            {\n+                if (MemoryInformation.IsSwappingOnHddInsteadOfSsd())\n+                {\n+                    var alert = AlertRaised.Create(\"Swap Storage Type Warning\",\n+                        \"OS swapping on at least one HDD drive while there is at least one SSD drive on this system. \" +\n+                        \"This can cause a slowdown, consider moving swap-partition/pagefile to SSD\",\n+                        AlertType.SwappingHddInsteadOfSsd,\n+                        NotificationSeverity.Warning,\n+                        \"Swap Storage Type Warning\");","path":"src/Raven.Server/ServerWide/ServerStore.cs","position":13,"original_position":13,"commit_id":"8e3cf44e269d9c4abd9a3cd7ff8d901721b272af","original_commit_id":"8e3cf44e269d9c4abd9a3cd7ff8d901721b272af","user":{"login":"ml054","id":1250431,"avatar_url":"https://avatars3.githubusercontent.com/u/1250431?v=3","gravatar_id":"","url":"https://api.github.com/users/ml054","html_url":"https://github.com/ml054","followers_url":"https://api.github.com/users/ml054/followers","following_url":"https://api.github.com/users/ml054/following{/other_user}","gists_url":"https://api.github.com/users/ml054/gists{/gist_id}","starred_url":"https://api.github.com/users/ml054/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ml054/subscriptions","organizations_url":"https://api.github.com/users/ml054/orgs","repos_url":"https://api.github.com/users/ml054/repos","events_url":"https://api.github.com/users/ml054/events{/privacy}","received_events_url":"https://api.github.com/users/ml054/received_events","type":"User","site_admin":false},"body":"Please delete this argument - it is not needed here.","created_at":"2017-05-25T14:32:41Z","updated_at":"2017-05-25T14:32:41Z","html_url":"https://github.com/ravendb/ravendb/pull/2492#discussion_r118498656","pull_request_url":"https://api.github.com/repos/ravendb/ravendb/pulls/2492","_links":{"self":{"href":"https://api.github.com/repos/ravendb/ravendb/pulls/comments/118498656"},"html":{"href":"https://github.com/ravendb/ravendb/pull/2492#discussion_r118498656"},"pull_request":{"href":"https://api.github.com/repos/ravendb/ravendb/pulls/2492"}}},"pull_request":{"url":"https://api.github.com/repos/ravendb/ravendb/pulls/2492","id":122441253,"html_url":"https://github.com/ravendb/ravendb/pull/2492","diff_url":"https://github.com/ravendb/ravendb/pull/2492.diff","patch_url":"https://github.com/ravendb/ravendb/pull/2492.patch","issue_url":"https://api.github.com/repos/ravendb/ravendb/issues/2492","number":2492,"state":"open","locked":false,"title":"RavenDB-4986: Check & Alert if swapping on hdd instead of ssd","user":{"login":"aviviadi","id":12054032,"avatar_url":"https://avatars2.githubusercontent.com/u/12054032?v=3","gravatar_id":"","url":"https://api.github.com/users/aviviadi","html_url":"https://github.com/aviviadi","followers_url":"https://api.github.com/users/aviviadi/followers","following_url":"https://api.github.com/users/aviviadi/following{/other_user}","gists_url":"https://api.github.com/users/aviviadi/gists{/gist_id}","starred_url":"https://api.github.com/users/aviviadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviviadi/subscriptions","organizations_url":"https://api.github.com/users/aviviadi/orgs","repos_url":"https://api.github.com/users/aviviadi/repos","events_url":"https://api.github.com/users/aviviadi/events{/privacy}","received_events_url":"https://api.github.com/users/aviviadi/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-25T13:35:30Z","updated_at":"2017-05-25T14:32:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d770ac15642b94e1fe10c475d15621847eb7416","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ravendb/ravendb/pulls/2492/commits","review_comments_url":"https://api.github.com/repos/ravendb/ravendb/pulls/2492/comments","review_comment_url":"https://api.github.com/repos/ravendb/ravendb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ravendb/ravendb/issues/2492/comments","statuses_url":"https://api.github.com/repos/ravendb/ravendb/statuses/8e3cf44e269d9c4abd9a3cd7ff8d901721b272af","head":{"label":"aviviadi:RavenDB-4986b","ref":"RavenDB-4986b","sha":"8e3cf44e269d9c4abd9a3cd7ff8d901721b272af","user":{"login":"aviviadi","id":12054032,"avatar_url":"https://avatars2.githubusercontent.com/u/12054032?v=3","gravatar_id":"","url":"https://api.github.com/users/aviviadi","html_url":"https://github.com/aviviadi","followers_url":"https://api.github.com/users/aviviadi/followers","following_url":"https://api.github.com/users/aviviadi/following{/other_user}","gists_url":"https://api.github.com/users/aviviadi/gists{/gist_id}","starred_url":"https://api.github.com/users/aviviadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviviadi/subscriptions","organizations_url":"https://api.github.com/users/aviviadi/orgs","repos_url":"https://api.github.com/users/aviviadi/repos","events_url":"https://api.github.com/users/aviviadi/events{/privacy}","received_events_url":"https://api.github.com/users/aviviadi/received_events","type":"User","site_admin":false},"repo":{"id":34339621,"name":"ravendb","full_name":"aviviadi/ravendb","owner":{"login":"aviviadi","id":12054032,"avatar_url":"https://avatars2.githubusercontent.com/u/12054032?v=3","gravatar_id":"","url":"https://api.github.com/users/aviviadi","html_url":"https://github.com/aviviadi","followers_url":"https://api.github.com/users/aviviadi/followers","following_url":"https://api.github.com/users/aviviadi/following{/other_user}","gists_url":"https://api.github.com/users/aviviadi/gists{/gist_id}","starred_url":"https://api.github.com/users/aviviadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviviadi/subscriptions","organizations_url":"https://api.github.com/users/aviviadi/orgs","repos_url":"https://api.github.com/users/aviviadi/repos","events_url":"https://api.github.com/users/aviviadi/events{/privacy}","received_events_url":"https://api.github.com/users/aviviadi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aviviadi/ravendb","description":"A linq enabled document database for .NET","fork":true,"url":"https://api.github.com/repos/aviviadi/ravendb","forks_url":"https://api.github.com/repos/aviviadi/ravendb/forks","keys_url":"https://api.github.com/repos/aviviadi/ravendb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aviviadi/ravendb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aviviadi/ravendb/teams","hooks_url":"https://api.github.com/repos/aviviadi/ravendb/hooks","issue_events_url":"https://api.github.com/repos/aviviadi/ravendb/issues/events{/number}","events_url":"https://api.github.com/repos/aviviadi/ravendb/events","assignees_url":"https://api.github.com/repos/aviviadi/ravendb/assignees{/user}","branches_url":"https://api.github.com/repos/aviviadi/ravendb/branches{/branch}","tags_url":"https://api.github.com/repos/aviviadi/ravendb/tags","blobs_url":"https://api.github.com/repos/aviviadi/ravendb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aviviadi/ravendb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aviviadi/ravendb/git/refs{/sha}","trees_url":"https://api.github.com/repos/aviviadi/ravendb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aviviadi/ravendb/statuses/{sha}","languages_url":"https://api.github.com/repos/aviviadi/ravendb/languages","stargazers_url":"https://api.github.com/repos/aviviadi/ravendb/stargazers","contributors_url":"https://api.github.com/repos/aviviadi/ravendb/contributors","subscribers_url":"https://api.github.com/repos/aviviadi/ravendb/subscribers","subscription_url":"https://api.github.com/repos/aviviadi/ravendb/subscription","commits_url":"https://api.github.com/repos/aviviadi/ravendb/commits{/sha}","git_commits_url":"https://api.github.com/repos/aviviadi/ravendb/git/commits{/sha}","comments_url":"https://api.github.com/repos/aviviadi/ravendb/comments{/number}","issue_comment_url":"https://api.github.com/repos/aviviadi/ravendb/issues/comments{/number}","contents_url":"https://api.github.com/repos/aviviadi/ravendb/contents/{+path}","compare_url":"https://api.github.com/repos/aviviadi/ravendb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aviviadi/ravendb/merges","archive_url":"https://api.github.com/repos/aviviadi/ravendb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aviviadi/ravendb/downloads","issues_url":"https://api.github.com/repos/aviviadi/ravendb/issues{/number}","pulls_url":"https://api.github.com/repos/aviviadi/ravendb/pulls{/number}","milestones_url":"https://api.github.com/repos/aviviadi/ravendb/milestones{/number}","notifications_url":"https://api.github.com/repos/aviviadi/ravendb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aviviadi/ravendb/labels{/name}","releases_url":"https://api.github.com/repos/aviviadi/ravendb/releases{/id}","deployments_url":"https://api.github.com/repos/aviviadi/ravendb/deployments","created_at":"2015-04-21T16:45:19Z","updated_at":"2017-03-13T12:09:07Z","pushed_at":"2017-05-25T13:24:17Z","git_url":"git://github.com/aviviadi/ravendb.git","ssh_url":"git@github.com:aviviadi/ravendb.git","clone_url":"https://github.com/aviviadi/ravendb.git","svn_url":"https://github.com/aviviadi/ravendb","homepage":"http://ayende.com/Blog/","size":386080,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"ravendb:v4.0","ref":"v4.0","sha":"1b318227ddcf1704b7e10e5032d02208803916bc","user":{"login":"ravendb","id":213792,"avatar_url":"https://avatars3.githubusercontent.com/u/213792?v=3","gravatar_id":"","url":"https://api.github.com/users/ravendb","html_url":"https://github.com/ravendb","followers_url":"https://api.github.com/users/ravendb/followers","following_url":"https://api.github.com/users/ravendb/following{/other_user}","gists_url":"https://api.github.com/users/ravendb/gists{/gist_id}","starred_url":"https://api.github.com/users/ravendb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravendb/subscriptions","organizations_url":"https://api.github.com/users/ravendb/orgs","repos_url":"https://api.github.com/users/ravendb/repos","events_url":"https://api.github.com/users/ravendb/events{/privacy}","received_events_url":"https://api.github.com/users/ravendb/received_events","type":"Organization","site_admin":false},"repo":{"id":542714,"name":"ravendb","full_name":"ravendb/ravendb","owner":{"login":"ravendb","id":213792,"avatar_url":"https://avatars3.githubusercontent.com/u/213792?v=3","gravatar_id":"","url":"https://api.github.com/users/ravendb","html_url":"https://github.com/ravendb","followers_url":"https://api.github.com/users/ravendb/followers","following_url":"https://api.github.com/users/ravendb/following{/other_user}","gists_url":"https://api.github.com/users/ravendb/gists{/gist_id}","starred_url":"https://api.github.com/users/ravendb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravendb/subscriptions","organizations_url":"https://api.github.com/users/ravendb/orgs","repos_url":"https://api.github.com/users/ravendb/repos","events_url":"https://api.github.com/users/ravendb/events{/privacy}","received_events_url":"https://api.github.com/users/ravendb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ravendb/ravendb","description":"A linq enabled document database for .NET","fork":false,"url":"https://api.github.com/repos/ravendb/ravendb","forks_url":"https://api.github.com/repos/ravendb/ravendb/forks","keys_url":"https://api.github.com/repos/ravendb/ravendb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ravendb/ravendb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ravendb/ravendb/teams","hooks_url":"https://api.github.com/repos/ravendb/ravendb/hooks","issue_events_url":"https://api.github.com/repos/ravendb/ravendb/issues/events{/number}","events_url":"https://api.github.com/repos/ravendb/ravendb/events","assignees_url":"https://api.github.com/repos/ravendb/ravendb/assignees{/user}","branches_url":"https://api.github.com/repos/ravendb/ravendb/branches{/branch}","tags_url":"https://api.github.com/repos/ravendb/ravendb/tags","blobs_url":"https://api.github.com/repos/ravendb/ravendb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ravendb/ravendb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ravendb/ravendb/git/refs{/sha}","trees_url":"https://api.github.com/repos/ravendb/ravendb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ravendb/ravendb/statuses/{sha}","languages_url":"https://api.github.com/repos/ravendb/ravendb/languages","stargazers_url":"https://api.github.com/repos/ravendb/ravendb/stargazers","contributors_url":"https://api.github.com/repos/ravendb/ravendb/contributors","subscribers_url":"https://api.github.com/repos/ravendb/ravendb/subscribers","subscription_url":"https://api.github.com/repos/ravendb/ravendb/subscription","commits_url":"https://api.github.com/repos/ravendb/ravendb/commits{/sha}","git_commits_url":"https://api.github.com/repos/ravendb/ravendb/git/commits{/sha}","comments_url":"https://api.github.com/repos/ravendb/ravendb/comments{/number}","issue_comment_url":"https://api.github.com/repos/ravendb/ravendb/issues/comments{/number}","contents_url":"https://api.github.com/repos/ravendb/ravendb/contents/{+path}","compare_url":"https://api.github.com/repos/ravendb/ravendb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ravendb/ravendb/merges","archive_url":"https://api.github.com/repos/ravendb/ravendb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ravendb/ravendb/downloads","issues_url":"https://api.github.com/repos/ravendb/ravendb/issues{/number}","pulls_url":"https://api.github.com/repos/ravendb/ravendb/pulls{/number}","milestones_url":"https://api.github.com/repos/ravendb/ravendb/milestones{/number}","notifications_url":"https://api.github.com/repos/ravendb/ravendb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ravendb/ravendb/labels{/name}","releases_url":"https://api.github.com/repos/ravendb/ravendb/releases{/id}","deployments_url":"https://api.github.com/repos/ravendb/ravendb/deployments","created_at":"2010-03-02T11:05:30Z","updated_at":"2017-05-24T14:07:08Z","pushed_at":"2017-05-25T14:17:33Z","git_url":"git://github.com/ravendb/ravendb.git","ssh_url":"git@github.com:ravendb/ravendb.git","clone_url":"https://github.com/ravendb/ravendb.git","svn_url":"https://github.com/ravendb/ravendb","homepage":"http://ravendb.net","size":398545,"stargazers_count":1676,"watchers_count":1676,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":658,"mirror_url":null,"open_issues_count":5,"forks":658,"open_issues":5,"watchers":1676,"default_branch":"v3.5"}},"_links":{"self":{"href":"https://api.github.com/repos/ravendb/ravendb/pulls/2492"},"html":{"href":"https://github.com/ravendb/ravendb/pull/2492"},"issue":{"href":"https://api.github.com/repos/ravendb/ravendb/issues/2492"},"comments":{"href":"https://api.github.com/repos/ravendb/ravendb/issues/2492/comments"},"review_comments":{"href":"https://api.github.com/repos/ravendb/ravendb/pulls/2492/comments"},"review_comment":{"href":"https://api.github.com/repos/ravendb/ravendb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ravendb/ravendb/pulls/2492/commits"},"statuses":{"href":"https://api.github.com/repos/ravendb/ravendb/statuses/8e3cf44e269d9c4abd9a3cd7ff8d901721b272af"}}}}
{"actor":{"display_login":"ml054"}}