)]}'
{"nodepool/launcher.py":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"6ba01eefaa039da584acd019519c1f51f7721d21","unresolved":false,"context_lines":[{"line_number":863,"context_line":"                    # Double check node conditions after lock"},{"line_number":864,"context_line":"                    if (node.state \u003d\u003d zk.READY"},{"line_number":865,"context_line":"                            and node.allocated_to"},{"line_number":866,"context_line":"                            and not zk_conn.getNodeRequest(node.allocated_to)):"},{"line_number":867,"context_line":"                        old_req_id \u003d node.allocated_to"},{"line_number":868,"context_line":"                        node.allocated_to \u003d None"},{"line_number":869,"context_line":"                        try:"}],"source_content_type":"text/x-python","patch_set":5,"id":"8785fcb4_4eea0718","line":866,"updated":"2023-05-24 17:21:58.000000000","message":"I\u0027m tempted to say we could use cached data here, but I think the failure scenario being contemplated might occur with this request being very new.  It seems vanishingly unlikely, but it\u0027s possible that a new request could appear and another provider allocate this node to it all before this provider updates its cache.  Moreover, we might improve the providers more in the future to respond to cache update watches (instead of using periodic delays) which would increase their responsiveness and therefore make it more likely that using cached data here could be wrong.\n\nIn short, I think the compromise of using the cached data above and live data here is reasonable.","commit_id":"adf44ecdf0da0e934e15251d2a9c2a8073386d84"}]}
