Lune

ISSTA2022顶会

Finding bugs in Gremlin-based graph database systems via Randomized differential testing

Yingying Zheng, Wensheng Dou, Yicheng Wang, Zheng Qin, Lei Tang, Yu Gao, Dong Wang, Wei Wang, Jun Wei

摘要

Graph database systems (GDBs) allow efficiently storing and retrieving graph data, and have become the critical component in many applications, e.g., knowledge graphs, social networks, and fraud detection. It is important to ensure that GDBs operate correctly. Logic bugs can occur and make GDBs return an incorrect result for a given query. These bugs are critical and can easily go unnoticed by developers when the graph and queries become complicated. Despite the importance of GDBs, logic bugs in GDBs have received less attention than those in relational database systems. In this paper, we present Grand, an approach for automatically finding logic bugs in GDBs that adopt Gremlin as their query language. The core idea of Grand is to construct semantically equivalent databases for multiple GDBs, and then compare the results of a Gremlin query on these databases. If the return results of a query on multiple GDBs are different, the likely cause is a logic bug in these GDBs. To effectively test GDBs, we propose a model-based query generation approach to generate valid Gremlin queries that can potentially return non-empty results, and a data mapping approach to unify the format of query results for different GDBs. We evaluate Grand on six widely-used GDBs, e.g., Neo4j and HugeGraph. In CAS is the abbreviation of Chinese Academy of Sciences. ISCAS is the abbreviation of Institute of Software, Chinese Academy of Sciences.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 25 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Detecting Transactional Bugs in Database Engines via Graph-Based Oracle Construction 引用了 Finding bugs in database systems via query partitioning
  • Detecting Transactional Bugs in Database Engines via Graph-Based Oracle Construction 引用了 Detecting optimization bugs in database engines via non-optimizing reference engine construction
  • Detecting Transactional Bugs in Database Engines via Graph-Based Oracle Construction 引用了 APOLLO: Automatic Detection and Diagnosis of Performance Regressions in Database Systems
  • Detecting Transactional Bugs in Database Engines via Graph-Based Oracle Construction 引用了 Testing Database Engines via Pivoted Query Synthesis
  • GDsmith: Detecting Bugs in Cypher Graph Database Engines 引用了 Finding bugs in database systems via query partitioning
  • GDsmith: Detecting Bugs in Cypher Graph Database Engines 引用了 Detecting optimization bugs in database engines via non-optimizing reference engine construction
  • GDsmith: Detecting Bugs in Cypher Graph Database Engines 引用了 Testing Database Engines via Pivoted Query Synthesis
  • Finding bugs in database systems via query partitioning 引用了 Detecting optimization bugs in database engines via non-optimizing reference engine construction
  • Finding bugs in database systems via query partitioning 引用了 APOLLO: Automatic Detection and Diagnosis of Performance Regressions in Database Systems
  • Finding bugs in database systems via query partitioning 引用了 Testing Database Engines via Pivoted Query Synthesis
  • Testing Database Systems via Differential Query Execution 引用了 GDsmith: Detecting Bugs in Cypher Graph Database Engines
  • Testing Database Systems via Differential Query Execution 引用了 Finding bugs in database systems via query partitioning
  • Testing Database Systems via Differential Query Execution 引用了 APOLLO: Automatic Detection and Diagnosis of Performance Regressions in Database Systems
  • Testing Database Systems via Differential Query Execution 引用了 Testing Database Engines via Pivoted Query Synthesis
  • Testing Database Systems via Differential Query Execution 引用了 Testing Graph Database Engines via Query Partitioning
  • Detecting optimization bugs in database engines via non-optimizing reference engine construction 引用了 APOLLO: Automatic Detection and Diagnosis of Performance Regressions in Database Systems
  • Detecting optimization bugs in database engines via non-optimizing reference engine construction 引用了 Testing Database Engines via Pivoted Query Synthesis
  • Testing Graph Database Systems via Graph-Aware Metamorphic Relations 引用了 GDsmith: Detecting Bugs in Cypher Graph Database Engines
  • Testing Graph Database Systems via Graph-Aware Metamorphic Relations 引用了 Finding bugs in database systems via query partitioning
  • Testing Graph Database Systems via Graph-Aware Metamorphic Relations 引用了 Detecting optimization bugs in database engines via non-optimizing reference engine construction
  • Testing Graph Database Systems via Graph-Aware Metamorphic Relations 引用了 APOLLO: Automatic Detection and Diagnosis of Performance Regressions in Database Systems
  • Testing Graph Database Systems via Graph-Aware Metamorphic Relations 引用了 Testing Graph Database Engines via Query Partitioning
  • Metamorphic testing of Datalog engines 引用了 Finding bugs in database systems via query partitioning
  • Metamorphic testing of Datalog engines 引用了 Detecting optimization bugs in database engines via non-optimizing reference engine construction
  • Metamorphic testing of Datalog engines 引用了 APOLLO: Automatic Detection and Diagnosis of Performance Regressions in Database Systems
  • Metamorphic testing of Datalog engines 引用了 Testing Database Engines via Pivoted Query Synthesis
  • Testing Graph Database Engines via Query Partitioning 引用了 Finding bugs in database systems via query partitioning
  • Testing Graph Database Engines via Query Partitioning 引用了 Detecting optimization bugs in database engines via non-optimizing reference engine construction
  • Testing Graph Database Engines via Query Partitioning 引用了 APOLLO: Automatic Detection and Diagnosis of Performance Regressions in Database Systems
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper25

  1. Testing Graph Database Engines via Query PartitioningMatteo Kamm, Manuel Rigger, Chengyu Zhang, Zhendong SuISSTA 2023 · 29 次引用
  2. Detecting Transactional Bugs in Database Engines via Graph-Based Oracle ConstructionZu-Ming Jiang, Si Liu, Manuel Rigger, Zhendong SuOSDI 2023 · 28 次引用
  3. Testing Database Systems via Differential Query ExecutionJiansen Song, Wensheng Dou, Ziyu Cui, Qianwang Dai 等ICSE 2023 · 26 次引用
  4. GDsmith: Detecting Bugs in Cypher Graph Database EnginesZiyue Hua, Wei Lin, Luyao Ren, Zongyang Li 等ISSTA 2023 · 24 次引用
  5. Testing Graph Database Systems via Graph-Aware Metamorphic RelationsZeyang Zhuang, Penghui Li, Pingchuan Ma, Wei Meng 等VLDB 2024 · 23 次引用

它引用的 Paper5

  1. Testing Database Engines via Pivoted Query SynthesisManuel Rigger, Zhendong SuOSDI 2020 · 150 次引用
  2. Finding bugs in database systems via query partitioningManuel Rigger, Zhendong SuOOPSLA 2020 · 116 次引用
  3. Detecting optimization bugs in database engines via non-optimizing reference engine constructionManuel Rigger, Zhendong SuFSE 2020 · 104 次引用
  4. APOLLO: Automatic Detection and Diagnosis of Performance Regressions in Database SystemsJinho Jung, Hong Hu, Joy Arulraj, Taesoo Kim 等VLDB 2020 · 77 次引用
  5. Metamorphic testing of Datalog enginesMuhammad Numair Mansur, Maria Christakis, Valentin WüstholzFSE 2021 · 25 次引用

相关 Paper

  1. Testing Gremlin-Based Graph Database Systems via Query DisassemblingYingying Zheng, Wensheng Dou, Lei Tang, Ziyu Cui 等ISSTA 2024 · 6 次引用
  2. Testing Graph Databases with Synthesized QueriesZijing Yin, Si Liu, David A. BasinSIGMOD 2026 · 2 次引用
  3. Detecting Logic Bugs in Graph Database Management Systems via Injective and Surjective Graph Query TransformationYuancheng Jiang, Jiahao Liu, Jinsheng Ba, Roland H. C. Yap 等ICSE 2024 · 14 次引用
  4. Finding Logic Bugs in Graph-processing Systems via Graph-cuttingQiuyang Mang, Jinsheng Ba, Pinjia He, Manuel RiggerSIGMOD 2025 · 4 次引用
  5. Testing Graph Database Systems via Equivalent Query RewritingQiuyang Mang, Aoyang Fang, Boxi Yu, Hanfei Chen 等ICSE 2024 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖