Institute of Information Theory and Automation

You are here


Journal Article

Algebra of data reconciliation

Csirmaz E. P., Csirmaz Laszlo

: Studia Scientiarum Mathematicarum Hungarica vol.59, p. 209-231

: GA19-04579S, GA ČR

: file synchronization, algebraic model, confluence, rewriting system

: 10.1556/012.2022.01529



(eng): With distributed computing and mobile applications becoming ever more prevalent, synchronizing diverging replicas of the same data is a common problem. Reconciliation – bringing two replicas of the same data structure as close as possible without overriding local changes – is investigated in an algebraic model. Our approach is to consider two sequences of simple commands that describe the changes in the replicas compared to the original structure, and then determine the maximal subsequences of each that can be propagated to the other. The proposed command set is shown to be functionally complete, and an update detection algorithm is presented which produces a command sequence transforming the original data structure into the replica while traversing both simultaneously. Syntactical characterization is provided in terms of a rewriting system for semantically equivalent command sequences. Algebraic properties of sequence pairs that are applicable to the same data structure are investigated. Based on these results the reconciliation problem is shown to have a unique maximal solution. In addition, syntactical properties of the maximal solution allow\nfor an efficient algorithm that produces it.

: BA

: 10101

2019-01-07 08:39