1. 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
  2. 25 8月, 2022 1 次提交
  3. 24 6月, 2022 1 次提交
  4. 21 6月, 2022 1 次提交
  5. 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