A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by at least one processing device of a first storage system comprising a plurality of storage devices causes the first storage system:
- to participate in a replication process with a second storage system;
- and
- as part of the replication process, a replication engine of the first storage system being configured:
- to request from a data module of the first storage system at least one data page to be replicated to the second storage system;
- responsive to the requested data page being already available in compressed form in the data module, to receive from the data module the requested data page in compressed form with a compressed data indicator and to transmit the requested data page in compressed form to the second storage system along with at least a portion of a content-based signature of the requested data page;
- and
- responsive to the requested data page not being already available in compressed form in the data module, to receive from the data module the requested data page in uncompressed form with an uncompressed data indicator and to transmit the requested data page in uncompressed form to the second storage system;
- wherein the first storage system comprises a content addressable storage system, the content addressable storage system implementing a mapping between content-based signatures of respective data pages, including the requested data page, and corresponding physical locations of the data pages in the storage devices;
- wherein the content-based signature is utilized by the data module of the first storage system to determine the physical location of the requested data page in a particular one of the storage devices;
- wherein responsive to the requested data page being already available in compressed form in the data module, the replication engine of the first storage system is further configured to transmit the requested data page in compressed form to the second storage system while bypassing performance of an end-to-end test on the requested data page that would otherwise normally be performed in the first storage system as part of the replication process;
- wherein the second storage system responsive to receipt of the requested data page in compressed form from the first storage system is configured to decompress the requested data page and to perform the end-to-end test on the requested data page using the at least a portion of the content-based signature of the requested data page received from the first storage system;
- wherein responsive to the requested data page not being already available in compressed form in the data module, the replication engine of the first storage system is further configured to transmit the requested data page in uncompressed form to the second storage system and to perform at least a portion of the end-to-end test on the requested data page as part of the replication process;
- wherein the end-to-end test comprises comparing a content-based signature of the requested data page generated at the second storage system with the content-based signature of the requested data page generated at the first storage system;
- and
- wherein the requested data page is part of a given portion of a site snapshot of the first storage system that is selected for verification in a given cycle of a cycle-based asynchronous replication process performed over a given time period, the given portion of the site snapshot comprising a percentage of the site snapshot of the first storage system where a size of the percentage of the site snapshot is selected based at least in part on a number of cycles of the cycle-based asynchronous replication process expected to be executed within the given time period.