Checking Transaction Isolation Violations with Graph Queries

Published in The 17th International Conference on Graph Transformation (ICGT) 2024, 2024

Recommended citation: Stefania Dumbrava, Zhao Jin, Burcu Kulahcioglu Ozkan, Jingxuan Qiu. "Checking Transaction Isolation Violations with Graph Queries." Proceedings of the 17th International Conference on Graph Transformation, {ICGT} 2024, Held as Part of {STAF} 2024, Enschede, The Netherlands, July 10-11, 2024,

Abstract.

Distributed databases provide different transaction isolation levels for higher performance and fault tolerance. However, implementing isolation models is challenging, and database systems can produce executions that violate their isolation guarantees. In this work, we propose GRAIL, a new approach that uses graph databases and queries to detect isolation violations expressed as anti-patterns in transactional dependency graphs. We implement the approach on top of the popular ArangoDB and Neo4j graph databases and show its efficiency through an experimental analysis of real executions of ArangoDB as a system under test.