[Segment Replication] Update ReplicationTarget and ReplicationListener failure exception type. #4291
Labels
distributed framework
enhancement
Enhancement or improvement to existing feature or request
good first issue
Good for newcomers
hacktoberfest
Global event that encourages people to contribute to open-source.
low hanging fruit
Coming from #4278, ReplicationTarget and ReplicationListener accept OpenSearchException in their failure methods. This should be narrowed to a replication specific exception type that is used in failures from recovery / replication. Recovery already has a RecoveryFailedException, we can similarly create a ReplicationFailedException to use in the superclass.
The text was updated successfully, but these errors were encountered: