You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-06 08:49:29 +02:00
Use xxHash instead of SHA-1 for block incremental checksums.
xxHash is significantly faster than SHA-1 so this helps reduce the overhead of the feature. A variable number of bytes are used from the xxHash depending on the block size with a minimum of six bytes for the smallest block size. This keeps the maps smaller while still providing enough bits to detect block changes.
This commit is contained in:
@@ -2020,6 +2020,8 @@ sub restoreCompare
|
||||
delete($oExpectedManifestRef->{&MANIFEST_SECTION_TARGET_FILE}{$strName}{"bno"});
|
||||
$oActualManifest->remove(MANIFEST_SECTION_TARGET_FILE, $strName, "bi");
|
||||
delete($oExpectedManifestRef->{&MANIFEST_SECTION_TARGET_FILE}{$strName}{"bi"});
|
||||
$oActualManifest->remove(MANIFEST_SECTION_TARGET_FILE, $strName, "bic");
|
||||
delete($oExpectedManifestRef->{&MANIFEST_SECTION_TARGET_FILE}{$strName}{"bic"});
|
||||
$oActualManifest->remove(MANIFEST_SECTION_TARGET_FILE, $strName, "bim");
|
||||
delete($oExpectedManifestRef->{&MANIFEST_SECTION_TARGET_FILE}{$strName}{"bim"});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user