This is an automated email from the ASF dual-hosted git repository.
junchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git
The following commit(s) were added to refs/heads/master by this push:
new 3550e4fa Update response_manager.h
3550e4fa is described below
commit 3550e4fad94f67dfde7ac55e469e9547e32437e5
Author: cjcchen <[email protected]>
AuthorDate: Wed May 14 13:42:16 2025 +0800
Update response_manager.h
---
platform/consensus/ordering/pbft/response_manager.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/platform/consensus/ordering/pbft/response_manager.h
b/platform/consensus/ordering/pbft/response_manager.h
index 36412eaf..2972171e 100644
--- a/platform/consensus/ordering/pbft/response_manager.h
+++ b/platform/consensus/ordering/pbft/response_manager.h
@@ -90,7 +90,7 @@ class ResponseManager {
LockFreeQueue<QueueItem> batch_queue_;
std::thread user_req_thread_;
std::atomic<bool> stop_;
- uint64_t local_id_ = 0;
+ std::atomic<uint64_t> local_id_;
Stats* global_stats_;
SystemInfo* system_info_;
std::atomic<int> send_num_;