Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

respect deterministic row conversion in integrity hash #6040

Conversation

wanderingbort
Copy link
Contributor

@wanderingbort wanderingbort commented Oct 17, 2018

Change Description

To avoid leaking implementation details into snapshots, we create proxy types for some rows. For instance, if a row contains a foreign key or if a logical table was split to improve runtime performance. Those proxies were not being respected in the integrity hash calculation resulting in non-deterministic hashes. This did not affect the integrity or correctness of snapshots

Additionally, to prevent future issues, this is now routing the integrity hash through the snapshot code. This imposes slightly more runtime overhead but should be more maintainable in the future.

Consensus Changes

none

API Changes

none

Documentation Additions

none

… which meant internal implementation differences were invalidating it for some types of rows
…ncs and reduce code that requires maintenance
@wanderingbort wanderingbort merged commit 28e498d into release/1.4.x Oct 17, 2018
@wanderingbort wanderingbort deleted the feature/respect-deterministic-row-conversion-in-integrity-hash branch October 17, 2018 18:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants