{"action":"created","issue":{"url":"https://api.github.com/repos/mongodb/specifications/issues/174","repository_url":"https://api.github.com/repos/mongodb/specifications","labels_url":"https://api.github.com/repos/mongodb/specifications/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/mongodb/specifications/issues/174/comments","events_url":"https://api.github.com/repos/mongodb/specifications/issues/174/events","html_url":"https://github.com/mongodb/specifications/pull/174","id":251294361,"number":174,"title":"SPEC-857: retryWrites is now a MongoClient option","user":{"login":"jmikola","id":244663,"avatar_url":"https://avatars3.githubusercontent.com/u/244663?v=4","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-18T16:20:51Z","updated_at":"2017-08-24T20:21:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mongodb/specifications/pulls/174","html_url":"https://github.com/mongodb/specifications/pull/174","diff_url":"https://github.com/mongodb/specifications/pull/174.diff","patch_url":"https://github.com/mongodb/specifications/pull/174.patch"},"body":"https://jira.mongodb.org/browse/SPEC-857"},"comment":{"url":"https://api.github.com/repos/mongodb/specifications/issues/comments/324746394","html_url":"https://github.com/mongodb/specifications/pull/174#issuecomment-324746394","issue_url":"https://api.github.com/repos/mongodb/specifications/issues/174","id":324746394,"user":{"login":"jmikola","id":244663,"avatar_url":"https://avatars3.githubusercontent.com/u/244663?v=4","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"created_at":"2017-08-24T20:21:44Z","updated_at":"2017-08-24T20:21:44Z","body":"I commented on each open thread and added a few commits to resolve outstanding change requests. In case you find it difficult to view collapsed comment threads, here's a summary of the open threads:\r\n\r\nhttps://github.com/mongodb/specifications/pull/174#discussion_r134750385 - Conclusion that `retryWrites` is only a client-level option, not configurable at the database, collection, and operation level.\r\n\r\nhttps://github.com/mongodb/specifications/pull/174#discussion_r134001210 - Allowing unacknowledged writes (simply ignore retry option) and requesting that the server change its behavior to ignore transaction IDs for unsupported operations on the first attempt but raise an error on the retry attempt\r\n\r\nhttps://github.com/mongodb/specifications/pull/174#discussion_r134781620 - Generic `runCommand()` helper should not attempt to detect write commands and inject transaction IDs. Similarly, it should not detect read and write commands to inject client- and database-level `readConcern` and `writeConcern` options, respectively.\r\n\r\nhttps://github.com/mongodb/specifications/pull/174#discussion_r134751354 - The server team decided not to $-prefix the session ID and transaction number fields. Offhand, what other global command parameters use $-prefixing other than `$readPreference`?\r\n\r\nhttps://github.com/mongodb/specifications/pull/174#discussion_r134782214 - Discussing whether the driver should throw the first attempt's NetworkException if the retry attempt fails. Either way, we should clarify \"failued\" for a second attempt only refers to a network error. Any `{ ok: 0 }` response from the server is something we should immediately throw to the user."}}
{"actor":{"display_login":"jmikola"}}