kirill reshke
c4878697ee
fix formatting & apply fmt target in MAkefiel ( #251 )
...
Co-authored-by: reshke <Kirill Reshke>
2020-12-28 16:22:53 +05:00
kirill reshke
3a55be6e61
change formatting ( #250 )
...
Co-authored-by: reshke <Kirill Reshke>
2020-12-28 15:43:31 +05:00
reshke
b6447b3104
fix cmake minimum version
2020-12-17 17:58:25 +05:00
Georgy Rylov
d89829aa4a
Quantiles aggregation ( #245 )
...
* add aggregated collection of quantiles for all db-user routes
* fix quantiles names and memory leak in right place
* make apply_fmt
* review fixes
2020-12-14 18:18:37 +05:00
kirill reshke
fb3ce93f56
fix one more compiler warning ( #238 )
...
Co-authored-by: reshke <Kirill Reshke>
2020-11-30 17:33:45 +05:00
kirill reshke
89ef383056
fix build ( #237 )
...
Co-authored-by: reshke <Kirill Reshke>
2020-11-27 23:03:42 +05:00
kirill reshke
dd52fbd83e
compiler hints + just make world a better place & formatting things ( #236 )
2020-11-25 15:17:15 +05:00
Daniil Zakhlystov
e6781e8a4e
Rename OD_ escaping to MM_ && fix indentation for cmakelists ( #235 )
2020-11-23 18:57:56 +05:00
Daniil Zakhlystov
e97f7e1f1c
Add compression toggle to config, cmake && Add dependencies to BuildDebian ( #234 )
...
* Add compression option to config
* Add BUILD_COMPRESSION option to cmake
* Escape identifiers
* Add preprocessing directives for OD_BUILD_COMPRESSION
* Add dependencies for BuildDebian
* apply fmt
Co-authored-by: root <root@ubuntu-build-machine.ru-central1.internal>
2020-11-23 16:55:42 +05:00
kirill reshke
68c1b70025
change default compiler standart ( #233 )
...
Co-authored-by: reshke <Kirill Reshke>
2020-11-23 16:42:44 +05:00
kirill reshke
785e85ab6f
Fix leaks and improve locking in cron ( #229 )
...
Also fix some warnings.
2020-11-23 14:13:28 +05:00
Daniil Zakhlystov
222da0c70a
Implement libpq compression ( #230 )
...
* Add zlib and zstd to cmake
* Add zpq_stream to machinarium
--
zpq_stream is used for streaming compression/decompression of Postgres protocol
* Add zpq_stream-related functions to machinarium
* Add compression set/free/read/write logic to machinarium
* Add startup packet compression var to kiwi
* Add compression_ack backend message support for kiwi
* Add compression setup logic for main odyssey project
* apply fmt
* fix format #2
Co-authored-by: root <root@ubuntu-build-machine.ru-central1.internal>
2020-11-23 13:22:17 +05:00
kirill reshke
bc568250bf
odyssey tests with asan, little test refactor ( #225 )
...
* odyssey tests with asan
* better headers, rework test
Co-authored-by: reshke <Kirill Reshke>
2020-10-27 13:47:25 +05:00
kirill reshke
a5f716025c
fix coveirty issues + remove legacy ( #224 )
...
* fix a couple of severity issues
* emove lagacy
* zero cost debug macros on release
* dbg macro fix
* apply fmt
Co-authored-by: reshke <Kirill Reshke>
2020-10-26 17:29:05 +05:00
kirill reshke
129ec0be83
fix scram, use postgresql 13 in build & tests ( #223 )
...
* fix scram, use postgresql 13 in build & tests
* move scram test inside docker
Co-authored-by: reshke <Kirill Reshke>
2020-10-26 10:00:17 +05:00
kirill reshke
7135f2f0c8
fix CI ( #213 )
...
Co-authored-by: reshke <Kirill Reshke>
2020-10-16 21:30:45 +05:00
reshke
52b0abb647
fix infinte loop + add signals tests
2020-08-10 13:39:09 +05:00
reshke
f030093484
use SO_REUSEPORT to graceful shutdown
2020-08-10 13:39:09 +05:00
reshke
bde82dec9b
tcp keepalive settings
2020-07-22 13:05:16 +05:00
Andrey Borodin
c4f1c14d99
Apply formatting
2020-07-17 14:02:24 +05:00
Andrey Borodin
73641e3759
Allow backend parameter to be unlimited long
2020-07-17 14:02:24 +05:00
lowgear
e9bed0c0cf
put void into arglist of functions if empty ( #175 )
...
* put void into arglist of functions if empty
* trigger CI recheck
2020-06-14 22:02:07 +05:00
Islamov A
6d1728aa0e
fix memory leaks in tests, fixed type overflow in random
2020-06-10 18:59:53 +05:00
kirill reshke
41a5449969
odyssey modules ( #156 )
2020-06-09 14:19:11 +05:00
lowgear
1d5d1b5c21
treat buffer respecting size (1) ( #160 )
2020-06-09 11:51:13 +05:00
lowgear
ea79d800d2
added style check to travis ( #158 )
...
* added style check to travis
* fixed style
* missing change
* check style first
* no excludes, use certain clang-format version
* install clang-format-9
* added submodule
* fix exclude
2020-06-04 22:35:44 +05:00
Georgy Rylov
b51317b254
t-digest for latencies ( #147 )
2020-05-28 11:12:10 +05:00
Georgy Rylov
626067abb3
tsan: fix data race in sleeplock ( #145 )
2020-04-15 16:40:01 +05:00
Georgy Rylov
c25c5bd050
Applying clang-format with saving indentations ( #140 )
...
* applying clang-format with saving indentations
* rebase
2020-04-02 16:00:56 +05:00
Andrey Borodin
6776e43134
Try to stop TLS handshakes on shutdown
2020-03-23 18:14:18 +05:00
Andrey Borodin
c0d972e779
Fix multiple listeners
2020-02-24 15:18:35 +05:00
Andrey Borodin
79b737d1d9
Remove extroueous include
2020-02-24 15:18:35 +05:00
Andrey Borodin
553f176e99
Move contexts under mm_self
2020-02-24 15:18:35 +05:00
Andrey Borodin
c4b7a3cc18
Use one tls cts per thread
2020-02-24 15:18:35 +05:00
Andrey Borodin
b2d75b0b3c
Coverity scan results ( #119 )
...
A lot of small fixes for small bugs of various severity
2020-02-18 18:05:02 +05:00
Andrey
e773dbb260
Add application_name_add_host setting
2020-01-20 11:43:16 +05:00
Andrey Borodin
887e4aa2d8
Decline GSS API request
2019-12-27 17:05:19 +05:00
Andrey Borodin
59857936cd
Fix ignoring of SIGPIPE
2019-12-18 14:32:36 +05:00
Andrey Borodin
6705c040a0
Set SSL server session id
2019-12-04 15:21:50 +05:00
Andrey Borodin
eb7299748d
Implement login timeout
2019-12-02 18:28:39 +05:00
Andrey Borodin
f43ac71d26
Optimize clocks
2019-12-02 18:19:44 +05:00
Andrey Borodin
0605a81816
Silent compiler warnings in kiwi
2019-11-21 11:13:10 +05:00
Andrey Borodin
816d45958e
Revert "Add pause/resume admin console commands ( #66 )"
...
This reverts commit b426f4f301
.
2019-11-19 16:57:16 +05:00
Andrey Borodin
960cba4bc9
Silent more compiler warnings
2019-11-19 15:14:51 +05:00
Dima Starkov
a8ca664a63
Implements SCRAM Authentication ( #73 )
2019-11-11 12:28:50 +03:00
Andrey Borodin
e053d76b16
Use only one TLS context per machine
...
Previously we recreated TLS context. This could cause extre files being
read during TLS handshake.
2019-11-11 10:31:52 +03:00
Dmitry Simonenko
76b64c7401
odyssey: minor fixes
2019-09-28 17:42:29 +03:00
Dmitry Simonenko
c6542d7003
odyssey: post merge fixes
2019-09-27 16:47:45 +03:00
Dmitry Simonenko
2c1e05d5d6
machinarium: fix channel/event_mgr timeout race
2019-08-11 15:08:55 +03:00
Andrey Borodin
8c6439ce4c
Make UBSan happy
2019-07-23 18:06:46 +05:00