| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: introduce expected pattern for error handling in master service (#562) * refactor: introduce expected pattern for error handling in master service - Replace ErrorCode return types with tl::expected<T, ErrorCode> pattern - Improve error handling clarity by separating success values from error codes - Update MasterService methods to return expected<void, ErrorCode> or expected<T, ErrorCode> - Modify RPC service interfaces to support expected pattern - Update all related tests to handle new expected return types - Add necessary includes for ylt/util/expected.hpp This change makes error handling more explicit and type-safe: - Success cases can be accessed via .value() - Error cases can be accessed via .error() - Eliminates ambiguity between success and error states Future work: - Extend expected pattern to RPC response types - Enhance error code system for more comprehensive error handling * Refactor error handling to use expected<T,E> pattern instead of ErrorCode - Updated MasterService methods to replace ylt::expected with tl::expected for better error handling. - Modified BatchGetReplicaList, BatchPutStart, BatchPutEnd, and other methods to return tl::expected types. - Enhanced ClientIntegrationTest to handle expected results from Put, Get, Remove, and other operations using tl::expected. - Adjusted error handling in clientctl and master_metrics_test to utilize the new expected type. - Improved overall error reporting in tests to provide clearer feedback on operation failures. * fix test compile * refactor: update client implementation and remove master.proto - Enhanced client.h and client.cpp with new functionality - Removed obsolete master.proto file - Updated master_client.cpp and transfer_task.cpp - Improved integration and stress tests * fix: update Python integration to work with new batch API - Replace BatchObjectInfo with vector<vector<Replica::Descriptor>> - Update BatchPut to handle new return type vector<tl::expected<void, ErrorCode>> - Fix BatchQuery API usage to work with new expected pattern - Convert unordered_map to vector format for BatchPut parameter compatibility * refine master log and metric * fix(ci): should alloc first * merge main * fix tests | 1 年前 | |
code format & enable code format checking in ci (#677) Signed-off-by: doujiang24 <doujiang24@gmail.com> | 11 个月前 | |
fix(store): add mutex locks for thread-safe metrics retrieval (#804) * fix(store): add mutex locks for thread-safe metrics retrieval and comparisons * refactor(get_metrics_internal): require caller to hold m_mutex instead of internal locking | 10 个月前 | |
refactor: introduce expected pattern for error handling in master service (#562) * refactor: introduce expected pattern for error handling in master service - Replace ErrorCode return types with tl::expected<T, ErrorCode> pattern - Improve error handling clarity by separating success values from error codes - Update MasterService methods to return expected<void, ErrorCode> or expected<T, ErrorCode> - Modify RPC service interfaces to support expected pattern - Update all related tests to handle new expected return types - Add necessary includes for ylt/util/expected.hpp This change makes error handling more explicit and type-safe: - Success cases can be accessed via .value() - Error cases can be accessed via .error() - Eliminates ambiguity between success and error states Future work: - Extend expected pattern to RPC response types - Enhance error code system for more comprehensive error handling * Refactor error handling to use expected<T,E> pattern instead of ErrorCode - Updated MasterService methods to replace ylt::expected with tl::expected for better error handling. - Modified BatchGetReplicaList, BatchPutStart, BatchPutEnd, and other methods to return tl::expected types. - Enhanced ClientIntegrationTest to handle expected results from Put, Get, Remove, and other operations using tl::expected. - Adjusted error handling in clientctl and master_metrics_test to utilize the new expected type. - Improved overall error reporting in tests to provide clearer feedback on operation failures. * fix test compile * refactor: update client implementation and remove master.proto - Enhanced client.h and client.cpp with new functionality - Removed obsolete master.proto file - Updated master_client.cpp and transfer_task.cpp - Improved integration and stress tests * fix: update Python integration to work with new batch API - Replace BatchObjectInfo with vector<vector<Replica::Descriptor>> - Update BatchPut to handle new return type vector<tl::expected<void, ErrorCode>> - Fix BatchQuery API usage to work with new expected pattern - Convert unordered_map to vector format for BatchPut parameter compatibility * refine master log and metric * fix(ci): should alloc first * merge main * fix tests | 1 年前 | |
[Store] Change log level for batch operation (#916) * [Store] change log level for batch put/get * fix format * updatte * Update error log ouput condition * Format code * Add more clear info for no available handle case * Remove redundant error messages * Format the code --------- Co-authored-by: Ke Yang <oneday117@qq.com> | 8 个月前 | |
refactor(store): Remove BufStatus and segment_name for AllocatedBuffer (#883) * Refactor(store): Remove BufStatus and segment_name for AllocatedBuffer - Removed BufStatus enum and related functionality from AllocatedBuffer. - Updated AllocatedBuffer constructor to eliminate segment_name parameter. - Enhanced getSegmentName method to retrieve segment name from the allocator. - Adjusted logging and tests to reflect changes in buffer status handling. * fix fmt * update comment | 9 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 | |
add ascend direct transport to mooncake store (#835) Co-authored-by: youxiao <youxiao@huawei.com> | 9 个月前 | |
feat(client): Add client-side metrics for transfer and RPC operations (#733) * feat(client): Add RPC operation and tansfer metrics tracking * feat(client): Add client-side metrics for transfer and RPC operations This commit introduces a comprehensive metrics system for the client component, tracking transfer byte counts and operation latencies with both human-readable summaries and Prometheus-style serialization. Key features include: - New TransferMetric for tracking read/write bytes and latency histograms - MasterClientMetric for RPC call counting and latency tracking - Environment-controlled metrics reporting (MC_STORE_METRIC_REPORT) - Automatic periodic metrics collection thread - Enhanced test coverage for metrics validation - Unified metrics interface across all client operations The implementation provides detailed latency percentiles (P50/P95) and total byte tracking with automatic unit conversion (B/KB/MB/GB). * fix test * Update mooncake-store/src/client.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update mooncake-store/src/client.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update mooncake-store/src/client.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix format issue * refactor(client): make client metrics optional using ClientMetric class * fix lint --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> | 10 个月前 | |
[Store] Refine Complicated Constructor Parameters (#748) | 10 个月前 | |
Skip etcd go package compilation in default. | 1 年前 | |
code format & enable code format checking in ci (#677) Signed-off-by: doujiang24 <doujiang24@gmail.com> | 11 个月前 | |
code format & enable code format checking in ci (#677) Signed-off-by: doujiang24 <doujiang24@gmail.com> | 11 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 | |
[Store] add c++ http metadata server in mooncake master (#766) * [Store] config: start http server from master Signed-off-by: Teng Ma <sima.mt@alibaba-inc.com> * [Refactor] Use coro http server for metadata * fix cmake * fix merge * add doc and test * clear --------- Signed-off-by: Teng Ma <sima.mt@alibaba-inc.com> | 10 个月前 | |
fix: code check fix | 7 个月前 | |
[Store] Check If Get Operation Completed Within Lease (#778) | 9 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 | |
[Store] Add APIs: batch_put_from_multi_buffers and batch_get_into_multi_buffers (#929) Co-authored-by: youxiao <youxiao@huawei.com> | 8 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 | |
refactor: introduce expected pattern for error handling in master service (#562) * refactor: introduce expected pattern for error handling in master service - Replace ErrorCode return types with tl::expected<T, ErrorCode> pattern - Improve error handling clarity by separating success values from error codes - Update MasterService methods to return expected<void, ErrorCode> or expected<T, ErrorCode> - Modify RPC service interfaces to support expected pattern - Update all related tests to handle new expected return types - Add necessary includes for ylt/util/expected.hpp This change makes error handling more explicit and type-safe: - Success cases can be accessed via .value() - Error cases can be accessed via .error() - Eliminates ambiguity between success and error states Future work: - Extend expected pattern to RPC response types - Enhance error code system for more comprehensive error handling * Refactor error handling to use expected<T,E> pattern instead of ErrorCode - Updated MasterService methods to replace ylt::expected with tl::expected for better error handling. - Modified BatchGetReplicaList, BatchPutStart, BatchPutEnd, and other methods to return tl::expected types. - Enhanced ClientIntegrationTest to handle expected results from Put, Get, Remove, and other operations using tl::expected. - Adjusted error handling in clientctl and master_metrics_test to utilize the new expected type. - Improved overall error reporting in tests to provide clearer feedback on operation failures. * fix test compile * refactor: update client implementation and remove master.proto - Enhanced client.h and client.cpp with new functionality - Removed obsolete master.proto file - Updated master_client.cpp and transfer_task.cpp - Improved integration and stress tests * fix: update Python integration to work with new batch API - Replace BatchObjectInfo with vector<vector<Replica::Descriptor>> - Update BatchPut to handle new return type vector<tl::expected<void, ErrorCode>> - Fix BatchQuery API usage to work with new expected pattern - Convert unordered_map to vector format for BatchPut parameter compatibility * refine master log and metric * fix(ci): should alloc first * merge main * fix tests | 1 年前 | |
fix(store): Check if Connecting Master Fails (#886) | 9 个月前 | |
[Store] Check If Get Operation Completed Within Lease (#778) | 9 个月前 | |
code format & enable code format checking in ci (#677) Signed-off-by: doujiang24 <doujiang24@gmail.com> | 11 个月前 | |
[Store] Serialize/Deserialize Offset Allocator (#760) Also add generic interfaces to serialize/deserialize other objects. | 10 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 | |
code format & enable code format checking in ci (#677) Signed-off-by: doujiang24 <doujiang24@gmail.com> | 11 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 | |
revert: rollback v0.3.7-dev to 39bbe9c This commit reverts upstream/v0.3.7-dev back to 39bbe9cc10663f437f8b3a4487013e80f08ee2ba. | 5 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 11 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 9 个月前 | ||
| 5 个月前 | ||
| 9 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 5 个月前 | ||
| 10 个月前 | ||
| 7 个月前 | ||
| 9 个月前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 8 个月前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 11 个月前 | ||
| 10 个月前 | ||
| 5 个月前 | ||
| 11 个月前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 5 个月前 |