0491437a86
[Opt](scanner-scheduler) Optimize BlockingQueue, BlockingPriorityQueue and change remote scan thread pool. ( #26784 )
...
## Proposed changes
- Optimize `BlockingQueue`, `BlockingPriorityQueue` by swapping `notify` and `unlock` to reduce lock competition. Ref: https://www.boost.org/doc/libs/1_54_0/boost/thread/sync_bounded_queue.hpp
- Change remote scan thread pool to `PriorityQueue`.
### Test result
Before:
```
mysql> select sum(lo_partkey) from lineorder;
+-----------------+
| sum(lo_partkey) |
+-----------------+
| 300021444265405 |
+-----------------+
1 row in set (1.11 sec)
```
After:
```
mysql> select sum(lo_partkey) from lineorder;
+-----------------+
| sum(lo_partkey) |
+-----------------+
| 300021444265405 |
+-----------------+
1 row in set (0.80 sec)
```
2023-11-15 18:24:36 +08:00
7839a0e708
[Bug](brpc) fix brpc failed on big query came concurrently ( #22600 )
...
fix PriorityThreadPool get_info get wrong number
change brpc pool from priority to fifo
do not use brpc pool when send eos
2023-08-05 21:24:32 +08:00
be9385d40a
[improvement](lock raii) use raii to lock and unlock ( #16652 )
...
* [improvement](lock raii) use raii to lock and unlock
This is part of exception safe: #16366 .
---------
Co-authored-by: yiguolei <yiguolei@gmail.com >
2023-02-13 14:06:36 +08:00
95591ce49a
[refactor](cv)wait on condition variable more gently ( #12620 )
2022-11-08 08:40:31 +08:00
718a51a388
[refactor][style] Use clang-format to sort includes ( #9483 )
2022-05-10 21:25:35 +08:00
e61d296486
[Refactor] Replace '#ifndef' with '#pragma once' ( #9456 )
...
* Replace '#ifndef' with '#pragma once'
2022-05-10 09:25:59 +08:00
c9961c9bb9
[style] clang-format all c++ code ( #9305 )
...
- sh build-support/clang-format.sh to clang-format all c++ code
2022-04-29 16:14:22 +08:00
869fdff2f0
[refactor] add reference path for source file from impala ( #9115 )
...
According to the requirements of the APLv2, the referenced code needs to be marked with the path of the source code.
2022-04-20 12:29:57 +08:00
9a2ad18428
Add path info of replica in catalog ( #327 )
...
Add path info of replica in catalog
Also fix a bug that when calling check_none_row_oriented_table,
store is null, it cannot be used to create table.
Instead, OLAPHeader can be used to get storage type information.
2018-11-19 17:42:46 +08:00
37b4cafe87
Change variable and namespace name in BE ( #268 )
...
Change 'palo' to 'doris'
2018-11-02 10:22:32 +08:00
2868793b6b
Change license to Apache License 2.0 ( #262 )
2018-11-01 09:06:01 +08:00
e2311f656e
baidu palo
2017-08-11 17:51:21 +08:00