IsoBugView: Interactively Debugging Isolation Bugs in Database Applications
IsoBugView: Interactively Debugging Isolation Bugs in Database Applications
复制标题
DOI:
10.14778/3554821.3554885
复制
发表时间:
2022-08
期刊:
影响因子:
--
通讯作者:
Drew Ripberger;Yifan Gan;Xueyuan Ren;Spyros Blanas;Yang Wang
中科院分区:
文献类型:
--
作者:
Drew Ripberger;Yifan Gan;Xueyuan Ren;Spyros Blanas;Yang Wang
Database applications frequently use weaker isolation levels, such as Read Committed, for better performance, which may lead to bugs that do not happen under Serializable. 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.