Safe commit