1. 26 6月, 2023 1 次提交
    • 羽飞's avatar
      增加一些文档 (#200) · f4e52131
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: ref #165 
      ref #174 
      
      Problem:
      一些文档需要优化
      f4e52131
  2. 25 6月, 2023 1 次提交
    • 羽飞's avatar
      Network buffer (#198) · 39042c92
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: close #151 
      
      Problem:
      当前在发送消息到客户端时,每个数据都会刷新socket buffer,效率很低
      
      ### What is changed and how it works?
      实现BufferedWriter,通过buffered
      writer将消息缓存在内存中,结果写完时或者buffer满时,才将结果真正的发送到客户端。
      
      ### Other information
      39042c92
  3. 14 6月, 2023 1 次提交
    • 羽飞's avatar
      Refactor (#195) · 93b79cc6
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: close #173 close #136 
      
      ref #174 
      ref #165 
      
      Problem:
      这个PR修改了多个问题,可以参考各个issue。包括observer编译两次、代码目录规划不合理、command executor未全部实现等
      
      ### What is changed and how it works?
      做一些重构优化,包括CMakelist、一些代码目录、command executor
      93b79cc6
  4. 25 5月, 2023 1 次提交
    • 羽飞's avatar
      简化rc (#184) · 8587eb0f
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: close #149 
      
      Problem:
      RC return code ,定义的东西太多,不太简洁,并且有很多错误码当前没有使用
      
      ### What is changed and how it works?
      仅使用enum RC 定义错误码,删掉其它枚举定义。
      删除当前没有使用的错误码。
      
      ### Other information
      8587eb0f
  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. 28 1月, 2023 1 次提交
  7. 17 10月, 2022 1 次提交
  8. 20 9月, 2022 1 次提交
  9. 12 8月, 2022 1 次提交
  10. 15 4月, 2022 1 次提交
  11. 06 4月, 2022 1 次提交
    • 羽飞's avatar
      重构buffer pool (#33) · 10c78caf
      羽飞 提交于
      重构disk buffer pool:
      新增BufferPoolManager,管理所有的DiskBufferPool;
      原有DiskBufferPool只处理一个文件,取消其中file_id的概念;
      删除BPPageHandle,直接使用Frame;
      BPManager更名BPFrameManager;
      BPFileSubHeader改为BPFileHeader并直接放在DiskBufferPool中
      10c78caf
  12. 02 4月, 2022 2 次提交
  13. 30 3月, 2022 1 次提交
  14. 17 2月, 2022 1 次提交
  15. 16 2月, 2022 1 次提交
  16. 13 2月, 2022 1 次提交
  17. 07 2月, 2022 1 次提交
    • L
      fixed 22, reimplement b+ tree · be6c2b45
      Longda 提交于
      Other improvement
      1. add code format file
      2. add gitignore
      3. add memory pool utility
      4. remove useless file mpool.h, index_manager.cpp/h
      5. rename the interface of disk_buffer_pool basing on the new mem_pool
      6. add some logs in db/table/disk_buffer_pool
      7. add unit test mem_pool_test/log_test/bplus_tree_test
      8. code format all modified files
      9. redefine the interface of table_meta
      10. change log's  full path as file name
      11. add utility function, print_callstack, remove warning of path
      be6c2b45
  18. 15 10月, 2021 1 次提交