Abstract
In distributed database systems, it is desirable to allow read and write accesses to occur independently on replicated copies of database files in case of network partitions to increase availability. However, the system should detect mutual conflicts among the copies of the database files when sites from different partitions merge to form one partition. We present a timestampbased algorithm for the detection of both write-write and read-write conflicts for a single file in distributed databases when sites from different partitions merge. Our algorithm allows read and write operations to occur in different network partitions simultaneously. When the sites from two different partitions merge, the algorithm detects and resolves both read-write and write-write conflicts with the help of stored timestamps using some additional information. Once the conflicts have been detected, we propose some reconciliation steps for the resolution of conflicts to bring the file into some consistent state. Our algorithm does not take into account the semantics of the transactions while detecting and resolving conflicts. Our algorithm will be useful in real-time systems where timeliness of operations is more important than response time (delayed commit).
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.