Don't use disks in Unraid that are ready to fail. The way Unraid parity works it uses the entire capacity of ALL remaining drives to reconstruct the failed drive, so if a second drive dies you will lose all the data on both drives. The moment a drive fails, ALL rest of the data drives plus the parity drive are read to emulate the failed drive, and writes to the missing drive's slot update the parity drive.
As an example, say you have replaced all your older disks except one, and it doesn't have much content, so you aren't worried about replacing it. Now, out of the blue without warning, one of your new disks, full of data, dies on you. Now, that old drive that was on its last legs is called into constant use to emulate the failed drive, and it must survive reading the entire capacity to rebuild the failed new drive. You hope it survives long enough to get through the rebuild process, but chances are, it's not going to.
You must always be able to trust all your drives to perform perfectly, so when one of them inevitably fails the rest are in good shape. Any drive that shows signs of failure must be replaced ASAP.