JackyWoo

Results 38 issues of JackyWoo

Make socket non-blocking in socket acceptor

I use `SocketReactor` in Poco. And I found that user must do resource management in `UDF Handler` which can be improved by handling it in `SocketReactor`. Resource management means: 1....

This pr try to fix issue #3678 . If the idea is ok I will fix the tests.

**Is your feature request related to a problem? Please describe.** Add stack trace to `Exception` to help user understanding exceptions. When log exception user can get output like Java. **Describe...

feature

This pr try to close #2282

NuRaft version: current latest commit. ``` Logging debug to /var/log/raftkeeper-server/raftkeeper-server.log Logging errors to /var/log/raftkeeper-server/raftkeeper-server.err.log ==8==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x1099d05 in asio::detail::epoll_reactor::run(long, asio::detail::op_queue&) /data1/home/wujianchao/project/jd/raftkeeper/contrib/NuRaft/asio/asio/include/asio/detail/impl/epoll_reactor.ipp:542:9 #1 0x1099f8c in non-virtual thunk to asio::detail::epoll_reactor::run(long,...

In my project thread was stuck by NuRaft auto forwarding RPC connect method. ### How to reproduce? 1.Thread node n1, n2, n3 and let's assume that n3 is leader. 2.Make...

The failed test `test_session/test.py::test_reconnection` is caused by client. When raftkeeper node restared. Client will try to reconnect to server 1. client `192.168.32.1:42492` send update session request with session id 7...

bug
flaky test

### Describe your ideas Add new 4lw command `bdop` to get build options. The following list some usefull options: ``` VERSION: BUILD_TIME: BUILD_TYPE: Release ARCHITECTURE: x86_64 or arm COMPILER: clang-13...

feature

### RaftKeeper version v2.0.4 ### Description We found `RequestAccumulator` thread is disappeared in our production envrioment. ``` grep RequestAccumulator ps.log // got nothing ``` [ps.log](https://github.com/JDRaftKeeper/RaftKeeper/files/14926287/ps.log) ### How to reproduce It...

bug