{"action":"closed","issue":{"url":"https://api.github.com/repos/rethinkdb/docs/issues/834","labels_url":"https://api.github.com/repos/rethinkdb/docs/issues/834/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/docs/issues/834/comments","events_url":"https://api.github.com/repos/rethinkdb/docs/issues/834/events","html_url":"https://github.com/rethinkdb/docs/issues/834","id":97339794,"number":834,"title":"Architecture FAQ on atomicity has misleading sentence","user":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/docs/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"chipotle","id":467928,"avatar_url":"https://avatars.githubusercontent.com/u/467928?v=3","gravatar_id":"","url":"https://api.github.com/users/chipotle","html_url":"https://github.com/chipotle","followers_url":"https://api.github.com/users/chipotle/followers","following_url":"https://api.github.com/users/chipotle/following{/other_user}","gists_url":"https://api.github.com/users/chipotle/gists{/gist_id}","starred_url":"https://api.github.com/users/chipotle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chipotle/subscriptions","organizations_url":"https://api.github.com/users/chipotle/orgs","repos_url":"https://api.github.com/users/chipotle/repos","events_url":"https://api.github.com/users/chipotle/events{/privacy}","received_events_url":"https://api.github.com/users/chipotle/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rethinkdb/docs/milestones/8","html_url":"https://github.com/rethinkdb/docs/milestones/2.1","labels_url":"https://api.github.com/repos/rethinkdb/docs/milestones/8/labels","id":1045737,"number":8,"title":"2.1","description":null,"creator":{"login":"VeXocide","id":167416,"avatar_url":"https://avatars.githubusercontent.com/u/167416?v=3","gravatar_id":"","url":"https://api.github.com/users/VeXocide","html_url":"https://github.com/VeXocide","followers_url":"https://api.github.com/users/VeXocide/followers","following_url":"https://api.github.com/users/VeXocide/following{/other_user}","gists_url":"https://api.github.com/users/VeXocide/gists{/gist_id}","starred_url":"https://api.github.com/users/VeXocide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeXocide/subscriptions","organizations_url":"https://api.github.com/users/VeXocide/orgs","repos_url":"https://api.github.com/users/VeXocide/repos","events_url":"https://api.github.com/users/VeXocide/events{/privacy}","received_events_url":"https://api.github.com/users/VeXocide/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":18,"state":"open","created_at":"2015-03-30T22:32:47Z","updated_at":"2015-07-27T23:06:42Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-26T18:30:01Z","updated_at":"2015-07-27T23:06:42Z","closed_at":"2015-07-27T23:06:42Z","body":"http://rethinkdb.com/docs/architecture/#query-execution says:\r\n>  If the user runs a query that cannot be executed atomically, by default RethinkDB will throw an error. \r\n\r\nThis is wrong and has lead to misunderstandings like in this answer http://stackoverflow.com/a/31634756/2413884\r\n\r\nThe problem is that this sentence talks about `a query`. However this *only* applies to *functions* passed into `update` and `replace`. It doesn't apply to functions passed into other operations, it doesn't apply to non-update / non-replace queries, and it doesn't apply to non-functions passed into `update` or `replace` (though expressions that involve `r.row` are ok as well, since they are internally turned into functions).\r\n\r\nWe should definitely fix this for 2.1, and probably backport it to the 2.0 docs as well."}}