IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v14y2022i11p344-d979710.html
   My bibliography  Save this article

Data Synchronization: A Complete Theoretical Solution for Filesystems

Author

Listed:
  • Elod P. Csirmaz

    (Alfréd Rényi Institute of Mathematics, 1053 Budapest, Hungary)

  • Laszlo Csirmaz

    (Alfréd Rényi Institute of Mathematics, 1053 Budapest, Hungary
    Institute of Information Theory and Automation, CZ-182 00 Prague, Czech Republic)

Abstract

Data reconciliation in general, and filesystem synchronization in particular, lacks rigorous theoretical foundation. This paper presents, for the first time, a complete analysis of synchronization for two replicas of a theoretical filesystem. Synchronization has two main stages: identifying the conflicts, and resolving them. All existing (both theoretical and practical) synchronizers are operation-based: they define, using some rationale or heuristics, how conflicts are to be resolved without considering the effect of the resolution on subsequent conflicts. Instead, our approach is declaration-based: we define what constitutes the resolution of all conflicts, and for each possible scenario we prove the existence of sequences of operations/commands which convert the replicas into a common synchronized state. These sequences consist of operations rolling back some local changes, followed by operations performed on the other replica. The set of rolled-back operations provides the user with clear and intuitive information on the proposed changes, so she can easily decide whether to accept them or ask for other alternatives. All possible synchronized states are described by specifying a set of conflicts, a partial order on the conflicts describing the order in which they need to be resolved, as well as the effect of each decision on subsequent conflicts. Using this classification, the outcomes of different conflict resolution policies can be investigated easily.

Suggested Citation

  • Elod P. Csirmaz & Laszlo Csirmaz, 2022. "Data Synchronization: A Complete Theoretical Solution for Filesystems," Future Internet, MDPI, vol. 14(11), pages 1-21, November.
  • Handle: RePEc:gam:jftint:v:14:y:2022:i:11:p:344-:d:979710
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/14/11/344/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/14/11/344/
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Elod P. Csirmaz & Laszlo Csirmaz, 2023. "Synchronizing Many Filesystems in Near Linear Time," Future Internet, MDPI, vol. 15(6), pages 1-26, May.
    2. Davide Tosi, 2023. "Editorial for the Special Issue on “Software Engineering and Data Science”, Volume II," Future Internet, MDPI, vol. 15(9), pages 1-2, September.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:14:y:2022:i:11:p:344-:d:979710. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.