# PrimaryBasedLogViewAdaptor&lt;TLogView, TLogEntry, TSubmissionEntry&gt;.RemoveStaleConditionalUpdates

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.common.primarybasedlogviewadaptor-3/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.common.primarybasedlogviewadaptor-3/methods/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.EventSourcing/Common/PrimaryBasedLogViewAdaptor.cs#L815-L844)

```csharp
protected void PrimaryBasedLogViewAdaptor<TLogView, TLogEntry, RemoveStaleConditionalUpdates()
```

go through updates and remove all the conditional updates that have already failed
