Same comment. The code should guarantee the replaying the editlog will return the exactly same result. Maybe putting the logic in the deleteNoLog.