[2pc] added persistent write and failure to client.