go back

Volume 15, No. 12

IsoBugView: Interactively Debugging Isolation Bugs in Database Applications

Authors:
Drew Ripberger (The Ohio State University)* Yifan Gan (The Ohio State University) Xueyuan Ren (The Ohio State University) Yang Wang (The Ohio State University) Spyros Blanas (The Ohio State University)

Abstract

Database applications frequently use weaker isolation levels, such as Read Committed, for better performance, which may lead to bugs that do not happen under Serial. Although a number of works have proposed methods to identify such isolation-related bugs, the difficulty of analyzing reported bugs is often underestimated, since these bugs often involve multiple complicated transactions interleaved in a specific order and they often require users' feedback to improve the accuracy of bug analysis. This paper presents IsoBugView, a tool to visualize isolation bugs and incorporate users' feedback: to address the challenge that a complicated bug may include much information and thus is hard to present, IsoBugView displays a high-level overview of the bug first and displays further information of individual pieces if the developer needs further investigation; to incorporate users' feedback, IsoBugView embeds hook functions into the backend analysis tool to preprocess a dependency graph and postprocess a found cycle and further allows a user to apply predefined hook functions in its graphic user interface. Our experience shows that IsoBugView has greatly improved our productivity of analyzing isolation bugs.

PVLDB is part of the VLDB Endowment Inc.

Privacy Policy