A data caching method, including: in response to a faulty node returning to normal, adding the faulty node to a recombined mirrored pair according to a mirrored pair where the faulty node is initially located to obtain a transitional mirrored pair whereby in a cached data re-mirroring process, when one node of the mirrored pair is faulty, data mirroring continues between other nodes; initiating, by a main node in the transitional mirrored pair, a cached data re-mirroring operation process to the faulty node; and in response to the main node in the transitional mirrored pair completing the cached data re-mirroring to the faulty node, deleting a redundant node in the transitional mirrored pair based on an initial mirrored pair to switch the transitional mirrored pair back to the initial mirrored pair for data caching.