{"action":"created","comment":{"url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/comments/218352942","pull_request_review_id":156269214,"id":218352942,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODM1Mjk0Mg==","diff_hunk":"@@ -274,6 +275,9 @@ static boolean canRetryWrite(final ServerDescription serverDescription, final Co\n         } else if (connectionDescription.getServerType().equals(ServerType.STANDALONE)) {\n             LOGGER.debug(\"retryWrites set to true but the server is a standalone server.\");\n             return false;\n+        } else if (!sessionContext.hasSession()) {\n+            LOGGER.debug(\"retryWrites set to true but there is no implicit session.\");","path":"driver-core/src/main/com/mongodb/operation/OperationHelper.java","position":20,"original_position":20,"commit_id":"a53eaf563b121e7cddf2a8c73ee1cd2b9a740950","original_commit_id":"a53eaf563b121e7cddf2a8c73ee1cd2b9a740950","user":{"login":"rozza","id":420,"node_id":"MDQ6VXNlcjQyMA==","avatar_url":"https://avatars0.githubusercontent.com/u/420?v=4","gravatar_id":"","url":"https://api.github.com/users/rozza","html_url":"https://github.com/rozza","followers_url":"https://api.github.com/users/rozza/followers","following_url":"https://api.github.com/users/rozza/following{/other_user}","gists_url":"https://api.github.com/users/rozza/gists{/gist_id}","starred_url":"https://api.github.com/users/rozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozza/subscriptions","organizations_url":"https://api.github.com/users/rozza/orgs","repos_url":"https://api.github.com/users/rozza/repos","events_url":"https://api.github.com/users/rozza/events{/privacy}","received_events_url":"https://api.github.com/users/rozza/received_events","type":"User","site_admin":false},"body":"Could we indicate that might be the cause? So users have an idea of how to fix?","created_at":"2018-09-18T09:06:07Z","updated_at":"2018-09-18T09:07:59Z","html_url":"https://github.com/jyemin/mongo-java-driver/pull/170#discussion_r218352942","pull_request_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/170","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/comments/218352942"},"html":{"href":"https://github.com/jyemin/mongo-java-driver/pull/170#discussion_r218352942"},"pull_request":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/170"}},"in_reply_to_id":218165245},"pull_request":{"url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/170","id":216062308,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MDYyMzA4","html_url":"https://github.com/jyemin/mongo-java-driver/pull/170","diff_url":"https://github.com/jyemin/mongo-java-driver/pull/170.diff","patch_url":"https://github.com/jyemin/mongo-java-driver/pull/170.patch","issue_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/170","number":170,"state":"open","locked":false,"title":"Disable retryable writes when no session is available for any reason.","user":{"login":"jyemin","id":1111546,"node_id":"MDQ6VXNlcjExMTE1NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1111546?v=4","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"body":"The only known reason that this covers is when the driver is configured\r\nwith multiple credentials (which is deprecated), in which case the\r\nserver supports retryable writes but sessions are still unsupported due\r\nto the multiple credentials.\r\n\r\nJAVA-2963","created_at":"2018-09-17T17:47:58Z","updated_at":"2018-09-18T09:07:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3eda002707b26abf40e2245fe0b0bcff96c2af67","assignee":{"login":"jyemin","id":1111546,"node_id":"MDQ6VXNlcjExMTE1NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1111546?v=4","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"assignees":[{"login":"jyemin","id":1111546,"node_id":"MDQ6VXNlcjExMTE1NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1111546?v=4","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/170/commits","review_comments_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/170/comments","review_comment_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/170/comments","statuses_url":"https://api.github.com/repos/jyemin/mongo-java-driver/statuses/a53eaf563b121e7cddf2a8c73ee1cd2b9a740950","head":{"label":"jyemin:j2963","ref":"j2963","sha":"a53eaf563b121e7cddf2a8c73ee1cd2b9a740950","user":{"login":"jyemin","id":1111546,"node_id":"MDQ6VXNlcjExMTE1NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1111546?v=4","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"repo":{"id":2603134,"node_id":"MDEwOlJlcG9zaXRvcnkyNjAzMTM0","name":"mongo-java-driver","full_name":"jyemin/mongo-java-driver","private":false,"owner":{"login":"jyemin","id":1111546,"node_id":"MDQ6VXNlcjExMTE1NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1111546?v=4","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jyemin/mongo-java-driver","description":"The Java driver for MongoDB","fork":true,"url":"https://api.github.com/repos/jyemin/mongo-java-driver","forks_url":"https://api.github.com/repos/jyemin/mongo-java-driver/forks","keys_url":"https://api.github.com/repos/jyemin/mongo-java-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jyemin/mongo-java-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jyemin/mongo-java-driver/teams","hooks_url":"https://api.github.com/repos/jyemin/mongo-java-driver/hooks","issue_events_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/events{/number}","events_url":"https://api.github.com/repos/jyemin/mongo-java-driver/events","assignees_url":"https://api.github.com/repos/jyemin/mongo-java-driver/assignees{/user}","branches_url":"https://api.github.com/repos/jyemin/mongo-java-driver/branches{/branch}","tags_url":"https://api.github.com/repos/jyemin/mongo-java-driver/tags","blobs_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jyemin/mongo-java-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/jyemin/mongo-java-driver/languages","stargazers_url":"https://api.github.com/repos/jyemin/mongo-java-driver/stargazers","contributors_url":"https://api.github.com/repos/jyemin/mongo-java-driver/contributors","subscribers_url":"https://api.github.com/repos/jyemin/mongo-java-driver/subscribers","subscription_url":"https://api.github.com/repos/jyemin/mongo-java-driver/subscription","commits_url":"https://api.github.com/repos/jyemin/mongo-java-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jyemin/mongo-java-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jyemin/mongo-java-driver/contents/{+path}","compare_url":"https://api.github.com/repos/jyemin/mongo-java-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jyemin/mongo-java-driver/merges","archive_url":"https://api.github.com/repos/jyemin/mongo-java-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jyemin/mongo-java-driver/downloads","issues_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues{/number}","pulls_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/jyemin/mongo-java-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/jyemin/mongo-java-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jyemin/mongo-java-driver/labels{/name}","releases_url":"https://api.github.com/repos/jyemin/mongo-java-driver/releases{/id}","deployments_url":"https://api.github.com/repos/jyemin/mongo-java-driver/deployments","created_at":"2011-10-19T00:37:59Z","updated_at":"2018-09-17T17:47:24Z","pushed_at":"2018-09-17T17:47:58Z","git_url":"git://github.com/jyemin/mongo-java-driver.git","ssh_url":"git@github.com:jyemin/mongo-java-driver.git","clone_url":"https://github.com/jyemin/mongo-java-driver.git","svn_url":"https://github.com/jyemin/mongo-java-driver","homepage":"https://mongodb.github.io/mongo-java-driver","size":54282,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"jyemin:master","ref":"master","sha":"e49e7174c5bfc3a30ced7ff05fedbc9bab2411b0","user":{"login":"jyemin","id":1111546,"node_id":"MDQ6VXNlcjExMTE1NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1111546?v=4","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"repo":{"id":2603134,"node_id":"MDEwOlJlcG9zaXRvcnkyNjAzMTM0","name":"mongo-java-driver","full_name":"jyemin/mongo-java-driver","private":false,"owner":{"login":"jyemin","id":1111546,"node_id":"MDQ6VXNlcjExMTE1NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1111546?v=4","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jyemin/mongo-java-driver","description":"The Java driver for MongoDB","fork":true,"url":"https://api.github.com/repos/jyemin/mongo-java-driver","forks_url":"https://api.github.com/repos/jyemin/mongo-java-driver/forks","keys_url":"https://api.github.com/repos/jyemin/mongo-java-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jyemin/mongo-java-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jyemin/mongo-java-driver/teams","hooks_url":"https://api.github.com/repos/jyemin/mongo-java-driver/hooks","issue_events_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/events{/number}","events_url":"https://api.github.com/repos/jyemin/mongo-java-driver/events","assignees_url":"https://api.github.com/repos/jyemin/mongo-java-driver/assignees{/user}","branches_url":"https://api.github.com/repos/jyemin/mongo-java-driver/branches{/branch}","tags_url":"https://api.github.com/repos/jyemin/mongo-java-driver/tags","blobs_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jyemin/mongo-java-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/jyemin/mongo-java-driver/languages","stargazers_url":"https://api.github.com/repos/jyemin/mongo-java-driver/stargazers","contributors_url":"https://api.github.com/repos/jyemin/mongo-java-driver/contributors","subscribers_url":"https://api.github.com/repos/jyemin/mongo-java-driver/subscribers","subscription_url":"https://api.github.com/repos/jyemin/mongo-java-driver/subscription","commits_url":"https://api.github.com/repos/jyemin/mongo-java-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jyemin/mongo-java-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jyemin/mongo-java-driver/contents/{+path}","compare_url":"https://api.github.com/repos/jyemin/mongo-java-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jyemin/mongo-java-driver/merges","archive_url":"https://api.github.com/repos/jyemin/mongo-java-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jyemin/mongo-java-driver/downloads","issues_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues{/number}","pulls_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/jyemin/mongo-java-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/jyemin/mongo-java-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jyemin/mongo-java-driver/labels{/name}","releases_url":"https://api.github.com/repos/jyemin/mongo-java-driver/releases{/id}","deployments_url":"https://api.github.com/repos/jyemin/mongo-java-driver/deployments","created_at":"2011-10-19T00:37:59Z","updated_at":"2018-09-17T17:47:24Z","pushed_at":"2018-09-17T17:47:58Z","git_url":"git://github.com/jyemin/mongo-java-driver.git","ssh_url":"git@github.com:jyemin/mongo-java-driver.git","clone_url":"https://github.com/jyemin/mongo-java-driver.git","svn_url":"https://github.com/jyemin/mongo-java-driver","homepage":"https://mongodb.github.io/mongo-java-driver","size":54282,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/170"},"html":{"href":"https://github.com/jyemin/mongo-java-driver/pull/170"},"issue":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/170"},"comments":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/statuses/a53eaf563b121e7cddf2a8c73ee1cd2b9a740950"}},"author_association":"OWNER"}}
{"actor":{"display_login":"rozza"}}