文件历史

11 次代码提交

作者 SHA1 备注 提交日期
Captain32 22fca04564 [Fix] Ensure ChainTable's version is monotonically increasing (#413)
Build / build (push) Has been cancelled
2026-05-07 17:31:53 +08:00
qieqieplus b32f5e8d49 Fix SimpleRingBuffer issues (#383)
* Refactor SimpleRingBuffer

- Use std::allocator for memory management
- Add destructor to properly destroy elements and prevent memory leaks
- Remove incorrect modulo in iterator increment
- Fix iterator post-increment operator returning reference
- Use constraints (std::constructible_from) for push/emplace
- Add size() and clear() methods

* tests: fix build and avoid NodeInfoWrapper copy

The copy constructor for SimpleRingBuffer is explicitly disabled in
src/common/utils/SimpleRingBuffer.h. Since NodeInfoWrapper contains
a SimpleRingBuffer, it is also non-copyable.

This commit optimizes the MgmtdOperator tests to use pointers instead
of object copies when retrieving NodeInfoWrapper, avoiding build
failures caused by dereferencing and copying.
2026-01-20 13:15:43 +08:00
Yiyuan Liu bbb1e1ee04 Implement deterministic shuffle with configurable g++/libstdc++ compatibility. (#369) 2025-12-26 14:11:59 +08:00
SF-Zhou 513453ccec fix serialization for Varint64 (#330) 2025-08-26 15:25:20 +08:00
Yiyuan Liu f9a4291e69 fix stripe size in run.sh (#188) 2025-03-18 08:51:58 +08:00
Yiyuan Liu 0a4929718c reduce memory usage for single node test config (#180) 2025-03-17 15:59:11 +08:00
Yiyuan Liu 3c100b90ce fix run.sh, support set a test filesystem with single node (#161) 2025-03-13 11:49:43 +08:00
Symious 3b273a6de2 Deprecate usage of some functions in boost (#130)
* Deprecate usage of boost::filesystem::load_string_file and save_string_file

* some other deperated functions

* remove complete()

* normal, save, load
2025-03-08 21:03:15 +08:00
胡玮文 34612f3b4f explicit down cast (#46)
Newer clang does not allow down cast with brace initialization. Replace them with C-style cast.
2025-03-03 08:44:22 +08:00
胡玮文 309a258ac2 add missing headers for new toolchain (#41)
These are necessary for compiling with Ubuntu 24.04 default toolchain/boost.
2025-03-03 07:57:02 +08:00
dev 815e55e4c0 Initial commit 2025-02-27 21:53:53 +08:00