Commit Graph

64048 Commits

Author SHA1 Message Date
feng lv
fb3a627bd3 fix tiny code style 2021-05-16 14:14:59 +00:00
alesapin
29726b5510
Merge pull request #24122 from ClickHouse/fix_table_startup
Set readonly mode if restarting thread failed to activate replica
2021-05-16 16:45:51 +03:00
robot-clickhouse
cd2417aa03 Update version_date.tsv after release 21.3.11.5 2021-05-16 16:07:06 +03:00
Azat Khuzhin
d768a2ac71 Add a test for Buffer flush before shutdown 2021-05-16 13:28:35 +03:00
Azat Khuzhin
5a8d61954a Call IStorage::flush() for each table on DETACH DATABASE before shutdown 2021-05-16 13:28:35 +03:00
Azat Khuzhin
23981ffd0e Introduce IStorage::flushAndShutdown() 2021-05-16 13:23:53 +03:00
Azat Khuzhin
f20799f683 Destroy Buffer() tables before others (within one database)
This will reduce amount of data that may be lost at shutdown.

v2: replace dynamic_cast with IStorage::isBuffer (@kitaisreal)
v3: replace IStorage::isBuffer with IStorage::flush (@alexey-milovidov)
v4: flush() for StorageProxy/StorageTableFunction
2021-05-16 13:23:53 +03:00
Maksim Kita
1a8ce039b4
Merge pull request #24160 from fuzhe1989/patch-1
Fix typo in decimal.md
2021-05-16 11:42:31 +03:00
Maksim Kita
85ad25be04
Merge pull request #24161 from pleiadesian/patch-1
Fix typo in adding_test_queries.md
2021-05-16 11:41:39 +03:00
Maksim Kita
af1eaea3e5
Merge pull request #24147 from amosbird/simdjsonfix
Bump simdjson to fix crash when alloc fails
2021-05-16 11:40:02 +03:00
wzl
025d65b143 Fix typo in adding_test_queries.md 2021-05-16 15:40:44 +08:00
Fu Zhe
ee52c2d371
Fix typo in decimal.md 2021-05-16 13:52:32 +08:00
Nikolai Kochetov
093b7e120a
Merge pull request #24062 from amosbird/projection-fix1
Fix empty key projection query analysis
2021-05-16 07:37:03 +03:00
Maksim Kita
196ca14c3a
Merge pull request #24150 from azat/whitespaces
Fix a few trailing whitespaces in output
2021-05-15 22:39:16 +03:00
Maksim Kita
947f28d430 IFunction refactoring 2021-05-15 20:33:15 +03:00
Kseniia Sumarokova
99e2f83c69
Merge pull request #23548 from ucasFL/table-comment
Implement table comments
2021-05-15 19:56:16 +03:00
Maksim Kita
3dd7401985
Merge pull request #23412 from godliness/fix-kafka-with-parquet
Fix kafka storage does not work with parquet format messages
2021-05-15 18:15:58 +03:00
alexey-milovidov
a9a66f6572
Merge pull request #24139 from Algunenano/aiotest_fix_tmpfs
TestReadAfterAIO: Use the current path instead of /tmp for temporal files
2021-05-15 17:04:41 +03:00
alexey-milovidov
3695eb9c90
Merge pull request #24135 from Algunenano/zstd_1.5.0
Update zstd to v1.5.0
2021-05-15 17:04:30 +03:00
Azat Khuzhin
1cdeafe473 Remove superfluous trailing whitespace in Markdown format 2021-05-15 16:08:17 +03:00
Azat Khuzhin
5b668fc351 Remove trailing whitespace for Processed client message 2021-05-15 16:07:54 +03:00
alesapin
33e9f1bcf1 Better tests 2021-05-15 15:33:01 +03:00
alexey-milovidov
32a96779f5
Merge pull request #24144 from oxidecomputer/master
Update submodules for building on illumos
2021-05-15 14:32:54 +03:00
Kseniia Sumarokova
6bcc99e5e6
Whitespace 2021-05-15 10:56:46 +03:00
Kseniia Sumarokova
9e65f376cc
Fix PVS check 2021-05-15 10:05:31 +03:00
Amos Bird
fe6a956499
bump simdjson to fix crash when alloc fails 2021-05-15 14:15:51 +08:00
Kseniia Sumarokova
1d73cd6406
Fix PVS check 2021-05-15 09:05:27 +03:00
Anna
b9f3321270
Update docs/ru/operations/settings/merge-tree-settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:40:18 +03:00
Anna
2b05303d7d
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:40:08 +03:00
Anna
a0c0723c3d
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:39:58 +03:00
Anna
aea177ea42
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:39:46 +03:00
Anna
73c7552add
Update docs/ru/operations/settings/merge-tree-settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:39:38 +03:00
Anna
20ef8e8bf2
Update docs/ru/operations/settings/merge-tree-settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:39:29 +03:00
Benjamin Naecker
3252228852 Updates submodules bringing in several upstream changes to build on
illumos
2021-05-14 19:38:36 -07:00
Raúl Marín
e358a0963c Clearer code based on review 2021-05-15 03:03:38 +02:00
Raúl Marín
0ddfc3df84 TestReadAfterAIO: Use the local path instead of /tmp for temporal files
/tmp might be mounted as tmpfs (default in ArchLinux) which is incompatible with
O_DIRECT (https://lore.kernel.org/lkml/459D290B.1040703@tmr.com/t/), making the
test fail:

```
[ RUN      ] ReadBufferAIOTest.TestReadAfterAIO
unknown file: Failure
C++ exception with description "Cannot open file /tmp/filei6ZsCa/foo, errno: 22, strerror: Invalid argument" thrown in the test body.
[  FAILED  ] ReadBufferAIOTest.TestReadAfterAIO (0 ms)
```

Instead create the tmp folder in the local path and delete it at the end
2021-05-15 02:13:51 +02:00
Raúl Marín
5d2778dd2d Update zstd to v1.5.0 2021-05-15 00:57:24 +02:00
Maksim Kita
e785029ead
Merge pull request #24116 from hexiaoting/dev_explain
Fix bug for explain pipeline
2021-05-15 01:41:27 +03:00
Nikita Mikhaylov
fa3ac3d7d2
Merge pull request #24133 from nikitamikhaylov/fix-arcadia-6
Fix arcadia
2021-05-15 00:29:18 +03:00
Nikita Mikhaylov
d174afae5a better 2021-05-15 00:28:22 +03:00
Nikita Mikhaylov
703bd2aeb6 done 2021-05-15 00:25:12 +03:00
Nikita Mikhaylov
6028eb1c88 done 2021-05-15 00:17:00 +03:00
mergify[bot]
d31021ea4f
Merge branch 'master' into fix-kafka-with-parquet 2021-05-14 21:10:12 +00:00
Maksim Kita
520d992df2
Merge pull request #23651 from adevyatova/annadevyatova-DOCSUP-8209-dictGetOrNull
DOCSUP-8209: Document the dictGetOrNull function
2021-05-14 23:55:15 +03:00
Kruglov Pavel
1a2e3e605a
Merge pull request #21770 from taylor12805/arrow_array
Arrow array
2021-05-14 23:44:48 +03:00
Kruglov Pavel
c8427442c3
Merge pull request #24005 from sevirov/sevirov-DOCSUP-8940-edit_and_translate_to_russian_deltasumtimestamp
DOCSUP-8940: Edit and translate to Russian (deltaSumTimestamp)
2021-05-14 23:14:31 +03:00
alesapin
a2b0fa6ed4
Merge pull request #23626 from olgarev/revolg-DOCSUP-8776-backslash_option
DOCSUP-8776: Docs for clickhouse-format
2021-05-14 22:06:35 +03:00
alesapin
6062c7b5e5
Update clickhouse-format.md 2021-05-14 19:22:54 +03:00
alesapin
4fa9649fa0
Update clickhouse-format.md 2021-05-14 19:22:24 +03:00
Alexander Tokmakov
df5f3fbc9d review suggestions 2021-05-14 19:11:40 +03:00