1. 11 7月, 2023 1 次提交
    • 羽飞's avatar
      Sysbench (#206) · 8ac5c42c
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: close #178 
      
      Problem:
      sysbench is a powerful concurrency test tool and we should use it to
      test our program.
      
      ### What is changed and how it works?
      I create two sysbench lua scripts and a github workflow.
      
      ### Other information
      8ac5c42c
  2. 26 6月, 2023 1 次提交
    • 羽飞's avatar
      observer可以直接在控制台输入命令 (#199) · 380fea38
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: close #162 
      
      Problem:
      当前的observer启动流程和调试方法比较繁琐,必须使用客户端服务端的方式,先启动服务端程序,再使用客户端启动调试
      
      ### What is changed and how it works?
      observer可以直接启动,不监听tcp或unix socket,直接通过终端/控制台输入命令并执行,极大的方便了调试
      
      ### Other information
      新的启动方法:
      ./bin/observer -P cli -f ../etc/observer.ini
      380fea38
  3. 15 5月, 2023 2 次提交
    • 羽飞's avatar
      Python test (#179) · 99eece10
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: close #169 
      
      Problem:
      python测试脚本启动过于复杂;
      没有利用python的case测试功能
      
      ### What is changed and how it works?
      删减掉大部分python测试脚本的参数;
      把basic测试用例增加到github action中
      
      ### Other information
      99eece10
    • 羽飞's avatar
      fix unittest (#9) (#177) · 5017ced9
      羽飞 提交于
      fix unittest;
      add unittest to github action
      
      ### What problem were solved in this pull request?
      
      Issue Number: close #176 close #163 
      
      Problem:
      单元测试执行失败;
      github action 没有单元测试检查
      5017ced9
  4. 05 5月, 2023 1 次提交
  5. 29 3月, 2023 1 次提交
    • 羽飞's avatar
      thread-safe buffer pool and btree supported (#145) · 31fa2558
      羽飞 提交于
      Fix problem:
      1. the buffer pool and b tree is not thread safe;
      2. github/workflow/build does not work
      
      ### What is changed and how it works?
      1. thread-safe buffer pool
      - I use a mutex in buffer pool and take a lock in buffer pool operations
      such as allocate frame, dispose frame;
      - The frame is locked while updating/reading the content of frame;
      - Frame manager take a lock when allocate/free pages.
      
      2. thread-safe b+tree
      - Crabing protocol is used to support concurrent
      
      3. github/workflow/build
      - update the submodules;
      - create a build script and run build.sh in build.yaml
      31fa2558
  6. 20 10月, 2022 12 次提交