Index stuck in yellow unable to assign replica due to translog corruption

I see, hmm. I think you might have to set number_of_replicas: 0 to clear up the corrupted replicas and then set it back to the correct number.

Also note that translog corruption indicates that your storage is buggy or otherwise not safe to use - one common cause is that your storage is incorrectly reordering write() and fsync() calls. I strongly recommend fixing this ASAP.