code: def mark_as_executed(self, req: Request):
          
          state = self[req.key]
          state.executed = True
          self._clean(state)
docs: Works together with 'mark_as_forwarded' and 'free' methods.
  
          It makes request to be removed if all replicas request was
          forwarded to freed it.