JackyWoo
JackyWoo
As more and more people use servers with the arm64 architecture, supporting the arm64 architecture with SIMD becomes meaningful.
This PR is part of https://github.com/ClickHouse/ClickHouse/issues/55065 Resolves #67742 (see https://github.com/ClickHouse/ClickHouse/pull/67013#issuecomment-2268722942) Additional improvements: - `Uniq`-type statistics supports more data types such as date, string etc. and now it can estimate `equals`...
### Which issues of this PR fixes: This PR try to fix #321 ### Change log: 1. Fail fast for log error 2. Some refactoring
### RaftKeeper version v2.2.0 ### Description see 1.[MacOS ARM64 build error: symbol fdopen is duplicated defined](https://github.com/pocoproject/poco/issues/4586) 2.[MacOS ARM64 build warning: 'OS_CODE' macro redefined ](https://github.com/pocoproject/poco/issues/4585) we need wait poco v1.14 ###...
### RaftKeeper version v2.1.0 ### Description Memory does not reduce after too many write request and creating snapshot. ### How to reproduce 1. Send 10m create request and delete them...
### Description RaftKeeper should create snapshot when shuting down to avoid long time startup. For loading log takes much more time than creating snapshot.
### Which issues of this PR fixes: This PR try to fix #298 ### Change log: Use lock free concurrent queue instead thread safe queue in response handling chain
### Describe your idea We found forwarding request to leader timeout when there are more than 2000 sessions in benchmarking(mixed mode ). Follower will send local sessions to leader periodically...
### Describe your idea Now we use a simple two-level hasmap which may have some disadvantages: 1. Key is hashed twice. 2. Hash function is not specially optimized in RaftKeeper.
### Describe your idea `ConcurrentBoundedQueue` uses `condition_variable` which is slow. We can use a lock-free style concurrent queue.