KAFKA-19952: When remote storage keep outage status. the local segment never get deleted
Test Case: Topic enable remote storage: Local retention time: 10 minutes Remote retenton time: 20 minutes Keep run producer to send. and pick one time after 20 minutes to set the AWS S3 permisssion to let the remote upload fail. After 1 hour. you will see the local segments keep increase and save about 1 hours even the both local/remote retention time < 20 minutes. So we need one protect for this case to avoid the local disk keep increase forever util the outage recovered.
A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.