Commit Graph

1025 Commits

Author SHA1 Message Date
alesapin
9fb3784f19 Merge branch 'master' into keeper_bench_mark 2021-04-17 15:58:33 +03:00
robot-clickhouse
88445294b4 Update version_date.tsv after release 20.8.18.32 2021-04-17 01:11:03 +03:00
robot-clickhouse
d2101c05ce Update version_date.tsv after release 21.2.10.48 2021-04-17 00:40:38 +03:00
robot-clickhouse
a1f6b0e560 Update version_date.tsv after release 21.3.7.62 2021-04-17 00:28:08 +03:00
robot-clickhouse
df2e75bf00 Update version_date.tsv after release 21.4.4.30 2021-04-16 23:56:52 +03:00
alesapin
50103ff0bc Merge branch 'master' into keeper_bench_mark 2021-04-15 11:30:33 +03:00
alesapin
e9e9a7d7d5 Upload binary via scp 2021-04-14 19:25:48 +03:00
alesapin
c506e3218b Teaching jepsen to run external programs 2021-04-14 16:40:53 +03:00
alesapin
a893cd3fe6 Integrating into jepsen 2021-04-14 12:01:33 +03:00
alesapin
9a59c12f7e Fix some stupid things 2021-04-13 16:26:55 +03:00
alesapin
8653975f83 Some missed files 2021-04-13 15:36:47 +03:00
alesapin
b115b8af3d Something working 2021-04-13 14:55:08 +03:00
robot-clickhouse
7b8abc6495 Update version_date.tsv after release 21.1.9.41 2021-04-13 14:29:13 +03:00
alesapin
13d3e59b6a More fixes 2021-04-13 10:33:18 +03:00
robot-clickhouse
03c5f4455f Update version_date.tsv after release 21.2.9.41 2021-04-12 19:03:40 +03:00
robot-clickhouse
c7fd6c5e81 Update version_date.tsv after release 21.4.3.21 2021-04-12 18:42:53 +03:00
alesapin
05959d482b Better 2021-04-12 18:40:42 +03:00
robot-clickhouse
99c6daa9b5 Update version_date.tsv after release 21.3.6.55 2021-04-12 15:15:48 +03:00
alesapin
fea0ec5046 Some code 2021-04-12 11:10:23 +03:00
alexey-milovidov
6ce5bead4f
Merge pull request #22875 from kitaisreal/utils-memcpy-bench-build-position-independent-code-disabled
Util `memcpy-bench` is built only when position independent code is disabled
2021-04-09 09:18:56 +03:00
Maksim Kita
d1446faa6b Utils mempcy bench build when position independent code disabled 2021-04-09 00:16:41 +03:00
robot-clickhouse
798831dd4a Update version_date.tsv after release 20.8.17.25 2021-04-08 21:05:34 +03:00
Ivan
a6d5c4329e
Support 'pr-must-backport' label 2021-04-07 17:12:23 +03:00
robot-clickhouse
ee13dbc1e8 Update version_date.tsv after release 21.1.8.30 2021-04-07 15:41:04 +03:00
robot-clickhouse
190846c652 Update version_date.tsv after release 21.2.8.31 2021-04-07 14:53:21 +03:00
robot-clickhouse
a020b357f0 Update version_date.tsv after release 21.3.5.42 2021-04-07 12:47:25 +03:00
robot-clickhouse
758cbb0498 Update version_date.tsv after release 20.8.16.20 2021-04-06 10:13:59 +03:00
feng lv
ee6d1a6feb fix build 2021-04-05 14:37:04 +00:00
robot-clickhouse
8f23d39f26 Update version_date.tsv after release 20.8.15.11 2021-04-01 12:33:08 +03:00
tavplubix
6c1e2a0d87
Merge pull request #21690 from ClickHouse/test_multiple_nodes
Run three nodes with Replicated database and NuKeeper in CI
2021-03-31 12:31:13 +03:00
Denis Glazachev
11ce01c0aa Re-add conditional keeper-data-dumper under the new name 2021-03-30 14:37:55 +04:00
Denis Glazachev
574547bd41
Remove nukeeper-data-dumper 2021-03-30 14:22:03 +04:00
alexey-milovidov
4e4d33e93b
Merge branch 'master' into fix-apple-clang-build 2021-03-30 13:15:07 +03:00
Alexander Tokmakov
517ee6f142 rename 2021-03-30 10:45:51 +03:00
alesapin
5e3ebb3e0e
Merge pull request #22274 from ClickHouse/rename_keeper
Rename NuKeeper and TestKeeper to Keeper in all places
2021-03-30 10:39:22 +03:00
alesapin
828e76adb9 Fix keeper util 2021-03-30 10:36:50 +03:00
Denis Glazachev
3f69c74b0d Skip nukeeper-data-dumper when USE_NURAFT is not true 2021-03-29 14:49:21 +04:00
Denis Glazachev
f98505c112 Add missing (set to nullptr?) c-tor arg 2021-03-29 14:48:41 +04:00
alesapin
4ce81a91e5 Remove unused file 2021-03-29 12:16:58 +03:00
hexiaoting
52c6c0fa62 Fix build error 2021-03-29 11:26:43 +08:00
robot-clickhouse
771493f03a Update version_date.tsv after release 21.2.7.11 2021-03-28 05:03:48 +03:00
robot-clickhouse
613d1e3c17 Update version_date.tsv after release 21.3.4.25 2021-03-28 04:47:27 +03:00
alesapin
4c28c25a75 Merge branch 'master' into jepsen_for_nukeeper 2021-03-25 14:34:00 +03:00
alexey-milovidov
d3c8a4ad32
Update CMakeLists.txt 2021-03-23 20:02:16 +03:00
Maksim Kita
3813515a3a Darwin cmake disable memcpy benchmark 2021-03-23 18:35:13 +03:00
alesapin
cce2e0acaf Fix typo 2021-03-23 10:28:14 +03:00
alesapin
27b90007aa Merge branch 'master' into jepsen_for_nukeeper 2021-03-22 11:20:00 +03:00
robot-clickhouse
df45c0e0df Update version_date.tsv after release 21.3.3.14 2021-03-19 14:39:28 +03:00
alexey-milovidov
b8a437c35a
Merge pull request #21842 from HumanUser/master
zookeeper-dump-tree: added ctime option to dump node ctime
2021-03-18 01:06:43 +03:00
alexey-milovidov
3a8d7e9a48
Update main.cpp 2021-03-17 22:12:10 +03:00
alexey-milovidov
04c957962f
Merge pull request #21724 from azat/tests-replicated-merge-tree-zk-path
Do not overlap zookeeper path for ReplicatedMergeTree in stateless *.sh tests
2021-03-17 22:11:14 +03:00
robert
e1b11c786b zookeeper-dump-tree: move ctime option to bool 2021-03-17 21:10:51 +03:00
robert
8cb19d63ae zookeeper-dump-tree: added ctime option to dump node ctime 2021-03-17 20:38:49 +03:00
alexey-milovidov
d02726bcac
Merge pull request #9404 from Enmk/DateTime64_extended_range
Date time64 extended range
2021-03-17 11:06:03 +03:00
alesapin
8cf8265d47 Style 2021-03-16 15:37:46 +03:00
alesapin
6454479edd Add useful util for state dump 2021-03-16 14:44:43 +03:00
Alexey Milovidov
ea049b2cc0 Merge branch 'master' into DateTime64_extended_range 2021-03-16 14:08:02 +03:00
Alexey Milovidov
eadf0248d0 Build fixes 2021-03-16 14:07:53 +03:00
Azat Khuzhin
6c2622d451 Add style check for ReplicatedMergeTree path 2021-03-16 07:22:32 +03:00
Alexey Milovidov
fe371d9cfc Minor modifications 2021-03-16 01:13:27 +03:00
Alexey Milovidov
b9ae9c9cd2 Add one more variant to memcpy benchmark 2021-03-16 00:05:30 +03:00
Alexey Milovidov
c1a2745bfb Add one more variant to memcpy benchmark 2021-03-16 00:04:03 +03:00
alexey-milovidov
6a455fe71d
Merge pull request #21715 from ClickHouse/memcpy-bench
Add more variants for memcpy benchmark
2021-03-15 20:04:36 +03:00
Alexey Milovidov
eaeb4a3bf0 Merge branch 'master' into DateTime64_extended_range 2021-03-15 16:59:32 +03:00
robot-clickhouse
1ede69e277 Update version_date.tsv after release 21.1.7.1 2021-03-15 14:15:06 +03:00
robot-clickhouse
1e495705ad Update version_date.tsv after release 21.2.6.1 2021-03-15 12:44:13 +03:00
Alexey Milovidov
9bea10d9f9 Fix style 2021-03-15 11:49:56 +03:00
Alexey Milovidov
1f6b05cd85 Add example 2021-03-15 11:18:11 +03:00
Alexey Milovidov
637f6a29a6 Add penalty 2021-03-15 11:16:15 +03:00
Alexey Milovidov
8c2d65242a Fix style 2021-03-14 23:24:22 +03:00
Alexey Milovidov
145116bfb6 Fix style 2021-03-14 23:22:12 +03:00
Alexey Milovidov
1bc21789d2 Add more variants 2021-03-14 19:52:51 +03:00
alexey-milovidov
53e21443eb
Merge branch 'master' into DateTime64_extended_range 2021-03-14 12:27:17 +03:00
Alexey Milovidov
e8919c49fb Merge branch 'master' into replace-memcpy 2021-03-13 09:39:58 +03:00
robot-clickhouse
ede0031dc4 Update version_date.tsv after release 21.3.2.5 2021-03-12 18:08:46 +03:00
Alexey Milovidov
14d92edf96 Maybe GitHub API has changed 2021-03-11 08:47:41 +03:00
Alexey Milovidov
39dbc11a3d Fix style check 2021-03-09 03:21:38 +03:00
Alexey Milovidov
f0342eda9c Add experimental memcpy implementation 2021-03-08 13:05:18 +03:00
Alexey Milovidov
940ce5884e Add memcpy-bench tool 2021-03-08 12:04:52 +03:00
Alexey Milovidov
2c86bc4ea3 Addition to prev. revision 2021-03-08 10:00:54 +03:00
Alexey Milovidov
4e8239e098 Merge branch 'master' into DateTime64_extended_range 2021-03-03 23:43:20 +03:00
alesapin
15a29dd3e6 Stop yelling 2021-03-03 19:28:46 +03:00
alesapin
eb5e416fd5 Merge branch 'master' into persistent_nukeeper_snapshot_storage 2021-03-03 19:19:02 +03:00
robot-clickhouse
6a6bc3924d Update version_date.tsv after release 20.8.14.4 2021-03-03 16:53:26 +03:00
alesapin
07e39ef47a Merge branch 'master' into persistent_nukeeper_snapshot_storage 2021-03-03 11:12:01 +03:00
robot-clickhouse
d9e22ba646 Update version_date.tsv after release 20.12.8.5 2021-03-02 15:53:39 +03:00
robot-clickhouse
24860bd291 Update version_date.tsv after release 21.1.6.13 2021-03-02 15:17:44 +03:00
robot-clickhouse
658a62b7fc Update version_date.tsv after release 21.2.5.5 2021-03-02 14:54:01 +03:00
alesapin
c4a6289a9b Merge branch 'master' into persistent_nukeeper_snapshot_storage 2021-02-25 11:39:52 +03:00
alesapin
f8b81eeeb0 Get rid of own zxid 2021-02-25 11:34:05 +03:00
Vitaly Baranov
8601b2f3e7
Merge pull request #21148 from vitlibar/protobuf-format-better-tests-2
Better tests for protobuf format #2.
2021-02-25 06:01:47 +03:00
Vitaly Baranov
2480e4ee3d Better tests for protobuf format #2. 2021-02-24 21:06:29 +03:00
Vasily Nemkov
2d03d330bc Extended range of DateTime64 to years 1925 - 2238
The Year 1925 is a starting point because most of the timezones
switched to saner (mostly 15-minutes based) offsets somewhere
during 1924 or before. And that significantly simplifies implementation.

2238 is to simplify arithmetics for sanitizing LUT index access;
there are less than 0x1ffff days from 1925.

* Extended DateLUTImpl internal LUT to 0x1ffff items, some of which
  represent negative (pre-1970) time values.
  As a collateral benefit, Date now correctly supports dates up to 2149
  (instead of 2106).
* Added a new strong typedef ExtendedDayNum, which represents dates
  pre-1970 and post 2149.
* Functions that used to return DayNum now return ExtendedDayNum.
* Refactored DateLUTImpl to untie DayNum from the dual role of being
  a value and an index (due to negative time). Index is now a different
  type LUTIndex with explicit conversion functions from DatNum, time_t,
  and ExtendedDayNum.
* Updated DateLUTImpl to properly support values close to epoch start
  (1970-01-01 00:00), including negative ones.
* Reduced resolution of DateLUTImpl::Values::time_at_offset_change
  to multiple of 15-minutes to allow storing 64-bits of time_t in
  DateLUTImpl::Value while keeping same size.
* Minor performance updates to DateLUTImpl when building month LUT
  by skipping non-start-of-month days.
* Fixed extractTimeZoneFromFunctionArguments to work correctly
  with DateTime64.
* New unit-tests and stateless integration tests for both DateTime
  and DateTime64.
2021-02-24 17:08:35 +02:00
Azat Khuzhin
91c4ebaf0b Merge remote-tracking branch 'upstream/master' into yamllint 2021-02-22 08:52:54 +03:00
Azat Khuzhin
b9cb8fdbad Exclude contrib for yamllint check 2021-02-21 10:45:05 +03:00
Azat Khuzhin
2db3a6af49 Add yamllint into style check 2021-02-20 23:25:21 +03:00
robot-clickhouse
3248bf4e2f Update version_date.tsv after release 20.8.13.15 2021-02-20 21:46:27 +03:00
robot-clickhouse
e49d90405c Update version_date.tsv after release 20.12.7.3 2021-02-20 20:39:18 +03:00
robot-clickhouse
4fa822dd28 Update version_date.tsv after release 21.1.5.4 2021-02-20 20:21:55 +03:00
robot-clickhouse
fe159de141 Update version_date.tsv after release 21.2.4.6 2021-02-20 19:30:27 +03:00
Ivan
42c22475e3
Don't backport base commit of branch in the same branch (#20628) 2021-02-17 18:55:24 +03:00
Nikita Mikhailov
780cf3dbff better 2021-02-15 14:37:07 +03:00
Nikita Mikhailov
40e8bbc49a done 2021-02-15 14:32:17 +03:00
alexey-milovidov
bde4da0ff0
Merge pull request #20465 from azat/write-abnormal-server-termination-fixes
Fix abnormal server terminations due to write failures
2021-02-15 00:05:48 +03:00
robot-clickhouse
37807e1a18 Update version_date.tsv after release 20.12.6.29 2021-02-14 11:51:46 +03:00
robot-clickhouse
09a5b7a055 Update version_date.tsv after release 21.1.4.46 2021-02-14 11:35:34 +03:00
robot-clickhouse
607b57ea28 Update version_date.tsv after release 21.2.3.15 2021-02-14 10:57:52 +03:00
Azat Khuzhin
06e8065ee6 Add missing sync of underlying files 2021-02-13 13:19:51 +03:00
alesapin
9667bdcbd2 Merge branch 'master' into in_memory_raft 2021-02-09 16:06:31 +03:00
Anton Popov
47c610be14
Merge pull request #19726 from CurtizJ/style-check
Allow to run all style checks in one file
2021-02-08 16:24:49 +03:00
alesapin
d5ee7d33e9 Merge branch 'master' into in_memory_raft 2021-02-08 10:30:31 +03:00
robot-clickhouse
e814db6836 Update version_date.tsv after release 21.2.2.8 2021-02-07 17:18:18 +03:00
Ivan Lezhankin
ab55556c5e Fix build of utils 2021-02-06 20:24:52 +03:00
alesapin
9c04d912ec Merge branch 'master' into in_memory_raft 2021-02-04 11:50:32 +03:00
robot-clickhouse
def3c8fef7 Update version_date.tsv after release 20.12.5.18 2021-02-03 12:26:09 +03:00
robot-clickhouse
ebdea09ec0 Update version_date.tsv after release 21.1.3.32 2021-02-03 12:08:04 +03:00
robot-clickhouse
5e11e13351 Update version_date.tsv after release 20.11.7.16 2021-02-03 12:05:47 +03:00
alesapin
0aca40d8cb Merge branch 'master' into in_memory_raft 2021-02-01 14:30:11 +03:00
Azat Khuzhin
7d9c892e60 check-style: fix "fatal: not a git repository: /place/sandbox-data/tasks/0/2/882869720/ClickHouse/.git/modules/contrib/AMQP-CPP" error
check-style uses "git status" to see changed ya.make files.

However it seems that that the sources was cloned some ancient git
version, likely <2.8, since there was a bug, that has been fixed in 2.8
[1]:

    " * A partial rewrite of "git submodule" in the 2.7 timeframe changed
        the way the gitdir: pointer in the submodules point at the real
        repository location to use absolute paths by accident.  This has
        been corrected."

  [1]: cf11a67975/Documentation/RelNotes/2.8.3.txt (L33-L36)
2021-01-30 00:29:21 +03:00
Azat Khuzhin
480c75bacf check-style: pass path to rc file for pylint 2021-01-29 23:11:53 +03:00
alesapin
c3db529543 Merge branch 'master' into in_memory_raft 2021-01-28 12:01:54 +03:00
Anton Popov
9c2130cc17 allow to run style check from other directories 2021-01-28 03:13:30 +03:00
Anton Popov
6c7ecc1aa0 allow to run all style checks in one file 2021-01-28 02:47:47 +03:00
Alexander Kuzmenkov
331e8211db
Merge pull request #19675 from azat/tests-query_log-current_database
Require current_database filter for tests with query_log/query_thread_log
2021-01-27 18:00:33 +03:00
Azat Khuzhin
9c5d83d6bc Check that tests with query_log/query_thread_log includes current_database filter 2021-01-27 00:18:32 +03:00
Azat Khuzhin
93d375f67a Check clickhouse-test with pylint during style check 2021-01-27 00:14:23 +03:00
alesapin
173b6fefdf Merge branch 'master' into in_memory_raft 2021-01-25 12:03:28 +03:00
alesapin
c1e36cfe70 Something working 2021-01-22 19:04:57 +03:00
Alexander Tokmakov
14e842c197 print stderr of failed subprocess 2021-01-22 17:27:23 +03:00
Alexey Milovidov
c7e93a9c74 Prepare changelog 2021-01-18 20:58:31 +03:00
robot-clickhouse
c99b5a78a5 Update version_date.tsv after release 21.1.2.15 2021-01-18 15:06:51 +03:00
robot-clickhouse
112746e8ca Update version_date.tsv after release 20.8.12.2 2021-01-16 00:42:21 +03:00
Alexey Milovidov
53d0c9fa72 Fix bug in "release" script 2021-01-11 06:35:07 +03:00
Alexey Milovidov
db46af68c1 Remove outdated code 2021-01-11 03:56:41 +03:00
alexey-milovidov
0e48d8fc86
Merge pull request #18873 from abyss7/backport-lts
Minor fix in backport script
2021-01-09 06:37:55 +03:00
Ivan Lezhankin
5426eae79a Minor fix 2021-01-09 00:26:33 +03:00
fastio
fc9c440d3e
Fix the unexpected behaviour of show tables when antlr parser enabled (#18431)
* Fix the unexpected behaviour of show tables when antlr parser enabled

* fix compile error
2021-01-04 23:42:57 +03:00
Alexey Milovidov
aa2e89611d Remove sumburConsistentHash function 2020-12-31 02:22:04 +03:00
alexey-milovidov
c281a17869
Merge pull request #18619 from azat/utils-pull
Small utils improvements (check-marks and compressor)
2020-12-30 17:45:43 +03:00
Azat Khuzhin
8fde2d6e1b compressor: remove dead file 2020-12-29 22:41:17 +03:00
Azat Khuzhin
8c256481c9 check-marks: fix comments and help message 2020-12-29 22:41:17 +03:00
Azat Khuzhin
cf11e2b1e0 check-marks: add decompressed size 2020-12-29 22:41:17 +03:00
Yatsishin Ilya
011d2b4631 disable couple checks for now 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
5869123a86 no empty line for check-duplicate-includes 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
a25fa1996b fix style checks 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
7e37743c37 run check-typos separately for now 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
f07df76c59 fix ans 2020-12-29 17:57:12 +03:00
robot-clickhouse
3d1273460b Update version_date.tsv after release 20.12.5.14 2020-12-28 13:27:43 +03:00
robot-clickhouse
4af0d73446 Update version_date.tsv after release 20.8.11.17 2020-12-25 18:38:21 +03:00
Yatsishin Ilya
f36e8f13c0 more fixes after rebase 2020-12-24 13:48:10 +03:00