Describe the bug
Details in https://build.ci.opensearch.org/job/gradle-check/36350/testReport/org.opensearch.indices.replication/SegmentReplicationAllocationIT/testAllocationAndRebalanceWithDisruption/
Related component
Storage:Remote
To Reproduce
REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.indices.replication.SegmentReplicationAllocationIT.testAllocationAndRebalanceWithDisruption" -Dtests.seed=99CB296230F30435 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=es-CO -Dtests.timezone=America/Argentina/Cordoba -Druntime.java=21
Expected behavior
The test should not fail.