跳到主要导航 跳到搜索 跳到主要内容

How are distributed bugs diagnosed and fixed through system logs?

  • Beihang University
  • The University of Chicago
  • Beijing Advanced Innovation Center for Big Data and Brain Computing

科研成果: 期刊稿件 › 文章 › 同行评审

摘要

Context: Distributed systems are the backbone of today's computing ecosystems. Debugging distributed bugs is crucial and challenging. There are still many unknowns about debugging real-world distributed bugs, especially through system logs. Objective: This paper aims to provide a comprehensive study of how system logs can help diagnose and fix distributed bugs in practice. Method: The study was carried out with three core research questions (RQs): How to identify failures in distributed bugs through logs? How to find and utilize bug-related log entries to figure out the root causes? How are distributed bugs fixed and how are logs and patches related? To answer these questions, we studied 106 real-world distributed bugs randomly sampled from five widely used distributed systems, and manually checked the bug report, the log, the patch, the source code and other related information for each of these bugs. Results: Seven findings are observed and the main findings include: (1) For only about half of the distributed bugs, the failures are indicated by FATAL or ERROR log entries. FATAL are not always fatal, and INFO could be fatal. (2) For more than half of the studied bugs, root-cause diagnosis relies on log entries that are not part of the failure symptoms. (3) One third of the studied bugs are fixed by eliminating end symptoms instead of root causes. Finally, a distributed bug dataset with the in-depth analysis has been released to the research community. Conclusion: The findings in our study reveal the characteristics of distributed bugs, the differences from debugging single-machine system bugs, and the usages and limitations of existing logs. Our study also provides guidance and opportunities for future research on distributed bug diagnosis, fixing, and log analysis and enhancement.

源语言英语
期刊论文编号106234
期刊Information and Software Technology
卷119
DOI
出版状态已出版 - 3月 2020

学术指纹

探究 'How are distributed bugs diagnosed and fixed through system logs?' 的科研主题。它们共同构成独一无二的学术指纹。

引用此