Vladimir Chebotarev
3a7f4f04e2
libglibc-compatibility: Added longjmp tests and fixed longjmp problem. [#METR-21516]
2017-10-09 00:39:00 +03:00
alexey-milovidov
3382a730b8
Merge pull request #1315 from yandex/libunwind-fix
...
Libunwind fix
2017-10-03 17:06:37 +03:00
proller
4e4355a210
Prevent infinite recursion in faultSignalHandler (#CLICKHOUSE-3304) ( #1288 )
...
* Prevent infinite recursion in faultSignalHandler (#CLICKHOUSE-3304)
21 0x00000000012a0cbd in faultSignalHandler (sig=<optimized out>, info=0x7ffcacfd5730, context=0x7ffcacfd5600)
at /home/robot-metrika-test/jenkins/workspace/clickhouse-packages-build@2/sources/libs/libdaemon/src/BaseDaemon.cpp:166
22 <signal handler called>
23 0x00007fc770f90c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
24 0x00007fc770f94028 in abort () from /lib/x86_64-linux-gnu/libc.so.6
25 0x00000000012a0d5f in terminate_handler () at /home/robot-metrika-test/jenkins/workspace/clickhouse-packages-build@2/sources/libs/libdaemon/src/BaseDaemon.cpp:404
26 0x00000000037c8836 in __cxxabiv1::__terminate(void (*)()) ()
27 0x000000000382d379 in __cxa_call_terminate ()
28 0x00000000037d475d in __gxx_personality_v0 ()
29 0x00000000038331a3 in _Unwind_RaiseException_Phase2 ()
30 0x00000000038339c7 in _Unwind_Resume ()
31 0x00000000012a0cbd in faultSignalHandler (sig=<optimized out>, info=0x7ffcacfd6ef0, context=0x7ffcacfd6dc0)
at /home/robot-metrika-test/jenkins/workspace/clickhouse-packages-build@2/sources/libs/libdaemon/src/BaseDaemon.cpp:166
32 <signal handler called>
33 0x00007fc770f90c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
34 0x00007fc770f94028 in abort () from /lib/x86_64-linux-gnu/libc.so.6
35 0x00000000012a0d5f in terminate_handler () at /home/robot-metrika-test/jenkins/workspace/clickhouse-packages-build@2/sources/libs/libdaemon/src/BaseDaemon.cpp:404
36 0x00000000037c8836 in __cxxabiv1::__terminate(void (*)()) ()
37 0x000000000382d379 in __cxa_call_terminate ()
38 0x00000000037d475d in __gxx_personality_v0 ()
39 0x00000000038331a3 in _Unwind_RaiseException_Phase2 ()
40 0x00000000038339c7 in _Unwind_Resume ()
41 0x00000000012a0cbd in faultSignalHandler (sig=<optimized out>, info=0x7ffcacfd86b0, context=0x7ffcacfd8580)
at /home/robot-metrika-test/jenkins/workspace/clickhouse-packages-build@2/sources/libs/libdaemon/src/BaseDaemon.cpp:166
* Requested changes
2017-09-30 14:04:56 +03:00
Vladimir Chebotarev
07c964ef3b
contrib: Fixed unwind build under GCC 7. [#METR-21516]
...
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712 .
2017-09-28 23:28:37 +03:00
proller
5250650f65
Fixes ( #1286 )
...
* Revert "Simplification [#CLICKHOUSE-2]."
This reverts commit 98ad6a5db3
.
* Fix error: comparison of unsigned expression < 0 is always false
* Fix float division by zero
* Fix float division by zero
* Disable PointInPolygon function if compiling with old clang
* Fix warning:
dbms/src/Functions/FunctionsCoding.h:336:21: error: comparison of constant -1 with expression of type 'const char' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
if (num != -1)
* Fix
2017-09-26 23:29:34 +03:00
proller
7d0e5e786e
Compile fixes
2017-09-24 15:41:29 +03:00
proller
f9130b18da
Cmake: Allow disable libunwind
2017-09-22 00:31:21 +03:00
Alexey Milovidov
f31a38c5ea
Fixed build on Ubuntu Precise [#CLICKHOUSE-2].
2017-09-18 10:10:35 +03:00
Alexey Milovidov
a726f2831c
Enabled "GLIBC_COMPATIBILITY" option by default [#CLICKHOUSE-3275].
2017-09-17 01:41:20 +03:00
Alexey Milovidov
268771efa9
Miscellaneous [#CLICKHOUSE-2].
2017-09-17 01:32:04 +03:00
Alexey Milovidov
5d038312b7
Fixed readme [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
1544187f7b
Better GLIBC_COMPATIBILITY option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
a3f3ed12ab
Better GLIBC_COMPATIBILITY option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
148421d10f
Better GLIBC_COMPATIBILITY option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
660926c215
Better GLIBC_COMPATIBILITY option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
8254bbe7b8
Simplification [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
860c19bad3
Refined "GLIBC_COMPATIBILITY" option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
165518d4b0
Added README [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
cd9c387ed4
Using internal memcpy [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
50cf5623a2
Moved third-party sources deeper [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
effbbfd035
Added wrapper [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
ab8ac9c143
Preparation [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
85dfdafaeb
Fixed comment [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
d4d346b8ef
Modified whitespaces [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
7dc2cd91a7
Imported https://github.com/skywind3000/FastMemcpy at a74a33a1fb6d400252ab73e417d12f622dd8fe61 [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Bulat Gaifullin
7405dd5742
Add ssl options for MySQL connection #1217
2017-09-10 08:04:56 +03:00
Alexey Milovidov
e9ae193870
Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301].
2017-09-08 05:29:47 +03:00
Alexey Milovidov
6307661c35
Addition to prev. revision [#CLICKHOUSE-3300].
2017-09-08 00:26:25 +03:00
Alexey Milovidov
8b313ab99e
Fixed warnings found by cppcheck [#CLICKHOUSE-3300].
2017-09-08 00:04:48 +03:00
Alexey Milovidov
76957f77c4
Removed strange empty space [#CLICKHOUSE-2].
2017-09-06 23:02:11 +03:00
proller
f68a0ea63b
Fix mysql includes and remove libmariadb submodule ( #1185 )
...
* Use bundled libmariadbclient (CLICKHOUSE-3261)
* wip
* wip
* wip
* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh
* Fix mysql includes
* Cmake: don't install mariadb targets
* Fix generated includes
* Disable mysql tests
* cmake: mariadb fixes
* Fix
* Update find_mysqlclient.cmake
* Fix zlib
* Remove bundled contrib/mariadb-connector-c
* fix
* Fix build
* Fix includes
2017-09-04 20:04:33 +03:00
proller
1a8e22c37f
Allow compile on 32bit systems ( #1175 )
...
* Trying compile under 32bit..
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* clnag-format of Split ComplexKeyCacheDictionary
* wip
* Requested changes
* wip
* wip
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* wip
* Fix arm build
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* fix
* wip
* wip
* clean
* clean
* wip
* wip
* Update MergeTreeSettings.h
* Requested changes
* Requested changes
* Requested changes
* Requested changes
2017-09-01 20:21:03 +03:00
proller
3269b1da57
libmariadb as submodule (CLICKHOUSE-3261) ( #1181 )
...
* Use bundled libmariadbclient (CLICKHOUSE-3261)
* wip
* wip
* wip
* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh
2017-08-31 20:11:30 +03:00
proller
221110454e
Prefer mariadbclient
2017-08-29 20:32:15 +03:00
Vladimir Chebotarev
87cc80c30e
libdaemon: Moved default graphite config name to constant. [#CHEBOTAREV-14]
2017-08-24 16:37:27 +03:00
Alexey Milovidov
4687a2730d
Allow to override umask in config [#CLICKHOUSE-2].
2017-08-18 04:00:13 +03:00
proller
0490a268f7
Cmake: find_unwind: Fix disable on arm
2017-08-16 21:06:40 +03:00
blazerer
a11759c75b
mysqlxx transaction exception safety
...
Fix terminate on exception and rollback query fail.
2017-08-16 18:30:05 +03:00
alexey-milovidov
9b99dfb53d
Merge pull request #1031 from yandex/wait-for-insertion-in-distributed
...
Wait for insertion in distributed
2017-08-11 21:35:13 +03:00
alexey-milovidov
59e06c9a2c
Update iostream_debug_helpers.h
2017-08-10 06:29:06 +03:00
proller
7937903d56
Improve debug helpers
2017-08-10 06:29:06 +03:00
Vadim Skipin
e6344f9048
Extract handlers to allow reuse
2017-08-10 06:13:15 +03:00
proller
ac178bde1f
Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM ( #1083 )
...
* Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM
* Fix lib find order
* Allow define non-contrib cityhash farmhash metrohash
* Fix message
* Cmake: fixes
* clean
* Update CMakeLists.txt
2017-08-09 23:52:55 +03:00
Nikolai Kochetov
43dc201f49
merged with master
2017-08-08 15:11:49 +03:00
Nikolai Kochetov
ea2b486735
added threadpool to DistributedBlockOutputStream
2017-08-07 23:26:28 +03:00
Alexey Milovidov
b9d12ae234
Translated comments [#CLICKHOUSE-3].
2017-08-05 02:16:43 +03:00
Vitaliy Lyudvichenko
10c14cfccb
Small code enhancements according to clang-tidy. [#CLICKHOUSE-2931]
2017-08-04 17:35:36 +03:00
proller
23263a1acc
Fix apple build
2017-08-03 16:57:47 +03:00
proller
d6833a0d55
Cmake: remove global include_directories ( #1055 )
...
* Fix .h compile
* Cmake: remove global include_directories
* boost include hide
* fix cctz
* add \n
2017-08-03 15:44:39 +03:00
proller
465d305479
gcc7 and arm fixes ( #1041 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* gcc7 fixes
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* Fix arm build
* Fix nothrow
* Better arm detection
2017-07-29 22:58:10 +03:00
Alexey Milovidov
18e5c3bdc7
Miscellaneous [#CLICKHOUSE-2].
2017-07-28 18:28:57 +03:00
alexey-milovidov
3e03bf8e65
Update PoolWithFailover.cpp
2017-07-28 02:28:45 +03:00
Alexey Milovidov
aac6b8ed9f
Fixed error in mysqlxx::PoolWithFailover (failover just doesn't work) [#CLICKHOUSE-3167].
2017-07-28 00:07:41 +03:00
Alexey Milovidov
5bff1e0bfc
Miscellaneous [#CLICKHOUSE-2].
2017-07-27 23:52:14 +03:00
Alexey Milovidov
d08f06ee85
Miscellaneous [#CLICKHOUSE-2].
2017-07-27 23:40:32 +03:00
Alexey Milovidov
c477c7e1cb
Translated comments [#CLICKHOUSE-2].
2017-07-27 23:22:53 +03:00
Alexey Milovidov
9bb647d5d5
Translated comment [#CLICKHOUSE-2].
2017-07-27 22:58:25 +03:00
Nikolai Kochetov
5477e7c1f9
added date and time to number functions [#CLICKHOUSE-3132]
2017-07-21 20:51:08 +03:00
Alexey Zatelepin
874b180adf
don't skip top of the backtrace [#CLICKHOUSE-3094]
2017-07-20 18:23:26 +03:00
Vladimir Chebotarev
dd0905e906
common: Fixed a typo with initialization in YandexAppMainFuncImpl::main(). [#METR-21516]
2017-07-19 22:55:10 +03:00
Vladimir Chebotarev
43a2ff769f
common: Moved part of code from macros. [#METR-21516]
2017-07-19 21:44:57 +03:00
Nikolai Kochetov
116c889b42
translated comments for mysqlxx Connection adn Pool
2017-07-18 17:05:03 +03:00
Nikolai Kochetov
cfdbcb7fde
added mysql socket connection
2017-07-18 17:05:03 +03:00
proller
b172f7a0f1
Cmake: clear test variables with CMakePushCheckState (it will fix macos build issue) ( #992 )
2017-07-17 17:21:43 +03:00
Alexey Milovidov
a78ee72e50
Whitespaces [#CLICKHOUSE-3132].
2017-07-10 22:30:10 +03:00
Георгий Кондратьев
373b91c50d
Fix system libunwind test
...
`unw_init_local_signal` is provided as:
- `_ULx86_64_init_local_signal` in `libunwind`
- `_Ux86_64_init_local_signal` in `libunwind-generic`
`find_library (UNWIND_LIBRARY unwind)` looks for the first library;
`#define UNW_LOCAL_ONLY` before `#include <libunwind.h>` is necessary to select
this variant.
2017-07-10 10:38:56 +00:00
Alexey Milovidov
86eb4d2d06
Renamed Singleton to avoid conflicts with Arcadia* codebase [#DEVTOOLS-3343].
...
* - "Arcadia" is the name of Yandex's monorepo.
2017-07-10 07:34:14 +03:00
proller
4db8d09de9
Reorganize includes. part 1 ( #921 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
* Reorganize includes. part 1
* Update dbms_include.cmake
* Reorganize includes. part 2
* Reorganize includes. part 3
* dbms/src/Common/ThreadPool -> libs/libcommon
* Reorganize includes. part 4
* Fix print_include_directories
* Update thread_creation_latency.cpp
* Update StringRef.h
2017-06-23 23:22:35 +03:00
proller
2d359fee54
Make libunwind optional. Allow use custom libcctz ( #920 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
2017-06-23 17:41:07 +03:00
Alexey Milovidov
d823135d24
Using libunwind for stack trace from signal handler [#CLICKHOUSE-3094].
2017-06-23 08:39:27 +03:00
Alexey Milovidov
b845b181a5
Miscellaneous [#CLICKHOUSE-2].
2017-06-22 22:51:38 +03:00
proller
70d9fb06b4
PerformanceTest: use getMultiple*FromConfig, fix debug helpers ( #915 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
2017-06-22 21:56:40 +03:00
proller
8ef51bf19b
Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers ( #905 )
...
* Fix missing includes
* ComplexKeyCacheDictionary: Move includes to .cpp
* Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers
* Multiplatform memory size getter
* Requested changes
* Requested changes
* Requested changes
* fix
* Requested changes
2017-06-22 18:57:37 +03:00
Liu Cong
57d999eb35
Fix build cause by libs/libcommon/include/ext/bit_cast.h
2017-06-22 17:14:46 +03:00
Alexey Milovidov
8c9aa37318
Removed useless code [#CLICKHOUSE-2].
2017-06-21 20:16:24 +03:00
proller
9c7d30e0df
Fix missing includes
2017-06-20 17:16:51 +03:00
Alexey Milovidov
1b17f6191b
Addition to prev. revision [#DEVTOOLS-3381].
2017-06-19 23:09:11 +03:00
Alexey Milovidov
05accbdcbe
Removed cyclic dependency [#DEVTOOLS-3381].
2017-06-19 23:06:35 +03:00
aprudaev
1cd217ba56
Fix reload configuration memory leak ( #892 )
...
* On reload remove previous configuration from LayeredConfiguration.
* fix build
2017-06-19 16:31:55 +03:00
Alexey Milovidov
0743cfe6d7
Removed code that was used solely by Metrika [#DEVTOOLS-3343].
2017-06-15 21:27:51 +03:00
alexey-milovidov
a669136ac2
Merge branch 'master' into CLICKHOUSE-5
2017-06-13 07:30:36 +03:00
Alexey Milovidov
3ddea6b260
Removed useless code [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
ea9c8dcaf7
Removed useless code [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
ea27922764
Fixed build [#CLICKHOUSE-2].
2017-06-07 04:48:22 +03:00
Alexey Milovidov
0d7d379b44
Removed duplicate code [#CLICKHOUSE-2].
2017-06-06 21:36:13 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Alexey Milovidov
6bd016f380
Found some .hpp files and changed tabs to spaces inside [#CLICKHOUSE-2].
2017-06-06 20:10:04 +03:00
Vitaliy Lyudvichenko
9fd8d6b79f
Add ALTER queries. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
proller
948d9c39cd
Try fix macos build. Add more debug io helpers
2017-04-28 21:57:26 +03:00
proller
bcb230ebc6
Fix incudes, move code from daemon/OwnPatternFormatter.h
2017-04-27 08:40:27 +03:00
proller
cd4a5c040c
More debug io helpers: some types from dbms ( #725 )
...
* release: import options from jenkins script
* correct chdir
* limit parallel build threads
* VERSION_POSTFIX
* add postfix
* support BUILD_TYPE
* Removed unused.
* Fixed error [#CLICKHOUSE-2960].
* Fix version incrementing
* Fix message
* Fix build without icu and readline
* More io helpers: some types from dbms
* Requested changes
2017-04-26 05:50:03 +03:00
proller
9d3a936056
add missing cmake for zookeeper-clizookeeper-cli
2017-04-19 19:17:08 +03:00
alexey-milovidov
35abae95c8
Allow to disable ICU ( #711 )
...
* Allow to disable ICU [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 04:06:29 +03:00
alexey-milovidov
c9c8c8ec50
Better option to disable mysqlclient ( #710 )
...
* Better support for disabling libmysqlclient [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:25:57 +03:00
proller
b6884133b3
Rename zkutil-test -> clickhouse-zookeeper-cli [#CLICKHOUSE-2947]
2017-04-17 19:58:13 +03:00
Alexey Milovidov
41e97787e3
Less dependencies [#CLICKHOUSE-2].
2017-04-16 08:40:17 +03:00
proller
5db73c5d31
Allow build without libmysqlclient ( #698 )
...
* Allow build without libmysqlclient
* better condition
* cmake option ENABLE_MYSQL
* fix formatting
* Update find_mysqlclient.cmake
* Update find_mysqlclient.cmake
* Update Types.h
* Better throw's
2017-04-14 22:38:56 +03:00
proller
72ccc69212
Debian: simpler package ( #662 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
* move files from tools/etc to debian
* dont generate control
* version
* ok.
* wip
* Cmake: dont touch CMAKE_INSTALL_PREFIX
* wip
* works!
* clean
* okay
* like old
* wip
* wip
* okay
* clickhouse-server-base-dbg
* clean
* clickhouse-server-dbg
* Debian: Remove daemons
* Update rules
* add source/format
* control clean
* add watch
* clean
* clean
* temp fix build
* clean
* docs
* fake make_control
* fix
* testme
* testme
* add metrika package
* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
09e3134bf4
Revert "Using C++17 [#CLICKHOUSE-3]."
...
This reverts commit 431a735efe
.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8
Using C++17 [#CLICKHOUSE-3].
2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0
Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//'
2017-03-31 19:00:30 +03:00
proller
68c02c73fa
Use zookeeper default port 2181 if not specified
2017-03-28 20:50:58 +03:00
Vitaliy Lyudvichenko
2ab25099cd
Move boost::tests to Google Tests. [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
Alexey Milovidov
02c2bb926f
iostream_debug_helpers: improvement [#CLICKHOUSE-2901].
2017-03-23 22:38:17 +03:00
Alexey Zatelepin
1ce0300c51
better detection of local timezone id [#CLICKHOUSE-2852]
2017-03-23 20:13:04 +04:00
proller
670e98fa92
allow several <graphite> targets ( #603 )
...
* allow several <graphite> targets
* fix
* fix
* Adjustable parts
* changelog version
* fix
* changelog
* Style fixes
* attachSystemTables
* config describe
* fixes
* fixes
2017-03-21 23:08:09 +04:00
proller
d98c95ddcd
fix build
2017-03-20 22:18:10 +03:00
Alexey Zatelepin
fccbc82c24
translate comments
2017-03-19 21:58:12 +04:00
Alexey Zatelepin
faadab3034
Allow including config elements from ZooKeeper [#CLICKHOUSE-2794]
2017-03-19 21:58:12 +04:00
egatov
2c12df495c
Metr 24491 ( #606 )
...
* fixed external biuld [#METR-24491].
* fix [#METR-24491].
* Update CMakeLists.txt
2017-03-16 22:27:23 +03:00
proller
5b8ed657f9
fix build ( #602 )
...
* fix build
* fix freebsd
2017-03-16 18:04:05 +03:00
proller
930ac5b2ce
move ClickHouseRevision to dbms
2017-03-16 13:51:41 +04:00
proller
28ed324702
add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs
2017-03-16 13:51:41 +04:00
Alexey Zatelepin
98a866ee5b
split a single large SET_WATCHES message into multiple smaller ones [#CLICKHOUSE-2101]
...
See https://issues.apache.org/jira/browse/ZOOKEEPER-706 for details.
2017-03-15 23:44:24 +04:00
robot-metrika-test
c2c5128638
Auto version update to [54182]
2017-03-15 17:06:03 +03:00
Alexey Milovidov
b35bc57fdc
Addition to prev. revision [#CLICKHOUSE-2].
2017-03-13 22:35:46 +03:00
Alexey Milovidov
1c6c751108
Better overloads [#CLICKHOUSE-2].
2017-03-13 22:23:56 +03:00
proller
b6e01cd47e
Fix isolated usage of all .h files, move some code to .cpp ( #578 )
...
* split ColumnAggregateFunction.h
* format
* Allow use re2_st without cmake
* use std type in find_first_symbols.h
* fix ArrayEvaluator.h
* include fixes
* split ColumnConstAggregateFunction.h
* fix StorageMaterializedView.h
* split AddingDefaultBlockOutputStream.h
* move CSVRowInputStream::updateDiagnosticInfo to .cpp
* split ParserEnumElement.h
* format
* split DB/Parsers/ParserUseQuery.h
* clean
2017-03-11 04:27:59 +04:00
robot-metrika-test
e3d9b12ac2
Auto version update to [54180]
2017-03-09 19:48:53 +03:00
robot-metrika-test
655489228b
Auto version update to [54179]
2017-03-09 11:02:02 +03:00
proller
293b8b958c
Allow use external re2 with re2_st=re2 ( #547 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
2017-03-07 20:10:04 +04:00
proller
107fb86a40
Support multiplie listen addresses, set listen_host to local only ( #545 )
...
* Support multiplie listen addresses, set listen_host to local only
* set correct default
* better config
* no include
* Update Server.cpp
2017-03-03 04:24:56 +04:00
robot-metrika-test
e83d613b48
Auto version update to [54178]
2017-03-02 18:07:33 +03:00
proller
0e91c47066
Allow build with external double-conversion lz4 zstd re2 zookeeper ( #531 )
...
* Allow build with external double-conversion lz4 zstd re2 zookeeper
* fix
* fix
* freebsd fixes
* spaces
* fix
* fix
* fix
* wip
* move
* fix
2017-03-01 03:49:04 +04:00
robot-metrika-test
6f106c748e
Auto version update to [54173]
2017-02-27 10:01:52 +03:00
Vasily Okunev
aec39daf99
Manual version increment [#METRIQA-732].
2017-02-27 09:19:08 +03:00
Alexey Milovidov
7bee9f650e
Removed old logic, when paths in graphite could use something other than FQDN [#MTRSADMIN-2700].
2017-02-16 22:46:22 +03:00
proller
1491a383d2
iostream_debug_helpers ( #493 )
...
* iostream_debug_helpers
* fixes
* fix
* fix
2017-02-14 23:14:34 +04:00
Alexey Milovidov
bc9f8721db
Auto version update to [54164]
2017-02-14 16:41:08 +03:00
proller
b5b64ceb2b
Fix apple .so version ( #490 )
...
* Cmake: fix fallback to internal libs if no external found
* wip
* style
* fix
* Fix apple .so version
2017-02-14 16:34:32 +04:00
Alexey Milovidov
b5d5fcc17d
Merge branch 'master' of github.com:yandex/ClickHouse
2017-02-14 15:12:44 +03:00
Alexey Milovidov
b4a47af61d
Style [#CLICKHOUSE-2].
2017-02-14 15:12:23 +03:00
proller
ed659bb64e
Create core dir: dont crash if have no permissions ( #486 )
...
* Create core dir: dont crash if have no permissions
* debian postinst: Fix changing owner of old /opt/clickhouse
* space
* fix
* fix
2017-02-14 16:11:46 +04:00
proller
f8d2f19280
Fix odbc include, clang-format fixes, misc ( #484 )
...
* Cmake: fix fallback to internal libs if no external found
* wip
* style
* fix
2017-02-13 17:59:34 +04:00
alexey-milovidov
cee5ab01fb
Merge branch 'master' into merge_with_metrika
2017-02-11 00:27:15 +04:00
Alexey Milovidov
f7aca5e9a4
Auto version update to [54160]
2017-02-09 10:16:31 +03:00
proller
9bbe8fe5c4
Dynamic library mode ( #471 )
...
* Cmake: UNBUNDLED option
* Dynamic library mode
2017-02-08 22:53:00 +04:00
proller
f87ae6808f
cmake: USE_INTERNAL_ZLIB_LIBRARY ( #463 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
* fix
* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
proller
b2b16b407f
More include fixes ( #462 )
...
* More include fixes
* fix
2017-02-08 01:26:32 +04:00
Pavel Kartavyy
5107cd94b3
support absence of BaseDaemon in OwnPatternFormatter
2017-02-07 19:37:56 +03:00
Pavel Kartavyy
6d48eacbff
update usage of OwnPatternFormatter
2017-02-07 15:24:28 +03:00
Alexey Zatelepin
7522cecd67
differentiate setrlimit error messages
2017-02-07 09:28:53 +04:00
Pavel Kartavyy
224ba16dcb
use project source and binary dirs instead of global dirs
2017-02-06 18:15:19 +03:00
Pavel Kartavyy
b61bd0b96b
Merge commit '84e4fb00bd0373058bfc091d2d19a8034df7cc93' into update-clickhouse
...
Conflicts:
metrica/src/ClickHouse/libs/libdaemon/src/BaseDaemon.cpp
2017-02-06 17:57:47 +03:00
Vladimir Chebotarev
817587fb76
libcommon: More unique name for stream. [#METR-24353]
2017-02-02 17:19:13 +03:00
Alexey Milovidov
ff55521ac7
Auto version update to [54147]
2017-02-01 23:49:52 +03:00
proller
6e89ae9c82
release --version : only generate, commit and push new version ( #435 )
2017-02-02 00:49:32 +04:00
proller
d59f34f052
Fix generating release version.
2017-02-01 18:10:20 +04:00
proller
c51801d776
Change default user and paths [#CLICKHOUSE-2715] ( #382 )
...
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]
* wip
* Auto version update to [54141]
* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
proller
3135ff17b6
Fix compiling utils without readline ( #429 )
...
* Fix compiling utils without readline
* fix
2017-01-31 23:34:30 +04:00
proller
79a7e893c7
system.build_options: move generated data to cpp, dont regenerate every compile ( #423 )
...
* system.build_options: move generated data to cpp, dont regenerate every compile
* Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1
.
* fix
2017-01-31 22:03:56 +04:00
Alexey Milovidov
fbe888c224
Manual version update [#CLICKHOUSE-2].
2017-01-30 08:27:26 +03:00
proller
46037bb670
Allow link with jemalloc ( #404 )
...
* Allow link with jemalloc
* wip
* fix
* fix
2017-01-28 00:00:02 +04:00
proller
8b4b1534e3
Cmake: Test on having sse ( #405 )
...
* Cmake: Test on having sse
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* fix
* fix
* fix
* fix
2017-01-27 23:55:33 +04:00
proller
20d6c20a72
Dont throw if setrlimit failed (just print warning), Little build_options fix ( #403 )
...
* Little improve system.build_options
* Dont throw if setrlimit failed (just print warning)
Little build_options fix
2017-01-27 01:46:17 +04:00
Alexey Milovidov
43971faf32
Merge branch 'localhost' of https://github.com/proller/ClickHouse into proller-localhost
2017-01-27 00:42:56 +03:00
alexey-milovidov
0e38fdcbf3
Remove stringstream performance on very short queries ( #406 )
...
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Renamed variable in test [#CLICKHOUSE-2].
* Benchmark: whitespace [#CLICKHOUSE-2].
* Manual version update [#CLICKHOUSE-2].
2017-01-27 01:30:11 +04:00
proller
d319d97bb6
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-26 17:36:38 +03:00
proller
a270e9a65f
Little improve system.build_options
2017-01-26 16:15:16 +03:00
proller
35dce017a2
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-26 15:07:29 +03:00
proller
e715ddd72a
SELECT * FROM system.build_options [#METR-24175] ( #398 )
...
* start [#METR-24175]
* missing
* wip
* add spaces
* wip
* wip
* fix
* fix
* missing
* style fix
2017-01-26 02:24:36 +04:00
proller
70e641f58a
Fix readline finding on mac; use config for readline vars ( #397 )
...
* Fix readline finding on mac; use config for readline vars
* fix
2017-01-26 00:14:41 +04:00
proller
3fc4998a01
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 21:27:23 +03:00
proller
f890af1f8d
Remove code and includes from Collator.h, fix including <unicode/...> in dbms ( #395 )
2017-01-25 22:19:15 +04:00
proller
9c3133deac
wip
2017-01-25 16:17:13 +03:00
proller
1d7c5f63df
Cmake: fix includes with PATH_SUFFIXES ( #389 )
2017-01-25 01:07:08 +04:00
alexey-milovidov
5ee4c205c8
Revert "Cmake: fix includes with PATH_SUFFIXES" ( #388 )
2017-01-25 00:52:00 +04:00
proller
b068ffb100
Cmake: fix includes with PATH_SUFFIXES ( #387 )
2017-01-24 23:54:35 +04:00
Alexey Milovidov
c7aaef9e13
Comments [#CLICKHOUSE-2765].
2017-01-22 16:07:57 +03:00
Alexey Milovidov
149d1ead71
Fixed error [#CLICKHOUSE-2765].
2017-01-22 16:04:36 +03:00
Alexey Milovidov
6ec9380510
Allow to set server timezone from configuration file [#CLICKHOUSE-2765].
2017-01-22 15:53:24 +03:00
Alexey Milovidov
f46e39fa97
Addition to prev. revision [#CLICKHOUSE-2765].
2017-01-22 13:45:05 +03:00
Alexey Milovidov
56cc8ca948
Addition to prev. revision [#CLICKHOUSE-2765].
2017-01-22 13:31:15 +03:00
Alexey Milovidov
4bb7b58e10
Addition to prev. revision [#CLICKHOUSE-2765].
2017-01-22 13:30:08 +03:00
Alexey Milovidov
f22a2303c7
Addition to prev. revision [#CLICKHOUSE-2765].
2017-01-22 13:03:28 +03:00
Alexey Milovidov
f41480f1cd
More simple time zones implementation [#CLICKHOUSE-2765].
2017-01-22 12:27:51 +03:00
Alexey Milovidov
8de0740291
Using cctz library [#CLICKHOUSE-2].
2017-01-21 05:32:02 +03:00
proller
38040f5323
Сmake: more info in message about libreadline ( #376 )
...
* Cmake: more info in message about libreadline
* icu cmake
* cmake: glib message
2017-01-20 23:57:30 +04:00
proller
2688f4563f
cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config ( #375 )
...
* Manual version update to [54135]
* Temporary release script fix [#METRIQA-732]
* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
proller
64a84c7c3d
Manual version update to [54135]
2017-01-20 15:53:54 +03:00
proller
04d2149e8a
enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… ( #372 )
...
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1' option
* add -Werror for utils
2017-01-19 23:30:58 +04:00
proller
7201e2846a
Freebsd doc and build fix. finding Poco_NetSSL_OpenSSL removed (not used) ( #370 )
...
* Freebsd doc and build fix. finding Poco_NetSSL_OpenSSL removed (not used)
* fix override
2017-01-19 22:53:29 +04:00
proller
22797da2a6
Move generate version from git tool to source ( #351 )
...
* wip
* fix
* wip
* Auto version update to [54146]
* Auto version update to [54147]
* Auto version update to [54148]
* teeeeest
* Auto version update to [54149]
* wip
* Auto version update to [54154]
* wip
* wip
* wip
2017-01-19 03:28:23 +04:00
proller
a2e87911ce
Apple fix: lost apple_version.h
2017-01-18 20:52:59 +03:00
proller
f63a3ab167
Fix some errors in apple build ( #362 )
...
Fix some errors in apple build
2017-01-18 20:16:35 +03:00
proller
f7c0998599
fix clang build ( #353 )
...
* Freebsd clang3.8 compile fixes
* clean
* fix
* fix clang build
2017-01-18 02:48:01 +04:00
proller
db0fce346a
Freebsd clang3.8 compile fixes ( #352 )
...
* Freebsd clang3.8 compile fixes
* clean
2017-01-18 01:00:23 +04:00
proller
29475c94c0
Reorganize includes, less depends in .h files
2017-01-16 22:47:11 +03:00
proller
e634bc05a9
move git fetch from libs/libcommon/src/get_revision_lib.sh to release_lib.sh
2017-01-16 17:50:06 +03:00
Alexey Milovidov
415c588af0
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:16:23 +03:00
Alexey Milovidov
68cf046e6c
Addition to prev. revision [#CLICKHOUSE-2716].
2017-01-14 00:29:44 +03:00
Alexey Milovidov
d8f0170bb7
Addition to prev. revision [#CLICKHOUSE-2716].
2017-01-14 00:24:59 +03:00
Alexey Milovidov
01b7c75d58
Addition to prev. revision [#CLICKHOUSE-2716].
2017-01-14 00:24:29 +03:00
Alexey Milovidov
d26f045819
Addition to prev. revision [#CLICKHOUSE-2716].
2017-01-14 00:18:07 +03:00
Alexey Milovidov
a86a86aa68
Addition to prev. revision [#CLICKHOUSE-2716].
2017-01-14 00:07:25 +03:00
Alexey Milovidov
fdc2464c78
Do not expose MySQL headers in headers of mysqlxx library [#CLICKHOUSE-2716].
2017-01-13 23:37:37 +03:00
proller
c601dacf31
arm64 compile fix
2017-01-13 22:01:45 +03:00
proller
ee3882f251
Allow link with external libs: poco, tcmalloc
2017-01-13 14:25:44 +03:00
proller
4bfa697656
Add more search paths to find_mysqlclient.cmake, rename find_libmysqlclient.cmake -> find_mysqlclient.cmake
2017-01-12 15:20:43 +03:00
proller
d00765fb15
Find pthread lib by cmake
2017-01-11 16:40:02 +03:00
Alexey Zatelepin
ceb4d4a3a5
fix build (do not remove my_compress.c.o from libmysqlclient.a) [#METR-23582]
2017-01-09 22:54:40 +03:00
alexey-milovidov
c58cb0ccf2
Merge pull request #295 from proller/METR-23811
...
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 23:21:03 +04:00
Alexey Zatelepin
1c5db52d7d
remove zlib code compiled into libmysqlclient.a (fix precise build) [#METR-23582]
2017-01-09 22:12:36 +03:00
proller
1649b003a0
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 16:42:29 +03:00
Alexey Zatelepin
1b61f2a9d3
use zlib-ng from contrib everywhere [#METR-23582]
2017-01-08 22:24:38 +03:00
Alexey Milovidov
ad6507f9df
Preparation [#METR-23490].
2016-12-27 09:36:53 +03:00
proller
4bc003c4c1
Porting to freebsd: initial, compile ok, most tests ok.
2016-12-24 01:03:10 +00:00
proller
d270053c3c
Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd.
2016-12-21 23:04:27 +03:00
Alexey Milovidov
050fc12824
mysqlxx: updated for compatibility with CentOS [#METR-20000].
2016-12-12 09:45:46 +03:00
Alexey Milovidov
c564b505b6
Fixed build on clang with debug mode [#METR-2944].
2016-12-12 09:18:28 +03:00
Alexey Milovidov
90a60387b7
Using internal boost library [#METR-2944].
2016-12-12 08:01:56 +03:00
Alexey Milovidov
d605bfdc9d
Using internal boost library [#METR-2944].
2016-12-12 07:57:09 +03:00
Alexey Milovidov
9c8f4f02c4
Using internal boost library [#METR-2944].
2016-12-12 07:27:57 +03:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
Vladimir Chebotarev
c1dd1467d6
libcommon: Build was fixed. [#METRIQA-600]
2016-12-08 16:22:59 +04:00
Vladimir Chebotarev
b72ecc383d
libcommon: Support for invoking from /tmp. [#METRIQA-600]
2016-12-08 15:12:54 +04:00
Vladimir Chebotarev
93c805c7f5
libcommon: Extract revision from source directory. [#METR-21516]
2016-12-07 01:53:32 +03:00
Vladimir Chebotarev
a86e56cd1f
cmake: Special treating of rt in some cases. [#METR-21516]
2016-12-07 00:01:19 +03:00
Vladimir Chebotarev
eb552f2943
cmake: Improved copy_headers.sh script, minor fixes. [#METR-21516]
2016-12-06 21:04:10 +03:00
Vladimir Chebotarev
ca5c1dc31b
cmake: Improved build. [#METR-21516]
2016-12-06 19:51:34 +03:00
Vladimir Chebotarev
8e1a6aaf3e
cmake: Boost, OpenSSL into find_package(). [#METR-23701]
2016-12-06 16:20:32 +03:00
Vladimir Chebotarev
bcc5500f91
cmake: More options. [#METR-23701]
2016-12-05 15:43:14 +03:00
Vitaliy Lyudvichenko
4df22acea9
Try to fix LIBTCMALLOC linking.
2016-11-30 15:10:39 +03:00
Alexey Milovidov
6fbf550387
Write microseconds to log [#METR-22327].
2016-11-18 02:29:22 +03:00
Vladimir Chebotarev
28732f6a7c
libcommon: Improved build under OS X. [#METR-21516]
2016-11-16 05:25:58 +03:00
alexey-milovidov
3432f84409
Merge pull request #183 from ztlpn/METR-23447
...
Client uses server timezone for interpreting DateTime strings [#METR-23447]
2016-11-16 05:22:28 +04:00
Alexey Zatelepin
e1bb33cad0
PR fixes:
...
* add forgotten const
* print exception string if switching to server timezone failed
* protocol compatibility with old versions
* use ALWAYS_INLINE in DateLUT.h
2016-11-15 10:24:55 +00:00
alexey-milovidov
52390b0180
Merge pull request #150 from ludv1x/METR-23101
...
clickhouse-local application and File(...) storage
2016-11-14 04:03:03 +04:00
Alexey Zatelepin
3a7260e200
[#METR-23447] Client uses server timezone for DateTime string parsing
2016-11-13 19:34:31 +00:00
Vladimir Chebotarev
d4ba394100
libmysqlxx: Secure way to patch mysqlclient library. [#METR-21516]
2016-11-09 23:08:29 +03:00
Vitaliy Lyudvichenko
05620299cd
Reverted changes in main Server and BaseDaemon classes.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
d952dd39b0
Merged clickhouse-server and clickhouse-local into common app.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
cf24f6e2d1
Implemented draft version of clickhouse-local service.
2016-11-09 22:03:47 +03:00
Vladimir Chebotarev
cdaece7dfa
: More specific usage of static libraries. [#METR-21516]
2016-11-09 21:49:01 +03:00
Vladimir Chebotarev
e2ceb63c54
libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516]
2016-11-03 15:41:13 +03:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
15b369bd08
More instrumentation [#METR-23272].
2016-10-24 16:47:15 +03:00
Alexey Milovidov
98e36c68da
Leader election: more safe [#METR-23272].
2016-10-24 16:08:07 +03:00
Alexey Milovidov
6e49241120
Better [#METR-23272].
2016-10-24 14:44:34 +03:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03:00
Alexey Milovidov
39f2527012
Fixed memory leak [#METR-2944].
2016-10-23 10:41:26 +03:00
Alexey Milovidov
8b1d686254
Whitespaces [#METR-2944].
2016-10-23 09:58:26 +03:00
Alexey Milovidov
afcd933237
Probably better [#METR-23198].
2016-10-23 06:46:51 +03:00
Pavel Kartavyy
d78e1dfa8c
test-helpers: fix build
2016-10-04 19:46:27 +03:00
Pavel Kartavyy
78a8235802
json_test: fix build
2016-10-04 19:10:15 +03:00
Pavel Kartavyy
6b5a029e85
common: remove Test.h. Recommended to use boost_unit_test_framework instead [#METR-22785]
2016-10-04 18:13:52 +03:00
Pavel Kartavyy
43f81352cf
Test: add TestLogInitializer to initialise logger in boost unit test [#METR-22785]
2016-10-04 13:38:52 +03:00
Pavel Kartavyy
b6118b1581
Test::initLogger(): use custom formatter in logging. supports logname, timestamp etc. [#METR-22785]
2016-10-04 12:58:38 +03:00
alexey-milovidov
812f392ad3
Merge pull request #119 from yandex/basedaemon-fix
...
Basedaemon fix destructor
2016-09-26 17:59:27 +04:00
Alexander Prudaev
a1c8008f2d
fix segfault in BaseDamon destructor [#METR-22887].
2016-09-26 15:34:54 +03:00
Pavel Kartavyy
2f6b489ec2
daemon: add comments
2016-09-21 16:30:27 +03:00
Alexander Prudaev
174b9a806d
merge clickhouse into metrika repo
2016-09-14 16:20:17 +03:00
Pavel Kartavyy
b04cb69e21
libdaemon: add tryGetInstance [#METR-22622]
2016-09-06 21:46:01 +03:00
Alexey Arno
882d40889b
dbms: Better [#METR-18510]
2016-09-01 17:03:42 +03:00
Alexey Arno
6c064ab55b
dbms: Better comment [#METR-18510]
2016-09-01 13:24:06 +03:00
Alexey Arno
4db7b09ee3
dbms: Better comment [#METR-18510]
2016-09-01 12:58:56 +03:00
Alexey Arno
b62b499a9c
dbms: fixed race condition in SingleBarrier [#METR-18510]
2016-09-01 11:58:49 +03:00
Yuri Dyachenko
99f91e93ba
renamed: libs/libcommon/include/ext/share_ptr_helper.hpp -> libs/libcommon/include/ext/shared_ptr_helper.hpp
2016-08-30 22:31:50 +03:00
Yuri Dyachenko
81df630c68
fix comment
2016-08-30 22:31:26 +03:00
Yuri Dyachenko
94a2186dde
rename ext::share_ptr_helper -> ext::shared_ptr_helper
2016-08-30 22:27:15 +03:00
Yuri Dyachenko
e5825f790f
use std::enable_shared_from_this for IStorage
2016-08-29 16:28:34 +03:00
Yuri Dyachenko
065b02494a
add -Wold-style-cast
2016-08-26 22:55:11 +03:00
Vasily Okunev
1cac1e7d69
Common get_revision function.
2016-08-25 20:55:25 +03:00
alexey-milovidov
9148209bc2
Merge pull request #80 from yandex/metrica-sync2
...
Metrica sync2
2016-08-23 18:18:19 +04:00
Pavel Kartavyy
38102a356c
StrongTypedef: fixed bug with same type. Supported only moved types like unique_ptr
2016-08-23 13:41:08 +03:00
Pavel Kartavyy
ba9cf229cd
dbms: remove unused headers
2016-08-22 18:07:02 +03:00
Pavel Kartavyy
8b6a8a133b
dbms: fix build
2016-08-22 17:55:49 +03:00
Pavel Kartavyy
2032acd557
Merge commit 'e960efd5e63e4de51151724db92e6c2548aa88d9'
...
Conflicts:
metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
2016-08-22 17:22:27 +03:00
Alexey Milovidov
453c5e1528
Fixed build [#METR-2807].
2016-08-19 20:03:23 +03:00
Pavel Kartavyy
6e7bb0cd65
Merge branch 'master' into METR-19530
...
Conflicts:
metrica/src/CMakeLists.txt
metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
metrica/src/libs/CMakeLists.txt
metrica/src/libs/liblogbroker-client/src/LogBroker.cpp
metrica/src/libs/liblogbroker-log-import/include/logbroker-log-import/LogBrokerLogImportTask-inl.h
metrica/src/libs/libstatdaemons/include/statdaemons/write_destinations/ClickHouseCluster.h
metrica/src/programs/cleanerd/src/config.xml
metrica/src/programs/deduplicatord/src/Task.cpp
metrica/src/programs/visit-log-processor/src/VisitLogHandler.h
metrica/src/tools/ssqls/templates/header.tpl
2016-08-19 17:15:58 +03:00
Pavel Kartavyy
9c8697655e
build: fix build after merge with clickhouse repo
2016-08-18 14:17:07 +03:00
Pavel Kartavyy
f9af920679
Merge commit '80e8c38c280f60d11ede1833908e3f68344e1d08'
2016-08-18 12:36:38 +03:00
Alexey Milovidov
d72d9733a8
Fixed warnings on clang [#METR-2944].
2016-08-07 19:25:31 +03:00
Alexey Milovidov
9a07830dbb
Removed useless code (experimental) [#METR-2944].
2016-08-02 04:46:05 +03:00
Alexey Milovidov
1c25aa3b9d
Removed useless code [#METR-2944].
2016-08-01 23:03:55 +03:00
Alexey Milovidov
6d6c22f92e
Allow to start under thread sanitizer [#METR-2944].
2016-07-30 07:44:04 +03:00
Alexey Milovidov
ea734b6bee
Removed compatibility layer with OLAPServer [#METR-2944].
2016-07-30 04:08:00 +03:00
Alexey Vasiliev
1bef561c32
code reviewed [#MOBMET-3538]
2016-07-29 15:50:19 +03:00
Alexey Vasiliev
ab78f8d0bf
GraphiteWriter: fixed invalid storage type of variable [#MOBMET-3538]
2016-07-29 11:00:16 +03:00
Alexey Vasiliev
8aebb9396f
deduplicatord: supported layers [#MOBMET-3538]
2016-07-28 12:37:21 +03:00
Alexey Milovidov
8922aafc39
Fixed error when 'core_dump,size_limit' configuration parameter has no effect [#BSDEV-55590].
2016-07-24 02:03:28 +03:00
Pavel Kartavyy
5199873d12
logbroker-import: faster balancing
2016-07-14 14:42:51 +03:00
Alexey Milovidov
55ed2904f4
Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087].
2016-07-14 08:22:09 +03:00
Pavel Kartavyy
aaf4207c38
logbroker-import: develop partition release
2016-07-13 17:14:05 +03:00
Pavel Kartavyy
34b27dbbe4
logbroker-import: limited number of workers
2016-07-12 13:41:37 +03:00
alexey-milovidov
4cb7924b1e
Merge pull request #47 from yandex/change-signal
...
terminate sends SIGTERM instead of SIGINT
2016-07-11 21:24:37 +03:00
Pavel Kartavyy
5ad60a21ef
BaseDaemon: add missed throw
2016-07-09 00:20:44 +03:00
Pavel Kartavyy
76abce1ce0
zkutil::Lock: add comment
2016-07-08 15:01:59 +03:00
Pavel Kartavyy
6bdc4ac851
BaseDaemon: change terminate signal to SIGTERM.
...
gdb catches SIGINT and by default don't pass it to daemon
2016-07-08 13:26:58 +03:00
Alexey Milovidov
cb83414021
Addition to prev. revision [#METR-2944].
2016-06-27 11:08:39 +03:00
Alexey Milovidov
93954476bc
Addition to prev. revision [#METR-2944].
2016-06-27 10:47:08 +03:00
Alexey Milovidov
50994f0458
Addition to prev. revision [#METR-2944].
2016-06-27 10:16:36 +03:00
Alexey Milovidov
96805d4c2a
Addition to prev. revision [#METR-2944].
2016-06-27 10:15:48 +03:00
Alexey Milovidov
d578fae595
Addition to prev. revision [#METR-2944].
2016-06-27 10:13:54 +03:00
Alexey Milovidov
67890d185a
Addition to prev. revision [#METR-2944].
2016-06-27 09:52:27 +03:00
Alexey Milovidov
30ce038312
Added option for compatibility with older glibc versions (experimental) [#METR-2944].
2016-06-27 09:34:10 +03:00
Alexey Milovidov
6ba6d01491
Using in-tree zookeeper client library [#METR-21848].
2016-06-26 11:16:13 +03:00
Pavel Kartavyy
2435af6e31
MultiVersion: add ctor, set from unique_ptr
2016-06-14 14:45:42 +03:00
Pavel Kartavyy
01cee7b3ce
graphite: move daemon specific functions to statdaemond [#METR-19530]
2016-06-14 14:45:39 +03:00
Pavel Kartavyy
8ad40e5d4c
write statistic to graphite
2016-06-14 14:45:37 +03:00
Pavel Kartavyy
f8ed64a4ee
statdaemons: add environment detector
2016-06-14 14:45:37 +03:00
Pavel Kartavyy
075129850b
zkutil: improve Ops description
2016-06-14 14:45:36 +03:00
Pavel Kartavyy
894daaccf3
zookeeper: add describe method for operations
2016-06-14 14:45:35 +03:00
Pavel Kartavyy
2a15df5364
zkutil::Lock: fixed bug if lock was moved
2016-06-14 14:44:34 +03:00
Pavel Kartavyy
2e67346026
logbroker-import: fix build [#METR-19530]
...
fix build
2016-06-14 14:44:33 +03:00
Pavel Kartavyy
3122b21a44
StrongTypedef: specialize std::hash
2016-06-14 14:44:32 +03:00
Pavel Kartavyy
69e1a0ab2f
strong_typedef: fix build
2016-06-14 14:44:30 +03:00
Pavel Kartavyy
4e94c68bbb
logbroker-import: add CommitMaker, ZooKeeperState [#METR-19530]
2016-06-14 14:44:26 +03:00
Alexey Milovidov
abbb80ddd9
Modifications for address sanitizer [#METR-2944].
2016-06-10 21:58:04 +03:00
Pavel Kartavyy
ab88279577
BaseDaemon: terminate on double SIGINT
2016-06-10 15:01:14 +03:00
Pavel Kartavyy
c4017da0d8
BaseDaemon: improve message
2016-06-09 12:59:39 +03:00
Pavel Kartavyy
f901ffe116
BaseDaemon: add missed space
2016-06-09 12:59:39 +03:00
Pavel Kartavyy
90acaf81e5
zkutil: add missed library
2016-06-08 17:40:46 +03:00
Pavel Kartavyy
2416f1bd91
create_revision: change regexp
2016-06-08 17:40:17 +03:00
Pavel Kartavyy
ebafc24121
BaseDaemon: waitForTerminationRequest() use sigaction instead of sigwait
2016-06-08 17:39:19 +03:00
Vladimir Chebotarev
7f942e782c
libcommon: removed pure attribute from JSON [#METR-21516]
2016-06-02 01:43:43 +03:00
Alexey Milovidov
c518abe882
Get rid of Poco::SharedPtr [#METR-21503].
2016-05-28 20:31:50 +03:00
Alexey Milovidov
d4eba7602d
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:26:29 +03:00
Alexey Milovidov
6917fe9d16
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:24:59 +03:00
Alexey Milovidov
6776cb7dec
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:24:27 +03:00
Alexey Milovidov
0d51b4e3c8
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:21:16 +03:00
Alexey Milovidov
4c7eb03b63
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:35:44 +03:00
Alexey Milovidov
39d87694be
Fixed error [#METR-20000].
2016-05-28 03:32:37 +03:00
Alexey Milovidov
a8ca56ecc0
Better [#METR-2944].
2016-05-28 03:22:09 +03:00
Alexey Milovidov
29f013ce8a
Better [#METR-2944].
2016-05-28 03:16:28 +03:00
Vladimir Chebotarev
da45ac3d30
libmysqlxx: Proper target_link_libraries [#METR-20000]
2016-05-23 17:05:17 +03:00
Alexey Milovidov
052b3d5154
Fixed build for autotests [#METR-20000].
2016-05-23 03:56:34 +03:00
Vladimir Chebotarev
d37437b3a8
cmake, libtcmalloc: Using of tcmalloc, build fixes [#METR-XXXXX]
2016-05-22 22:04:19 +03:00
Vladimir Chebotarev
b427b21289
libdaemon: Flag for task failure indication [#METR-5408]
2016-05-12 22:40:23 +03:00
Alexey Milovidov
31ed033fbb
Fixed leader election in completely different way to allow many replicas in single ClickHouse instance (that is used in tests) [#METR-20132].
2016-04-09 05:03:44 +03:00
Alexey Milovidov
1e73f2690e
Addition to prev. revision [#CSADMIN-10464].
2016-03-31 23:16:09 +03:00
Alexey Milovidov
961bdfdaa0
Allowed to use FQDN for server name in Graphite metrics [#CSADMIN-10464].
2016-03-31 23:13:56 +03:00
Alexey Milovidov
1969504052
Fixed leader election [#METR-20132].
2016-03-29 18:31:24 +03:00
Alexey Arno
fc728d4249
dbms: Added forgotten file. [#METR-18510]
2016-03-25 16:57:33 +03:00
Alexey Arno
99ef0820f7
dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510]
2016-03-25 15:53:10 +03:00
Alexey Arno
776a0e3041
dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510]
2016-03-25 15:21:10 +03:00
Alexey Arno
32a38485e6
Merge
2016-03-25 14:48:45 +03:00
Pavel Kartavyy
720386de2a
fix bugs after merge
2016-03-18 22:13:38 +03:00
Pavel Kartavyy
67e74bf5cb
Merge
2016-03-18 22:12:14 +03:00
Pavel Kartavyy
00090987c3
release: cut '-mobmet' suffix from tags
2016-03-18 16:27:23 +03:00
Pavel Kartavyy
4f620ff8b5
release scripts: add filter for release tags
2016-03-18 15:17:08 +03:00
Pavel Kartavyy
9c106de07f
json_test: reverted wrong merge
2016-03-17 18:08:13 +03:00
Roman Peshkurov
a1168f2625
Merge
2016-03-17 16:10:14 +03:00
Roman Peshkurov
b05268555c
Merge
2016-03-17 15:57:07 +03:00
Roman Peshkurov
6839f0e653
change re
2016-03-17 15:20:04 +03:00
Roman Peshkurov
899ac22a31
try to fix build
2016-03-17 15:09:59 +03:00
Roman Peshkurov
4f6bca642f
Revert "try to fix build"
...
This reverts commit 470401d8f4799490bb467398c5744fad90530668.
2016-03-17 15:08:27 +03:00
Roman Peshkurov
a46424c870
try to fix build
2016-03-17 15:06:47 +03:00
Alexey Milovidov
22dedb5235
Fixed json_test [#METR-2807].
2016-03-11 04:07:14 +03:00
Pavel Kartavyy
ef4f0e2b7a
Revert "Fixing warnings on clang [#METR-2807]."
...
This reverts commit 906d1d432ce851031c1a334768b62241d2b3c328.
2016-03-10 13:20:50 +03:00
Alexey Milovidov
974f18c38e
zkutil: minor changes [#METR-20145].
2016-03-09 22:59:27 +03:00
Pavel Kartavyy
4c64c5e1f5
zkutil: add missed library to link
2016-03-09 13:19:50 +03:00
Evgeniy Gatov
bb7c564c7c
libzkutil/RWLock: removed duplicated code [#METR-18510]
2016-03-08 21:40:37 +03:00
Evgeniy Gatov
6aa4d59400
Merge
2016-03-08 20:52:42 +03:00
Alexey Arno
0f35ecc357
dbms: Code cleanup. [#METR-18510]
2016-03-08 16:46:00 +03:00
Alexey Milovidov
fa7b42784a
Fixing warnings on clang [#METR-2807].
2016-03-07 09:58:41 +03:00
Alexey Milovidov
9371fd1923
Fixing build on clang [#METR-2807].
2016-03-07 07:07:08 +03:00
Alexey Milovidov
9d3eb0dffc
Merge
2016-03-07 05:42:47 +03:00
Alexey Milovidov
aacb8326c3
Fixed build [#METR-2807].
2016-03-07 05:41:35 +03:00
Alexey Milovidov
2f2ea2b210
Fixed build [#METR-2807].
2016-03-07 05:40:59 +03:00
Alexey Milovidov
ebf5b3afdd
Merge
2016-03-07 05:21:16 +03:00
Alexey Milovidov
7b9d9631de
Removed few 'possibly lost' and 'still reachable' memory [#METR-2944].
2016-03-04 05:25:04 +03:00
Alexey Arno
aeb14a7855
dbms: More locking improvements. [#METR-18510]
2016-03-03 19:22:10 +03:00
Alexey Arno
3b9ea20c91
dbms: More locking improvements. [#METR-18510]
2016-03-03 19:20:19 +03:00
Pavel Kartavyy
4e2a760474
Merge
2016-03-03 18:38:13 +03:00
Pavel Kartavyy
1f3cff5232
Merge
2016-03-03 18:21:44 +03:00
Vladimir Chebotarev
e46238b8bf
libcommon: json_test was fixed [#METR-19958]
2016-03-03 18:21:44 +03:00
Vladimir Chebotarev
50631dd862
libcommon: JSON improvement and simple test [#METR-19958]
2016-03-03 18:21:44 +03:00
Alexey Arno
d21060c35b
dbms: Locking performance and correctness improvements. [#METR-18510]
2016-03-03 17:37:15 +03:00
Alexey Milovidov
47d18378bb
Packages build: better [#METR-20000].
2016-03-02 22:47:12 +03:00
Alexey Milovidov
bd30a4fdf1
Create revision: better [#METR-20000].
2016-03-02 21:50:17 +03:00
Alexey Arno
6efc98d1f3
Merge
2016-03-01 20:47:53 +03:00
Pavel Kartavyy
20b96de457
json: fix missed break [#METR-17759]
2016-02-25 12:19:53 +03:00
Pavel Kartavyy
aa3a3a4132
JSON: fix reading unalocated memory on invalid json [#METR-17759]
2016-02-24 17:08:11 +03:00
Pavel Kartavyy
aa9df68e3c
BaseDaemon: can configure core_dump size
2016-02-24 17:08:11 +03:00
Pavel Kartavyy
ea82b9d55f
daemon: make getTaskManager to be protected
2016-02-24 17:08:11 +03:00
Alexey Milovidov
59fd4f9d06
Attempt to fix an error with yielding leadership [#METR-20132].
2016-02-19 23:35:25 +03:00
Alexey Milovidov
555440efe2
Fixed build on one version of gcc [#METR-2944].
2016-02-18 14:46:08 +03:00
Alexey Milovidov
ef6ca3e1de
Added SSE 4.2 version of find_first_symbols for long set of symbols [#METR-20078].
2016-02-17 05:39:43 +03:00
Vladimir Chebotarev
e9c486c385
libcommon, ReadHelpers: find_first_symbols [METR-20078]
2016-02-16 19:45:40 +03:00
Vladimir Chebotarev
25cc1376b0
libcommon: make_array_n clarification [METR-19529]
2016-02-12 11:52:48 +03:00
Vladimir Chebotarev
559983f2ea
libcommon: make_array_n [METR-19529]
2016-02-11 20:27:24 +03:00
Roman Peshkurov
6c959b7770
libcommon: fixed stash revisions.
2016-02-11 01:26:08 +03:00
Pavel Kartavyy
31ece973db
BaseDaemon: add logRevision method
2016-02-10 10:54:34 +03:00
Alexey Milovidov
e357a4dae3
Removed useless files.
2016-02-10 05:13:03 +03:00
Alexey Milovidov
89d0eaa9f8
Removed useless file [#METR-20000].
2016-02-10 04:57:30 +03:00
Pavel Kartavyy
73c8718036
fix build
2016-02-09 20:35:12 +03:00
Pavel Kartavyy
7ad5037c09
ClickHouse: fix error
2016-02-09 20:16:23 +03:00
Pavel Kartavyy
d7072341f0
create_revision.sh: add argument with path of generated file
2016-02-09 20:07:39 +03:00
Pavel Kartavyy
eca42536d8
dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon
2016-02-09 20:06:50 +03:00
Alexey Milovidov
df1d66e51a
Removed sensitive data.
2016-02-08 00:58:58 +03:00
Alexey Milovidov
563e410b72
Moved threadpool library to contrib [#METR-17973].
2016-02-05 08:07:39 +03:00
Alexey Milovidov
345b4b91f7
dbms: preparation [#METR-17973].
2016-02-05 04:31:09 +03:00
Dmitry Galuza
c2fbf804a8
███████████, awaps-import: minor fixes
...
rename graphite metrics
fix logging
fix merge bug
fix BindingType = 3
fix MobilePageIDs
fix Counters parsing on BidingType = 0
2016-02-03 18:10:28 +03:00
Vladimir Chebotarev
a7401627a4
minor: Default revision was updated [METR-XXXXX]
2016-02-03 13:07:34 +03:00
Alexey Milovidov
3519c3cea2
dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973].
2016-02-03 04:17:58 +03:00
Alexey Milovidov
e5d4149ca4
Merge
2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7
Merge
2016-01-28 04:00:27 +03:00
Alexey Milovidov
b7d3f0e4d6
Merge
2016-01-28 03:59:35 +03:00
Alexey Vasiliev
45e7c7df21
Merge
2016-01-27 22:19:43 +03:00
Pavel Kartavyy
3f16c3e302
Merge
2016-01-26 16:26:21 +03:00
Alexey Milovidov
5c90d7d45c
Merge
2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a
Merge
2016-01-26 04:56:42 +03:00
Alexey Arno
ae2f7c7613
Merge
2016-01-26 03:30:18 +03:00
Roman Peshkurov
f6f528f796
Merge
2016-01-25 13:03:43 +03:00
Alexey Milovidov
6d50fb4b44
dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779].
2016-01-24 08:00:24 +03:00
Pavel Kartavyy
34545cfdac
Merge
2016-01-22 14:48:31 +03:00
Alexey Arno
a3ea32b985
Merge
2016-01-21 19:30:05 +03:00
Vsevolod Orlov
0ebeda8f8a
Fix unexpected 'one_min' #2 [#MOBMET-3053]
2016-01-21 11:04:03 +03:00
Vsevolod Orlov
ea301e6304
Fix unexpected 'one_min' [#MOBMET-3053]
2016-01-21 11:01:41 +03:00
Roman Peshkurov
4eecb97759
Merge
2016-01-19 19:15:36 +03:00
Pavel Kartavyy
07399b2915
Merge
2016-01-19 15:41:14 +03:00
Roman Peshkurov
a7c25eb4be
███████████. improved join logic. [#MOBMET-2863]
2016-01-19 00:04:34 +03:00
Alexey Milovidov
3b3dab716a
dbms: porting to aarch64 [#METR-19609].
2016-01-16 04:38:07 +03:00
Alexey Milovidov
bffc6ce8bd
dbms: better [#TESTIRT-8223].
2016-01-15 23:37:56 +03:00
Alexey Milovidov
6692460249
dbms: addition to prev. revision [#METR-17973].
2016-01-15 07:13:00 +03:00
Alexey Milovidov
015039c2f7
dbms: addition to prev. revision [#METR-17973].
2016-01-15 07:03:45 +03:00
Alexey Milovidov
30b4b1e4a5
dbms: removed dependency of clickhouse-server to statdaemons [#METR-17973].
2016-01-15 06:55:07 +03:00
Pavel Kartavyy
217663dc5d
Merge
2016-01-14 14:35:58 +03:00
Alexey Milovidov
2ae6e4ba77
dbms: attempt to fix an error [#METR-19623].
2016-01-14 06:17:11 +03:00
Alexey Milovidov
d95139d6f3
dbms: tiny improvement [#METR-2944].
2016-01-14 00:33:42 +03:00
Pavel Kartavyy
4e61ade0d1
Merge
2016-01-13 18:55:02 +03:00
Alexey Milovidov
fbaa1cc416
Merge
2016-01-12 05:56:52 +03:00
Alexey Milovidov
d7cc44ff3d
Removed useless files [#METR-2807].
2016-01-12 05:54:53 +03:00
Alexey Milovidov
13c7d0983a
dbms: cutting dependency [#METR-2944]..
2016-01-12 00:46:36 +03:00
Alexey Milovidov
2e252abc5c
Separated internal and third-party libraries [#METR-19593].
2016-01-08 01:21:46 +03:00
Alexey Milovidov
0c4f4f9607
dbms: fixing build [#METR-19593].
2016-01-08 00:32:06 +03:00
Alexey Milovidov
3de42d1dbe
Fixed build of Poco library with actual compiler options [#METR-19593].
2016-01-07 22:49:24 +03:00
Alexey Milovidov
b913078630
Removed useless files [#METR-19593].
2016-01-07 17:52:03 +03:00
Alexey Milovidov
0846473c5f
Removed useless files [#METR-19593].
2016-01-07 17:50:45 +03:00
Alexey Milovidov
3e287dfe07
Applied all patches to Poco [#METR-19593].
2016-01-07 17:30:47 +03:00
Alexey Milovidov
f904f00e74
Removed useless files [#METR-19593].
2016-01-07 17:28:43 +03:00
Alexey Milovidov
f62924289d
Removed useless files [#METR-19593].
2016-01-07 16:36:46 +03:00
Alexey Milovidov
6730b51593
Allowed to build Poco library with our compiler options [#METR-19593].
2016-01-07 16:34:37 +03:00
Alexey Milovidov
47cd4ebfea
Added Poco library to tree [#METR-19593].
2016-01-07 01:53:39 +03:00
Pavel Kartavyy
74bf058379
zkutil: build fix [#METR-18346]
2015-12-25 12:10:17 +03:00
Pavel Kartavyy
db6e6a2842
zkutil::KeeperException: add isHardwareError [#METR-18346]
2015-12-21 12:55:56 +03:00
Pavel Kartavyy
a910893edc
zkutil::Lock: unlock doesn't throw if zookeeper in unrecoverable state [#METR-18346]
2015-12-21 12:54:08 +03:00
Pavel Kartavyy
915fbd16a6
zkutil::Lock: store ZooKeeperHandler if lock is locked to prevent reinitialization of zookeeper session [#METR-18346]
2015-12-18 14:22:03 +03:00
Pavel Kartavyy
c8bc21d032
ZooKeeperHolder: add debug message [#METR-18346]
2015-12-15 13:09:06 +03:00
Pavel Kartavyy
75142c5d41
daemons: use zkutil::Lock::tryCheck [#METR-18346]
2015-12-15 13:01:52 +03:00
Pavel Kartavyy
3dd3eca409
zkutil::Lock: add tryCheck method which down't throw if lock was stolen [#METR-18346]
2015-12-15 13:01:52 +03:00
Pavel Kartavyy
9c064a1440
zookeeper: use ZookeeperHolder in statdaemons [#METR-18346]
2015-12-15 13:01:51 +03:00
Pavel Kartavyy
4afceba26c
zkutil::Lock: use ZooKeeperHolder [#METR-18346]
2015-12-15 13:01:51 +03:00
Pavel Kartavyy
ad29c8c42c
ZooKeeperHolder: changed interface [#METR-18346]
2015-12-15 13:01:51 +03:00
Pavel Kartavyy
d3be463a7d
ZooKeeperHolder: add comparison to nullptr [#METR-18346]
2015-12-15 13:01:51 +03:00
Pavel Kartavyy
7ddc267dd6
zkutil: add ZooKeeperHolder to hold one instance of zookeeper and reinit session if there is no reference on it [#METR-18346]
2015-12-15 13:01:50 +03:00
Andrey Mironov
a724d9eb64
ext: add ext::enumerate
2015-11-24 14:28:29 +03:00
Andrey Mironov
2e8cc93664
dbms: ArenaWithFreeLists basic implementation. [#METR-17382]
2015-11-17 19:09:43 +03:00
Andrey Mironov
274ea51f9d
add ext::size
2015-11-17 19:09:42 +03:00
Pavel Kartavyy
a3c99ce30e
ecommerce: getWithDefault returns default type if value has another type [#METR-18657]
2015-11-16 14:54:27 +03:00
Alexey Milovidov
27ff4dd5d8
Updated double-conversion library (fixed warning in gcc-5) [#METR-18843].
2015-11-16 06:10:37 +03:00
Andrey Mironov
ebaf7fd3ba
ext: bit_cast and safe_bit_cast
2015-11-06 17:54:04 +03:00
Roman Peshkurov
1aa72b38d0
Merge
2015-10-26 10:58:00 +03:00
Andrey Urusov
edfab4e4fc
Merge
2015-10-23 11:44:22 +03:00
Andrey Mironov
61691234ca
ext::map: use c++14 return type deduction
2015-10-21 17:54:13 +03:00
Andrey Mironov
4195842841
dbms: add ext::identity and ext::collection_cast, use in ITableDeclaration
2015-10-16 14:44:44 +03:00
Pavel Kartavyy
c469b726c1
Merge
2015-10-13 15:38:38 +03:00
Alexey Milovidov
2cb2850ca9
dbms: fixed error with system.zookeeper table [#METR-18410].
2015-10-13 14:16:32 +03:00
Alexey Milovidov
55f6e9eccc
dbms: addition [#METR-18410].
2015-10-13 13:04:30 +03:00
Alexey Milovidov
a06096f7a5
dbms: ZooKeeper async functions: added support for NULL values [#METR-18410].
2015-10-13 12:57:59 +03:00
Pavel Kartavyy
2163af290a
Merge
2015-10-08 16:21:23 +03:00
Andrey Urusov
681c12d9fa
Merge
2015-10-07 17:48:34 +03:00
Alexey Milovidov
9facd5bc56
Removed link-time dependency [#METR-17973].
2015-10-05 10:04:42 +03:00
Alexey Milovidov
918422ad48
Moved files [#METR-17973].
2015-10-05 04:35:28 +03:00
Alexey Milovidov
feec229066
Moved files [#METR-17973].
2015-10-05 04:26:43 +03:00
Alexey Milovidov
3a5032fd4a
Moved files [#METR-17973].
2015-10-05 03:52:29 +03:00
Alexey Milovidov
fefd3791f1
Moved files [#METR-17973].
2015-10-05 03:33:43 +03:00
Andrey Urusov
bf16b1be56
libmysqlxx: Create connection fixed
2015-10-01 20:52:36 +03:00
Pavel Kartavyy
e596f53a6a
ZooKeeper: throw correct exception code in get method [#METR-16142]
2015-10-01 15:24:44 +03:00
Alexey Milovidov
13a45bce25
Addition to prev. revision [#METR-18202].
2015-09-29 22:21:02 +03:00
Alexey Milovidov
1f6def094f
dbms: fixed build [#METR-18202].
2015-09-29 22:19:54 +03:00
Alexey Milovidov
f9c018035a
Addition to prev. revision [#METR-18139].
2015-09-23 23:51:01 +03:00
Alexey Milovidov
2954f106a8
Addition to prev. revision [#METR-18138].
2015-09-23 04:26:48 +03:00
Alexey Milovidov
23cb9c7fcd
dbms: fixed error in async interface to ZooKeeper [#METR-18088].
2015-09-22 00:37:34 +03:00
Alexey Milovidov
d53f173478
dbms: quorum inserts: development [#METR-16779].
2015-09-11 05:13:59 +03:00
Alexey Milovidov
34a5cf045f
Updated zstd library to v0.1.1 [#METR-2807].
2015-09-10 02:51:17 +03:00
Roman Peshkurov
c29531227c
version-numerating: try to fix scrypt. [NO CASE]
2015-08-28 19:43:37 +03:00
Roman Peshkurov
d8aeaa129e
version-numerating: set fixed version for stash repo. [NO CASE]
2015-08-28 19:31:53 +03:00
Alexey Milovidov
18ed0b2829
dbms: external dictionaries: fixed errors [#METR-17508].
2015-08-12 07:21:10 +03:00
Andrey Mironov
348ebf0731
add libmetrohash [#METR-15838]
2015-07-20 17:59:29 +03:00
Andrey Mironov
e2d5c30b1f
add libfarmhash [#METR-17328]
2015-07-17 18:56:34 +03:00
Alexey Milovidov
1f4f0f591b
Updated ZSTD library [#METR-16391].
2015-07-09 21:40:37 +03:00
Alexey Arno
8ce8b602b6
dbms: Server: Performance improvements. [#METR-15618]
2015-07-09 14:14:31 +03:00
Alexey Arno
5e1b1d4c48
dbms: Server: Performance improvements. [#METR-15618]
2015-07-08 20:30:42 +03:00
Alexey Arno
f2a2054bb7
dbms: Server: Small code improvement. [#METR-15618]
2015-07-08 17:14:35 +03:00
Alexey Arno
992e7dc7a5
Merge
2015-07-08 02:11:30 +03:00
Alexey Arno
1d9066bb8a
Merge
2015-07-03 16:04:03 +03:00
Alexey Arno
90d85c9a77
dbms: Server: Support for multiple time zones: development [#METR-15618]
2015-07-03 14:55:51 +03:00
Alexey Arno
072d110f67
Merge
2015-07-01 20:33:00 +03:00
Pavel Kartavyy
541f051cd1
zkutil: remove ctor [#METR-17045]
2015-07-01 11:55:31 +03:00
Alexey Arno
79290d82a5
dbms: Server: Support for multiple time zones: development [#METR-15618]
2015-06-30 16:42:08 +03:00
Alexey Arno
f02d490f94
dbms: Server: Support for multiple time zones: development [#METR-15618]
2015-06-29 16:54:08 +03:00
Alexey Arno
b1788e7d05
dbms: Server: Support for multiple time zones: development [#METR-15618]
2015-06-29 14:54:57 +03:00
Alexey Arno
0b3887fbb3
dbms: Server: Support for multiple time zones: development [#METR-15618]
2015-06-29 12:56:04 +03:00
Alexey Arno
81e654b89f
dbms: Server: Support for multiple time zones: fix [#METR-15618]
2015-06-26 21:09:00 +03:00
Alexey Arno
779a90d438
dbms: Server: Support for multiple time zones: take into account the existence of equivalent time zones [#METR-15618]
2015-06-26 20:57:49 +03:00
Alexey Arno
37f008afd0
dbms: Server: Added support for multiple time zones: part 1 (does not add any new functionality, does not change current functionality) [#METR-15618]
2015-06-26 18:11:31 +03:00
Pavel Kartavyy
d6e101ae4b
Merge
2015-06-16 17:46:24 +03:00
Pavel Kartavyy
dd05019fe2
cloud: fix error [#METR-15514]
2015-06-10 15:44:55 +03:00
Pavel Kartavyy
e201f39f7f
Zookeeper: style fix
2015-06-10 15:28:42 +03:00
Pavel Kartavyy
67944de74e
zookeeper: add createOrUpdate method [#METR-15514]
2015-06-10 11:15:30 +03:00
Evgeniy Gatov
775812734d
Merge
2015-05-28 18:00:53 +03:00
Andrey Mironov
ff4fb2784a
zkutil: rework KeeperException to minimize repetition, set non-zero return code for KeeperException, process ZSESSIONMOVED as unrecoverable
2015-05-26 17:40:36 +03:00
Evgeniy Gatov
1086668e6e
Merge
2015-05-18 17:29:14 +03:00
Pavel Kartavyy
8d0e842dde
zkutil: add remove with retries [#METR-16024]
2015-05-18 15:38:50 +03:00
Evgeniy Gatov
9880c62839
libzkutil: tiny [#METR-13470].
2015-04-22 20:56:27 +03:00
Alexey Milovidov
dd4cef4781
dbms: fixed build [#METR-2944].
2015-04-16 10:32:40 +03:00
Alexey Milovidov
e4bd9b1dec
dbms: cut another dependency [#METR-2944].
2015-04-16 10:22:29 +03:00
Sergey Magidovich
3d95d19283
███████████-mobile: More accurate clicks handling. [#MOBMET-1212]
2015-03-25 13:08:04 +03:00
Pavel Kartavyy
f0a1e1ba72
Merge
2015-03-23 13:55:23 +03:00
Sergey Magidovich
9856258325
Merge
2015-03-18 18:26:44 +03:00
Pavel Kartavyy
ef08ca1f96
███████████: better loggind and tiny fixes [#METR-15299]
2015-03-17 16:59:25 +03:00
Pavel Kartavyy
23ef0b9787
zkutil: add Increment [#METR-15299]
...
███████████: write clicks to cloud [#METR-15299]
2015-03-17 16:59:24 +03:00
Sergey Magidovich
0d53cccb78
███████████-mobile: Refactoring; 3 out of 5 WriteDestinations work; [#MOBMET-1225]
2015-03-16 15:26:19 +03:00
Alexey Milovidov
2fa797ad40
dbms: added new files for prev. revision [#METR-15386].
2015-03-09 04:26:33 +03:00
Andrey Mironov
7c9b2a1789
dbms: temporarily allow <table> element in mysqlxx::PoolWithFailover config [#METR-13298]
2015-03-06 16:38:07 +03:00
Alexey Milovidov
664d85e08f
dbms: added support for value 'auto' of setting 'max_threads'; using that value by default [#METR-2944].
2015-02-22 13:50:36 +03:00
Andrey Mironov
b3c32ace59
mysqlxx: copy constructor for pools [#METR-13298]
2015-02-05 21:51:19 +03:00
Alexey Milovidov
dac230aa9e
Fixed build with boost 1.57 [#METR-2944].
2015-02-04 08:15:32 +03:00
Pavel Kartavyy
d4de29beb2
███████████: use one instance of zookeeper [#METR-14731]
...
Probably two instances of zookeeper can cause reordering of operations.
2015-01-22 13:33:20 +03:00
Alexey Milovidov
86e9e77eae
Fixed errors in clang (part 5, final) [#METR-2807].
2015-01-22 04:13:13 +03:00
Alexey Milovidov
27543ea7e5
Fixed errors in clang (part 2) [#METR-2807].
2015-01-21 07:00:20 +03:00
Alexey Milovidov
1be4bd0663
Fixed errors in clang (part 1) [#METR-2807].
2015-01-21 06:56:28 +03:00
Pavel Kartavyy
982c2c5573
create_revision.sh: better
2015-01-13 11:08:23 +03:00
Pavel Kartavyy
9e75cc4ae7
create_revision.sh: supports build paths with spaces
2015-01-12 17:48:37 +03:00
Pavel Kartavyy
1de925d879
███████████: fixed small errrors and better logging [#METR-13222]
2014-12-26 16:43:18 +03:00
Alexey Milovidov
40d28a78e1
zkutil: fixed error with async. interface [#METR-14296].
2014-12-14 07:38:11 +03:00
Alexey Milovidov
52304c68e7
zkutil: modified test [#METR-14296].
2014-12-14 05:23:19 +03:00
Andrey Mironov
736c3e0576
dbms: purge unused and auto-generated files from double-conversion and vectorclass
2014-12-10 13:39:35 +03:00
Andrey Mironov
3be8b25ed2
dbms: add lib google/double-conversion. [#METR-13363]
2014-12-09 14:33:57 +03:00
Pavel Kartavyy
4ba0b6be5c
Merge
2014-12-08 16:52:46 +03:00
Andrey Mironov
682bfb46a5
dbms: vectorize math functions. [#METR-13613]
2014-12-02 20:25:10 +03:00
Pavel Kartavyy
e5e132eeae
fixed errror in creating revision
2014-12-01 12:57:48 +03:00
Pavel Kartavyy
968f35354a
git: take last revision from HEAD
2014-12-01 12:57:48 +03:00
Alexey Milovidov
bd107656dc
dbms: style [#METR-2944].
2014-11-30 10:02:36 +03:00
Alexey Milovidov
c013925329
dbms: style [#METR-2944].
2014-11-30 10:01:00 +03:00
Pavel Kartavyy
1ee06f5e17
zkutil: limited sleep time [#METR-13884]
2014-11-27 15:25:23 +03:00
Pavel Kartavyy
21b59eeb0d
style fix [#METR-13884]
2014-11-26 21:58:51 +03:00
Pavel Kartavyy
7aa585af85
daemons: set big session timeouts in daemons which doesn't use any locks [#METR-13884]
2014-11-26 21:58:31 +03:00
Alexey Milovidov
8f076b8ac4
Removed deprecated date and time functions [#METR-13554].
2014-11-14 23:55:23 +03:00
Alexey Milovidov
dff4d7cca5
Merge
2014-11-07 04:23:12 +03:00
Alexey Milovidov
5ff01a8b13
DateLUT: added test [#METR-13554].
2014-11-07 04:22:25 +03:00
Alexey Milovidov
3d359e2b82
Partially get rid of time2str.h [#METR-13554].
2014-11-06 09:32:23 +03:00
Alexey Milovidov
74db63113e
DateLUT: removed useless code; improved startup time [#METR-13554].
2014-11-06 05:39:48 +03:00
Alexey Milovidov
2727fef911
dbms: removed few functions [#METR-13554].
2014-11-06 04:31:50 +03:00
Pavel Kartavyy
8e801e7163
zkutil: fixed bug
2014-10-31 16:12:50 +03:00
Pavel Kartavyy
d93b251fa4
███████████: restart if unrecoverable error happened [#METR-10969]
2014-10-30 16:28:45 +03:00
Pavel Kartavyy
8f687c6042
RecountRequest: fixed wrong formatting, when chunk is empty [#METR-13437]
2014-10-28 20:55:07 +03:00
Pavel Kartavyy
07d29d10a7
zookeeper: shuffle servers for better balancing
2014-10-21 17:46:46 +04:00
Alexey Milovidov
43ff614c79
Tiny modification (tnx. hertz) [#METR-2807].
2014-10-18 21:53:18 +04:00
Alexey Milovidov
58fb17ae88
zkutil: additions [#METR-2944].
2014-10-17 02:03:38 +04:00
Alexey Milovidov
ef82933bb3
zkutil: Async interface: development [#METR-2944].
2014-10-17 00:05:26 +04:00
Alexey Milovidov
c1966ab09a
Asynchronous interface to ZK (development) [#METR-2944].
2014-10-16 05:46:56 +04:00
Alexey Milovidov
c2e4662ad7
Changed boost:: to std:: for bind, ref/cref, thread, shared_ptr [#METR-2807].
2014-10-16 05:21:03 +04:00
Alexey Milovidov
0d4390c176
zkutil: fixed error [#METR-13153].
2014-10-10 03:12:10 +04:00
Pavel Kartavyy
cc5629a06a
Merge
2014-10-08 23:00:44 +04:00
Alexey Milovidov
a1149b11ef
Fixed logging (local time formatting) [#MTRSADMIN-385].
2014-10-08 04:46:57 +04:00
Pavel Kartavyy
7bb049e4e0
Merge
2014-10-02 20:07:18 +04:00
Pavel Kartavyy
458eb3086c
zookeeper: fixed error when createIfNotExists can throw error due to netwrok error
2014-09-24 17:02:47 +04:00
Alexey Milovidov
0ea4691107
Merge
2014-09-12 04:32:27 +04:00
Alexey Milovidov
1af0c1a524
dbms: instrumenting ZooKeeper [#METR-12725].
2014-09-12 00:34:41 +04:00
Pavel Kartavyy
b62e0ed395
Merge
2014-09-04 18:59:00 +04:00
Alexey Milovidov
e54969e251
zkutil: added missing comma to exception message [#METR-12572].
2014-09-03 05:18:11 +04:00
Pavel Kartavyy
3258e4a160
Merge
2014-08-21 19:08:48 +04:00
Alexey Milovidov
cdf4e8d415
dbms: improved performance of integer division by constant [#METR-2944].
2014-08-17 06:13:40 +04:00
Pavel Kartavyy
245d2c1a29
zkutil::Lock fixed minor issue [#METR-10969]
2014-08-15 14:20:34 +04:00
Pavel Kartavyy
35a3ce7daf
███████████: better logging [#METR-10969]
2014-08-14 23:27:18 +04:00
Pavel Kartavyy
0e59aa4bf1
Lock: can write lock message [#METR-10969]
2014-08-13 17:41:08 +04:00
Michael Kolupaev
5bbb6dc090
some grammar fixes. [#METR-2807]
2014-08-12 13:35:15 +04:00
Michael Kolupaev
5e0e9bbc00
Merge
2014-08-11 18:05:42 +04:00
Michael Kolupaev
dd90d58dff
zkutil: avoiding segfault in multi on session expiration. [#METR-12236]
2014-08-11 15:24:10 +04:00
Michael Kolupaev
971636f733
added files missing in previous commit. [#METR-12236]
2014-08-11 14:59:56 +04:00
Michael Kolupaev
eaf4a79f11
Merge
2014-08-08 16:53:59 +04:00
Michael Kolupaev
336f9f5beb
zkutil_test: fixed set query. [#METR-2807]
2014-08-08 13:04:33 +04:00
Pavel Kartavyy
2d3b023996
build-fix after rebase [#METR-10969]
2014-08-06 17:24:44 +04:00
Pavel Kartavyy
dbe5ce0cc0
zkutil::Lock more robust [#METR-10969]
2014-08-06 17:24:44 +04:00
Pavel Kartavyy
00074ffaa5
robust requests to clickhouse [#METR-10969]
2014-08-06 17:24:44 +04:00
Pavel Kartavyy
1024697bf7
zk: fix debug level [#METR-10969]
2014-08-06 17:24:42 +04:00
Pavel Kartavyy
b9e4f25a94
bugfixes [#METR-10969]
2014-08-06 17:24:42 +04:00
Pavel Kartavyy
54ce386586
build fix after merge: [#METR-10969]
2014-08-06 17:24:42 +04:00
Pavel Kartavyy
c8594e6646
FileCloudQueueProcessor: added selection of layer [#METR-10969]
2014-08-06 17:24:41 +04:00
Michael Kolupaev
2854ed49da
Merge
2014-07-28 18:50:51 +04:00
Alexey Milovidov
94ed780065
███████████: intrusive: development [#METR-12050].
2014-07-26 08:12:43 +04:00
Michael Kolupaev
a6e8c35ba8
Merge
2014-07-25 11:49:02 +04:00
Michael Kolupaev
1ca69dcd7b
zkutil: try* methods throw exception on connection loss and timeout. [#METR-10202]
2014-07-18 20:50:51 +04:00
Michael Kolupaev
977a8932a0
zkutil: removeRecursive works faster and more reliably when there are thousands of chilren. [#METR-2807]
2014-07-18 18:44:56 +04:00
Michael Kolupaev
e320d6c35c
zkutil: logging an error when watch leak is suspected. [#METR-10202]
2014-07-18 16:25:24 +04:00
Michael Kolupaev
2f14b3b025
zkutil: fixed race conditions. [#METR-11886]
2014-07-18 15:53:24 +04:00
Michael Kolupaev
516789157b
Merge
2014-07-14 16:02:17 +04:00
Michael Kolupaev
8f394dd852
Merge
2014-07-14 15:45:34 +04:00
Alexey Milovidov
4c7226627c
dbms: fixed error with formatting of date-times with 1970-01-01 dates [#METR-11873].
2014-07-10 22:53:09 +04:00
Alexey Milovidov
0041db77ab
Tiny improvement [#METR-2807].
2014-07-09 03:52:53 +04:00
Michael Kolupaev
42ec19a1e1
zkutil: removed unused typedef. [#METR-2807]
2014-07-08 18:41:19 +04:00
Michael Kolupaev
039858e3f7
zkutil: fixed a bug, removed unused code. [#METR-10202]
2014-07-08 16:45:47 +04:00
Pavel Kartavyy
146378633a
GlobalCorrector: added program to overwrite metrics in metrage [#METR-11762]
2014-07-08 15:08:58 +04:00
Michael Kolupaev
8d928558dc
zkutil: a little better error message. [#METR-2807]
2014-07-08 14:13:40 +04:00
Alexey Milovidov
8ab98c8db0
DateLUT: tiny improvement [#METR-2944].
2014-07-07 23:42:33 +04:00
Michael Kolupaev
3b59ecfba4
zkutil: a small simplification. [#METR-2807]
2014-07-07 18:51:31 +04:00
Michael Kolupaev
b40f8bd8d5
Merge
2014-07-07 13:51:42 +04:00
Michael Kolupaev
861eee9163
Merge
2014-07-03 16:15:43 +04:00
Pavel Kartavyy
c9dca1bc61
zkutil: better processing for ConnectionLoss [#METR-11178]
2014-07-02 19:08:04 +04:00
Michael Kolupaev
82d34fa1e9
Merge
2014-07-02 13:21:41 +04:00
Michael Kolupaev
faafb36596
Merge
2014-07-01 19:58:25 +04:00
Pavel Kartavyy
b2f029dc55
libzkutil: wait when ConnectionLoss happened [#METR-11178]
2014-07-01 19:04:27 +04:00
Pavel Kartavyy
499420f2cd
improvements [#METR-11178]
2014-07-01 19:04:27 +04:00
Pavel Kartavyy
93b9844f03
CommonChunkProcessor: avoid duplication of written data if removing chunks from ZK failed [#METR-11178]
2014-07-01 19:04:27 +04:00
Pavel Kartavyy
9feab97b19
███████████: write recount requests robustly [#METR-11718]
2014-07-01 19:04:27 +04:00
Pavel Kartavyy
0eedb5ee84
zkutil: changed exception policy [#METR-10969]
2014-07-01 19:04:26 +04:00
Pavel Kartavyy
0cd5c39456
zk: added retry to exists [#METR-11718]
2014-07-01 19:04:26 +04:00
Michael Kolupaev
5f1fa12ee4
zkutil: fixed segfault on connection loss. [#METR-10202]
2014-07-01 12:50:03 +04:00
Michael Kolupaev
b642bcd4ca
fixed LeaderElection. [#METR-10202]
2014-06-30 16:19:55 +04:00
Michael Kolupaev
4d22313fb2
fixed zkutil_test_commands, updated .gitignore. [#METR-10202]
2014-06-30 15:48:11 +04:00
Michael Kolupaev
2c8c1c4abe
zkutil_test: fixed build. [#METR-10202]
2014-06-30 15:38:33 +04:00
Michael Kolupaev
501aa63cf9
zkutil: Poco::Event instead of futures. [#METR-10202]
2014-06-30 15:33:06 +04:00
Michael Kolupaev
33a88e83ae
fixed zkutil_test. [#METR-2807]
2014-06-30 11:58:16 +04:00
Michael Kolupaev
4baf5626cd
small logging improvements. [#METR-10202]
2014-06-27 21:58:26 +04:00
Michael Kolupaev
9c7b5555fd
zkutil: fixed tryGet
2014-06-27 16:08:15 +04:00
Pavel Kartavyy
7e1bb082bf
added retries when operation timeout happens
2014-06-11 21:29:04 +04:00
Pavel Kartavyy
b7161359de
build fix
2014-06-11 21:29:04 +04:00
Pavel Kartavyy
07861aca9b
zkutil: use apache C client library instead of libzkcpp
2014-06-11 21:29:04 +04:00
Michael Kolupaev
38c5500a71
Refactored DB::ConnectionPool, DB::ConnectionPoolWithFailover and sqxxl::Pool. [#METR-10202]
2014-06-03 18:32:08 +04:00
Michael Kolupaev
3aad8dad8f
Merge
2014-05-27 16:08:40 +04:00
Alexey Milovidov
34eeed7ed3
Renamed mysqlxx::String and sqxxl::String to mysqlxx::Value and sqxxl::Value [#METR-2807].
2014-05-20 02:05:33 +04:00
Pavel Kartavyy
44cac6fb1a
zkutil: maybe recursive delay using multi will be faster
2014-05-19 13:21:57 +04:00
Michael Kolupaev
ca6f5df30e
zkutil: tiny logging improvement. [#METR-2807]
2014-05-16 19:54:39 +04:00
Pavel Kartavyy
226ea78f5b
Revert "improved revision detection"
...
This reverts commit 6bfc93eac0b05885e1cbc7954d394f4d64a607e5.
2014-05-16 16:37:21 +04:00
Pavel Kartavyy
0dabdd9950
improved revision detection
2014-05-15 15:26:16 +04:00
Pavel Kartavyy
c39737b755
zkcpp: timeout if zk session is expired [#METR-11085]
2014-05-13 23:01:03 +04:00
Michael Kolupaev
2765b93851
Merge
2014-05-13 14:16:33 +04:00
Michael Kolupaev
90e93b171d
Merge
2014-05-13 14:10:26 +04:00
Alexey Milovidov
f855ff1803
zkutil_test: fixed error [#METR-10687].
2014-05-08 23:03:22 +04:00
Alexey Milovidov
6e83aa2253
zkutil_test: added history support [#METR-10687].
2014-05-08 22:50:31 +04:00
Alexey Milovidov
19078df53c
zkutil_test: added support for quoted data [#METR-10687].
2014-05-08 22:48:34 +04:00
Michael Kolupaev
be5a9cf820
Merge
2014-05-08 17:27:18 +04:00
Michael Kolupaev
a6d0c9693e
dbms: development. [#METR-10202]
2014-05-08 17:27:18 +04:00
Michael Kolupaev
0b7928f6a9
Merge
2014-05-07 17:58:20 +04:00
Michael Kolupaev
db9263f5f3
zkutil: not blocking calls if session is expired. [#METR-10202]
2014-04-22 15:20:03 +04:00
Michael Kolupaev
ad3954a28a
zkutil: explained a test. [#METR-10202]
2014-04-22 15:20:02 +04:00
Michael Kolupaev
052b2bd83b
zkcpp: added test showing that zkcpp blocks calls forever after session expiration. [#METR-10202]
2014-04-22 15:20:02 +04:00
Michael Kolupaev
c2b556f51b
Merge
2014-04-22 14:43:18 +04:00
Pavel Kartavyy
72edd15363
███████████: added writing files to zookeeper [#METR-10172]
2014-04-21 16:29:23 +04:00
Pavel Kartavyy
f53eba5eed
zkutil: added path to exception [#METR-10190]
2014-04-21 11:26:08 +04:00
Pavel Kartavyy
892cc08ece
added fetch tags in create_revision.sh
2014-04-21 11:26:08 +04:00
Pavel Kartavyy
2d131264e1
statdaemons: improvement [#METR-10190]
2014-04-18 18:26:00 +04:00
Pavel Kartavyy
16d8fe8ab0
zkutil: added state to LeaderElection [#METR-10190]
2014-04-18 18:25:59 +04:00
Pavel Kartavyy
886548859c
███████████: added progress file [#METR-9888]
2014-04-10 19:21:01 +04:00
Michael Kolupaev
e3dfe90ffe
Merge
2014-04-09 19:53:47 +04:00
Michael Kolupaev
e0d2bce6e2
zkutil: Probably fixed crashing on ZK connection loss. [#METR-10202]
2014-04-08 14:13:52 +04:00
Alexey Milovidov
63cff6a5a4
Improvement [#METR-2807].
2014-04-08 11:58:53 +04:00
Alexey Milovidov
5ca21127c7
Improvement [#METR-2807].
2014-04-08 11:31:51 +04:00
Alexey Milovidov
34bf7dd0ae
Removed useless code [#METR-2807].
2014-04-08 10:51:53 +04:00
Michael Kolupaev
847128152e
Merge
2014-04-04 14:37:33 +04:00
Michael Kolupaev
b92f1ff480
Merge
2014-04-02 17:45:39 +04:00
Michael Kolupaev
83fce6973a
Fixed build. [#METR-10202]
2014-04-02 14:44:55 +04:00
Michael Kolupaev
233557ec72
Merge
2014-04-02 14:40:23 +04:00
Michael Kolupaev
91f6a73617
zkutil: Inherited KeeperException from DB::Exception. [#METR-10202]
2014-04-02 14:38:27 +04:00
Michael Kolupaev
7b6ce30656
Merge
2014-03-22 18:44:44 +04:00
Michael Kolupaev
36b152f2b1
Added interserver IO host and port to context. [#METR-10202]
2014-03-21 23:49:27 +04:00
Michael Kolupaev
7084f03ab9
Merge
2014-03-21 23:17:59 +04:00
Michael Kolupaev
2809291432
zkutil: Thread safety. [#METR-10202]
2014-03-21 22:58:24 +04:00
Pavel Kartavyy
4384ba0009
zookeeper: added config description [#METR-10172]
2014-03-14 13:31:25 +04:00
Pavel Kartavyy
42dc0516d2
added config for zookeeper [#METR-10172]
2014-03-13 18:51:00 +04:00
Alexey Milovidov
896182ed8a
daemon: improved ThreadNumber; showing source thread number on signals [#METR-2944].
2014-03-08 21:48:22 +04:00
Michael Kolupaev
3411d3db64
libzkutil: added multi; many fixes. [#METR-10202]
2014-03-07 23:19:06 +04:00
Michael Kolupaev
7ea73ab849
libzkutil: working. [#METR-10202]
2014-03-07 21:57:53 +04:00
Michael Kolupaev
5ceab75c8a
libzkutil: development. [#METR-10202]
2014-03-07 17:50:58 +04:00
Alexey Milovidov
e51227f502
Updated LZ4. Added LZ4HC. [#METR-2944].
2014-03-02 08:08:03 +04:00
Pavel Kartavyy
101a056fb8
Removed suddenly reverted commit "Fixed error in prev. revision [#METR-10142]."
...
This reverts commit a1d4e27454689270855256fa00e6f73e954a316c.
2014-02-21 19:56:42 +04:00
Pavel Kartavyy
0a150faca5
Revert "Fixed error in prev. revision [#METR-10142]."
...
This reverts commit c139fa2b260ea9e0a77bc721767797b3cfaba0a8.
2014-02-21 19:14:10 +04:00
Alexey Milovidov
4ea2512504
Fixed error in prev. revision [#METR-10142].
2014-02-21 06:46:51 +04:00
Alexey Milovidov
a7f5465b91
Fixed error in prev. revision [#METR-10142].
2014-02-21 06:15:18 +04:00
Alexey Milovidov
b1e9204dcc
Fixed performance issue [#METR-10142].
2014-02-21 05:57:01 +04:00
Michael Kolupaev
080b164b09
slightly improved .gitignore. [#METR-2807]
2014-02-20 13:44:25 +04:00
Pavel Kartavyy
b635b253c0
run script generator with bash [#METR-9800]
2014-02-17 17:20:59 +00:00
Alexey Milovidov
ba3a0000ae
Fixed strange error in revision.h generation [#METR-9800].
2014-02-17 16:55:37 +00:00
Pavel Kartavyy
12f520e117
get tag from git
2014-02-17 15:34:29 +00:00
Pavel Kartavyy
508e7185d2
ignore build files
2014-02-17 15:34:27 +00:00
Pavel Kartavyy
0fea69d718
git: fixed missed folders
2014-02-17 15:34:26 +00:00
Sergey Fedorov
645a0eb544
create_revision: updates in script made by Lesha :) [METR-9766]
2014-02-12 16:16:41 +00:00
Pavel Kartavyy
053e453935
added SVN_PATH [#METR-9766]
2014-01-28 20:27:29 +00:00
Pavel Kartavyy
b9c35019e9
added SVN_PATH [#METR-9766]
2014-01-28 20:26:22 +00:00
Pavel Kartavyy
e839059abf
added SVN_PATH [#METR-9766]
2014-01-28 20:25:28 +00:00
Pavel Kartavyy
92fdc6dc88
added SVN_PATH [#METR-9766]
2014-01-28 20:13:24 +00:00
Pavel Kartavyy
740623b729
removed revision generating for git-svn.
...
works badly
2014-01-28 20:13:23 +00:00
Alexey Milovidov
dd4acec059
Updated lz4 to rev. 112 [#CONV-8766].
2014-01-11 19:33:11 +00:00
Alexey Milovidov
22fda035cc
Allowed to use std::vector instead of DB::Array for Arrays in ssqls [#METR-8766].
2014-01-05 13:40:11 +00:00
Alexey Milovidov
6dc9ce070c
Preparing to linking libmysqlclient statically [#METR-9505].
2013-12-16 20:15:28 +00:00
Pavel Kartavyy
ce5ff538ec
mysqlxx: fix [METR-9429]
2013-12-09 19:16:48 +00:00
Alexey Milovidov
340404eaf3
Fixed indents [#METR-2807].
2013-12-06 17:29:01 +00:00
Pavel Kartavyy
4ef53f6acb
added generating revision for git-svn repo ]
2013-11-18 17:44:44 +00:00
Pavel Kartavyy
2fab08ae10
libmysqlxx: enabled empty password. refactoring [#METR-8598]
2013-10-29 09:27:10 +00:00
Alexey Milovidov
fa7a666a96
mysqlxx: added server address to exception messages [#METR-9068].
2013-10-26 02:50:23 +00:00
Alexey Milovidov
c46b9253f3
PoolWithFailover: changed error to warning [#METR-9062].
2013-10-24 17:49:14 +00:00
Pavel Kartavyy
a933ed4e43
libmysqlxx: optimized build time and project view in qtcreator [#CONV-8598]
2013-09-05 11:44:10 +00:00
Pavel Kartavyy
afa70827c7
libmysqlxx: changed settings to mysql [#CONV-8598]
2013-09-04 15:29:02 +00:00
Alexey Milovidov
bd69b6d606
PoolWithFailover: Better error reporting [#CONV-8589].
2013-08-28 01:21:53 +00:00
Alexey Milovidov
d04ce851ae
PoolWithFailover: reverted priority [#RTADMIN-5725].
2013-08-27 16:53:20 +00:00