Class RetentionLeaseBackgroundSyncAction

public class RetentionLeaseBackgroundSyncAction
extends TransportReplicationAction<RetentionLeaseBackgroundSyncAction.Request,​RetentionLeaseBackgroundSyncAction.Request,​ReplicationResponse>
Replication action responsible for background syncing retention leases to replicas. This action is deliberately a replication action so that if a replica misses a background retention lease sync then that shard will not be marked as stale. We have some tolerance for a shard copy missing renewals of retention leases since the background sync interval is much smaller than the expected lifetime of retention leases.