)]}'
{"nova/db/sqlalchemy/api.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"0c4f30d300cd9e0d209aed176dcc07885d01ee89","unresolved":false,"context_lines":[{"line_number":803,"context_line":"# NOTE(mgoddard): We avoid decorating this with @pick_context_manager_writer,"},{"line_number":804,"context_line":"# so that we get a separate transaction in the exception handler. This avoids"},{"line_number":805,"context_line":"# an error message about inactive DB sessions during a transaction rollback."},{"line_number":806,"context_line":"# See https://bugs.launchpad.net/nova/+bug/1853159."},{"line_number":807,"context_line":"def compute_node_create(context, values):"},{"line_number":808,"context_line":"    \"\"\"Creates a new ComputeNode and populates the capacity fields"},{"line_number":809,"context_line":"    with the most recent data. Will restore a soft deleted compute node if a"}],"source_content_type":"text/x-python","patch_set":14,"id":"7a0009b6_3c9636b7","line":806,"updated":"2021-08-20 10:47:58.000000000","message":"afaict, subtransactions are going away in SQLAlchemy 2.x, so this is the correct solution long-term anyway","commit_id":"c58f0253d8b19cfaf65ed54cf413b80759989622"}]}
