Alexander Tokmakov
004517009e
fix
2021-01-29 18:13:27 +03:00
Anton Popov
031132038b
fix filtering by uint8 greater than 127
2021-01-29 10:39:18 +03:00
Alexey Milovidov
1e2669fd3c
Fix error
2021-01-29 07:54:46 +03:00
tavplubix
37455304e7
Update FieldVisitorsAccurateComparison.h
2021-01-28 18:51:01 +03:00
tavplubix
817df99d11
Update FieldVisitorsAccurateComparison.h
2021-01-28 18:29:21 +03:00
Alexander Tokmakov
ffaa8e34a6
minor code improvements around ThreadStatus
2021-01-28 16:57:36 +03:00
Alexander Tokmakov
52e5c0aad7
fix thread status
2021-01-28 16:48:17 +03:00
alesapin
c3db529543
Merge branch 'master' into in_memory_raft
2021-01-28 12:01:54 +03:00
Alexey Milovidov
355c99568e
Fix error
2021-01-28 10:16:36 +03:00
Alexey Milovidov
95e15131a8
Fix unsufficient args check (trash code) in StringSearcher
2021-01-27 20:32:59 +03:00
alesapin
7af28e758a
Process read requests without raft
2021-01-27 16:37:58 +03:00
alesapin
241d3ec8c2
Merge with master
2021-01-27 15:40:16 +03:00
alesapin
dd54e5afe8
Merge branch 'master' into in_memory_raft
2021-01-27 15:32:16 +03:00
alexey-milovidov
c3828a1fb2
Merge pull request #19660 from CurtizJ/sync-directory
...
Better abstractions in disk interface
2021-01-27 13:47:53 +03:00
Maksim Kita
bd81f43ecb
Merge pull request #19672 from ClickHouse/bigint-remove-old-code
...
Remove old code for BigInt.
2021-01-27 11:28:45 +03:00
Alexey Milovidov
f3929b151a
Remove even more code
2021-01-26 22:04:03 +03:00
Alexey Milovidov
5f13fdddc0
Remove useless code from BigInt
2021-01-26 21:22:40 +03:00
Anton Popov
c7070da85a
better abstractions in disk interface
2021-01-26 17:49:35 +03:00
alesapin
0ff05d2403
Fix deadlock in testkeeper
2021-01-26 17:30:29 +03:00
alesapin
dea4b5009b
Some server initialization
2021-01-25 15:29:12 +03:00
Alexander Tokmakov
3bd4d97353
Merge branch 'master' into database_replicated
2021-01-25 14:19:04 +03:00
alesapin
173b6fefdf
Merge branch 'master' into in_memory_raft
2021-01-25 12:03:28 +03:00
alexey-milovidov
ba3e064a63
Merge pull request #19371 from kssenii/test-coverage-with-factories
...
test coverage with factories
2021-01-25 07:11:09 +03:00
alexey-milovidov
636d4c41bb
Merge pull request #19520 from amosbird/fixbuildid
...
Support new .debug location
2021-01-24 20:06:13 +03:00
Amos Bird
366c75ed29
Ensure buildid length
2021-01-24 10:28:43 +08:00
Amos Bird
554663a533
Support new .debug location
2021-01-24 03:03:54 +08:00
alexey-milovidov
9818bd319a
Merge pull request #19381 from azat/parts-types-metrics
...
Add metrics for MergeTree parts (Wide/Compact/InMemory) types
2021-01-22 17:24:50 +03:00
alesapin
4a06bf1d79
Merge branch 'fix_one_more_tiny_race' into in_memory_raft
2021-01-22 15:56:43 +03:00
Alexey Milovidov
dcd03eb155
Remove useless file
2021-01-22 00:57:00 +03:00
alesapin
5037d3befd
Merge pull request #19355 from ClickHouse/fix_race_test_keeper
...
Fix race condition in TestKeeperHandler on session finish
2021-01-21 23:53:18 +03:00
Azat Khuzhin
cb951c2116
Add metrics for MergeTree parts types
...
- PartsWide
- PartsCompact
- PartsInMemory
2021-01-21 21:17:00 +03:00
kssenii
c1702f34ee
Add factories info into system.query_log
2021-01-21 15:46:37 +00:00
alexey-milovidov
062f00aa5d
Merge pull request #19290 from azat/dist-broken-on-EOF-fix
...
Do not mark file for distributed send as broken on EOF
2021-01-21 17:00:36 +03:00
alesapin
7f32926a21
Fix race condition in TestKeeperHandler on session finish
2021-01-21 14:37:20 +03:00
alesapin
f7175819d5
Add storage simpliest serialization
2021-01-21 14:07:55 +03:00
Ivan
0cbbb84f24
Add missing header
2021-01-21 02:20:11 +03:00
Ivan Lezhankin
2129dc13f6
Fix style and build
2021-01-20 20:44:18 +03:00
alesapin
d5a3adffbd
Replicate something in test keeper storage with raft
2021-01-20 19:25:30 +03:00
Ivan Lezhankin
2bb28fbc14
Print inline frames augmenting usual ones
2021-01-20 17:05:25 +03:00
alesapin
a241793a14
Merge branch 'decompose_test_keeper_storage' into in_memory_raft
2021-01-20 15:51:54 +03:00
Azat Khuzhin
e4350e078c
Add ability to distinguish remote exceptions from local
2021-01-20 01:10:17 +03:00
Pavel Kruglov
97b5179e55
Implement HedgedRequests
2021-01-19 22:41:05 +03:00
alesapin
8cdfbd996b
Fix header
2021-01-19 18:51:52 +03:00
alesapin
7e71a5b1b0
Fix new lines
2021-01-19 18:25:08 +03:00
alesapin
0ee5629527
Fix style
2021-01-19 18:10:49 +03:00
alesapin
ace6d906b0
Fix normal close scenario
2021-01-19 17:45:45 +03:00
alesapin
ac64a13392
Split storage and requests processing
2021-01-19 17:22:28 +03:00
Ivan Lezhankin
3fb50dfa1b
Initial implementation of inline frames
2021-01-19 15:34:27 +03:00
alesapin
6883143994
Merge branch 'master' into in_memory_raft
2021-01-19 10:27:21 +03:00
alesapin
6896558424
Some code movements
2021-01-18 19:03:26 +03:00
Alexander Tokmakov
7f97a11c84
Merge branch 'master' into database_replicated
2021-01-18 17:09:39 +03:00
Alexey Milovidov
e482c5ea15
Fix TSan
2021-01-17 15:40:14 +03:00
Alexey Milovidov
950bfb3ec6
Allow change max_server_memory_usage without restart
2021-01-16 18:33:46 +03:00
alexey-milovidov
bf86d3bab8
Merge pull request #19153 from azat/async_socket_for_remote-fix-fd-leak
...
Fix leaking of pipe fd for async_socket_for_remote
2021-01-16 11:23:55 +03:00
alexey-milovidov
2e2988e5d8
Merge pull request #19146 from azat/server-memory-limit-blocking
...
MemoryTracker: Do not ignore server memory limits during blocking by default
2021-01-16 11:09:19 +03:00
Azat Khuzhin
cf085b0687
Split RemoteQueryExecutorReadContext into module part
2021-01-16 01:57:36 +03:00
alexey-milovidov
5f189c5756
Merge pull request #19122 from ClickHouse/data-part-better-code
...
Add metrics for part number in MergeTree in ClickHouse
2021-01-16 00:20:15 +03:00
Azat Khuzhin
61b2d0ce42
MemoryTracker: Do not ignore server memory limits during blocking by default
2021-01-15 22:46:58 +03:00
alexey-milovidov
f8830e0f11
Merge pull request #19107 from ClickHouse/bar-nan
...
Fix fuzz test for function `bar`.
2021-01-15 20:38:02 +03:00
Alexey Milovidov
e238fd64ac
Add part metrics
2021-01-15 15:28:53 +03:00
Alexey Milovidov
33d045b72e
Fix issue in function "bar"
2021-01-15 13:17:09 +03:00
Alexey Milovidov
8276a1c8d2
Faster parts removal, more safe and efficient interface of IDisk
2021-01-14 19:24:13 +03:00
Alexander Tokmakov
73e96250a8
add comments
2021-01-13 15:19:41 +03:00
Alexander Tokmakov
ff6c3c75c2
add protection from unsafe allocations
2021-01-12 18:41:24 +03:00
tavplubix
6022311a37
Merge pull request #18285 from weeds085490/hotfix/abort_when_failed_to_init_ddlworker
...
exit clickhouse when failing to initialize zookeeper with logical err…
2021-01-11 17:04:33 +03:00
Alexey Milovidov
6eb5a5f4d9
Remove useless code
2021-01-10 03:28:59 +03:00
alexey-milovidov
9e77f0faa3
Merge pull request #18774 from azat/memory-tracking-deallocation-respect-level
...
Respect memory tracker blocker level during deallocations
2021-01-08 07:58:14 +03:00
alexey-milovidov
45f53bacfa
Merge pull request #18845 from azat/fsync-fixes
...
Fix never worked fsync_part_directory/fsync_after_insert/in_memory_parts_insert_sync
2021-01-08 07:26:24 +03:00
alexey-milovidov
19ad9e7a51
Merge pull request #18832 from azat/altstack-fix
...
Respect MINSIGSTKSZ for alternative stack to fix under aarch64
2021-01-08 01:15:55 +03:00
Azat Khuzhin
7b9f670cc3
Fix DirectorySyncGuard under OSX
2021-01-07 23:34:08 +03:00
Azat Khuzhin
9a09044da6
Add DirectorySyncGuard.cpp into ya.make
2021-01-07 20:41:43 +03:00
Azat Khuzhin
b1f08f5c27
Rename FileSyncGuard to DirectorySyncGuard
2021-01-07 20:26:18 +03:00
Azat Khuzhin
52f56cd6ad
Add support of F_FULLSYNC on osx
2021-01-07 19:25:26 +03:00
Azat Khuzhin
8d3ec1cce9
Fix fsync_part_directory (missing O_DIRECTORY)
...
On linux you should pass O_DIRECTORY, otherwise open(2) will fail
2021-01-07 19:25:26 +03:00
Azat Khuzhin
46c3266c6a
Respect MINSIGSTKSZ for alternative stack to fix under aarch64
...
And acording to sigaltstack(2) alignment is not required:
When a signal handler is invoked on the alternate stack, the kernel
automatically aligns the address given in ss.ss_sp to a suitable address
boundary for the underlying hardware architecture.
Fixes : #18785
2021-01-07 18:28:23 +03:00
alexey-milovidov
a08db94343
Revert "Add metrics for part number in MergeTree in ClickHouse"
2021-01-07 16:40:52 +03:00
Alexey Milovidov
b85bc3f5eb
Fix Arcadia
2021-01-07 16:37:55 +03:00
Alexey Milovidov
cea1b7dba5
Fix build
2021-01-07 16:37:06 +03:00
alexey-milovidov
f91626e7ff
Merge pull request #17838 from weeds085490/dev/add_metrics_for_parts
...
Add metrics for part number in MergeTree in ClickHouse
2021-01-07 15:27:04 +03:00
Alexey Milovidov
dd42f91129
Fix style
2021-01-07 06:40:24 +03:00
Alexey Milovidov
15113a5e5f
Add files
2021-01-07 06:01:15 +03:00
Alexey Milovidov
6f481d7512
Add integrity checks for ClickHouse binary
2021-01-07 05:56:57 +03:00
alexey-milovidov
13e4579052
Merge pull request #18712 from amosbird/limitpartition
...
add max_partitions_to_read setting
2021-01-06 21:29:58 +03:00
weeds085490
5f5b86b485
Merge remote-tracking branch 'origin' into dev/add_metrics_for_parts
2021-01-06 17:32:45 +08:00
Azat Khuzhin
780b86982a
Respect memory tracker blocker level during deallocations
...
Introduced-in: #17646
2021-01-06 02:44:06 +03:00
Alexey Milovidov
5368b20a71
Fix error
2021-01-05 04:49:15 +03:00
Amos Bird
a157a5b3b3
add max_partitions_to_read setting
2021-01-04 12:40:48 +08:00
Alexey Milovidov
8fb0034b62
Give up on lazy initialization of FileChecker
2021-01-04 00:07:26 +03:00
Alexey Milovidov
9d5b2023e8
Fix tests
2021-01-03 19:12:22 +03:00
Alexey Milovidov
da943ef95f
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock
2021-01-03 18:07:58 +03:00
Alexey Milovidov
ab83245b57
Addition to #18526
2021-01-03 18:07:18 +03:00
Alexey Milovidov
2881b3cf30
Fix errors
2021-01-03 00:29:49 +03:00
Alexey Milovidov
820af3a48d
Simplify code of function "bar"
2021-01-02 23:40:15 +03:00
Alexey Milovidov
4012f9ef8b
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock
2021-01-02 17:35:10 +03:00
alexey-milovidov
aff724ea7d
PODArray: Avoid call to memcpy with (nullptr, 0) arguments ( #18526 )
...
* Avoid call to memcpy with nullptr, 0 arguments
* Add assert to PODArray
* Fix build
* Fix build
* Minor fixes for min/sim hash
* Fix build
* Fix build
* Fix build
* Fix error
* Fix "not actually an error"
* Fix build
* Fix build
* Fix build
2021-01-02 17:07:54 +03:00
Alexey Milovidov
1a90c569cb
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock
2021-01-01 21:39:08 +03:00
alexey-milovidov
19e0e1a403
Merge pull request #17646 from azat/Buffer-memory-tracking
...
Do not ignore server memory limits during Buffer flush
2021-01-01 18:58:52 +03:00
Nikita Mikhaylov
4165a58ce4
Merge pull request #11617 from nikitamikhaylov/parallel-parsing-input-format
...
Parallel formatting
2020-12-31 21:22:16 +04:00
alexey-milovidov
07411aafd2
Merge pull request #18647 from ClickHouse/remove-getservbyname
...
Remove useless support for symbolic port names
2020-12-31 14:46:10 +03:00
Nikita Mikhaylov
f27aa148e0
Merge branch 'master' into parallel-parsing-input-format
2020-12-31 06:16:43 +04:00
alexey-milovidov
81f8ee5fd8
Merge pull request #17569 from vdimir/speedup-apply-cidr-mask-v6
...
Speedup applyCIDRMask for IPv6
2020-12-31 03:31:43 +03:00
Alexey Milovidov
83cff84182
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock
2020-12-30 22:52:12 +03:00
Alexey Milovidov
a530bad6ea
Remove useless support for symbolic port names
2020-12-30 21:55:11 +03:00
Nikita Mikhailov
8e31ce4a5c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-30 18:22:11 +03:00
Alexander Tokmakov
f2fca15393
try fix it better way
2020-12-30 15:25:00 +03:00
Nikita Mikhailov
2f04cb5ebe
abort() instead of std::terminate() + cleanup
2020-12-30 08:31:45 +03:00
Alexey Milovidov
be884a89f8
Minor fixes for min/sim hash
2020-12-29 13:16:43 +03:00
Nikita Mikhailov
07e9a25bd8
style
2020-12-29 04:19:57 +03:00
Nikita Mikhailov
c0eef84c50
better
2020-12-29 04:15:26 +03:00
Nikita Mikhailov
c3288c3fbf
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-28 15:09:37 +03:00
alexey-milovidov
1e8b180e50
Merge pull request #18522 from ClickHouse/fix_concurrent_bounded_queue_timeout
...
Fix usage of concurrent bounded queue in test keeper storage
2020-12-27 11:49:13 +03:00
vdimir
b1d7778287
Merge remote-tracking branch 'upstream/master' into speedup-apply-cidr-mask-v6
2020-12-26 19:53:06 +00:00
Azat Khuzhin
a3ab429129
Split MemoryTracker header
...
Allocator.h is included into almost everything (via PODArray.h), so keep
only small part of MemoryTracker.h for it.
2020-12-25 23:49:22 +03:00
Azat Khuzhin
9d64ae2895
Extend BlockerInThread/LockExceptionInThread interface
...
- Add level for BlockerInThread/LockExceptionInThread to make decisions
based on the level
- Add block_fault_injections for LockExceptionInThread
2020-12-25 23:49:22 +03:00
alesapin
d204ad7ef1
Fix usage of concurrent bounded queue
2020-12-25 19:54:13 +03:00
alesapin
a50615a22b
More correct error code
2020-12-25 16:38:04 +03:00
Yatsishin Ilya
f36e8f13c0
more fixes after rebase
2020-12-24 13:48:10 +03:00
Yatsishin Ilya
ce1e2b18a3
Fix codespell warnings. Split style checks. Update style checks docker
2020-12-24 13:17:52 +03:00
Azat Khuzhin
7c76bd2def
Fix ParsingException::displayText override (guard with POCO_CLICKHOUSE_PATCH)
2020-12-23 23:55:39 +03:00
Nikita Mikhaylov
c005dcdd26
Merge pull request #17641 from nikitamikhaylov/parallel_row_numbers
...
Added an offset to exception message for parallel parsing
2020-12-23 17:24:35 +03:00
alexey-milovidov
0f98fe3c0c
Merge pull request #18365 from CurtizJ/fix-group-by-distinct
...
Fix race in aggregation with combinator distinct
2020-12-23 15:41:20 +03:00
Nikolai Kochetov
af7f5c9518
Merge pull request #17868 from ClickHouse/async-read-from-socket
...
Async read from socket
2020-12-23 12:20:42 +03:00
alexey-milovidov
8e48a25607
Merge pull request #18299 from ClickHouse/enable_thread_fuzzer_for_flaky_check
...
Trying to enable thread fuzzer in flaky check
2020-12-23 05:32:19 +03:00
Nikita Mikhailov
dcfbe782c6
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-23 05:20:22 +03:00
Nikita Mikhailov
84d0084c1a
style
2020-12-23 01:33:07 +03:00
nikitamikhaylov
6f30fae34e
final fix
2020-12-23 01:02:45 +03:00
nikitamikhaylov
a9bd177b2e
fix
2020-12-23 01:02:45 +03:00
nikitamikhaylov
35dbd2bd77
style
2020-12-23 01:02:45 +03:00
nikitamikhaylov
0dafcc38a5
better
2020-12-23 01:02:45 +03:00
nikitamikhaylov
8d4465ddeb
better
2020-12-23 01:02:01 +03:00
nikitamikhaylov
a285cb83df
style
2020-12-23 01:02:01 +03:00
nikitamikhaylov
c60c161168
add ParsingException
2020-12-23 01:02:01 +03:00
alesapin
4b28d6d030
Merge branch 'master' into enable_thread_fuzzer_for_flaky_check
2020-12-22 16:36:51 +03:00
Anton Popov
57a1642035
fix race in aggregation with combinator distinct
2020-12-22 14:30:29 +03:00
徐炘
81f9623e2e
Merge branch 'master' into dev/add_metrics_for_parts
2020-12-22 19:04:28 +08:00
Alexey Milovidov
76dc88b674
Remove useless code
2020-12-22 11:18:37 +03:00
alesapin
7f590090f6
Remove logs
2020-12-22 10:28:02 +03:00
alexey-milovidov
69719f743d
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock
2020-12-22 00:41:52 +03:00
alesapin
b10f13f34a
More thread fuzzer
2020-12-21 23:24:16 +03:00
alexey-milovidov
2222122f9f
Update ThreadFuzzer.cpp
2020-12-21 20:02:59 +03:00
alesapin
8f2d4f2d1e
Fix user
2020-12-21 18:46:36 +03:00
alesapin
b760d7d7d1
Remove more changes
2020-12-21 15:23:02 +03:00
alesapin
5a5fbf9eae
Remove logs from thread fuzzer
2020-12-21 15:22:07 +03:00
alesapin
643739df6b
Trying to enable thread fuzzer in flaky check
2020-12-21 13:06:36 +03:00
Alexey Milovidov
571520964c
Remove useless code
2020-12-21 10:48:15 +03:00
roverxu
8e72b6d31b
Merge remote-tracking branch 'origin' into dev/add_metrics_for_parts
2020-12-21 09:25:54 +08:00
Denis Glazachev
ea7e94f3eb
Use 127.0.0.1 as a default listen-host for ODBC bridge
2020-12-21 03:26:31 +04:00
Nikolai Kochetov
855c4bc7d7
Added comments.
2020-12-18 18:12:31 +03:00
Nikolai Kochetov
01c8d5dccc
Use replace fiber to callback in ReadBufferFromPocoSocket
2020-12-18 17:24:44 +03:00
Amos Bird
272311f6bd
Extensive information in system.query_log
2020-12-18 14:13:58 +08:00