when the commit command is received before the prepare command