Commit Graph

1829 Commits

Author SHA1 Message Date
kirill reshke 3a55be6e61
change formatting (#250)
Co-authored-by: reshke <Kirill Reshke>
2020-12-28 15:43:31 +05:00
kirill reshke 7ceaca9f7f
fix config reload (#248)
Co-authored-by: reshke <Kirill Reshke>
2020-12-23 04:27:42 +05:00
reshke b6447b3104 fix cmake minimum version 2020-12-17 17:58:25 +05:00
reshke ace34dfc2b fix missed signal value 2020-12-17 17:58:25 +05:00
Georgy Rylov 8d23e8d97b
fix UB with uninitialized fields (#246) 2020-12-15 16:33:43 +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
reshke a1f76ea5d6 Fix dockerfile to make CI ok 2020-12-07 22:48:54 +05:00
reshke d98fdedde7 separate build & clean targets in Makefile 2020-12-07 13:19:57 +05:00
kirill reshke 6f73355294
better (#239)
Co-authored-by: reshke <Kirill Reshke>
2020-12-01 17:33:57 +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
Andrey Borodin 6613481477
Start Pages integration 2020-11-30 14:19:37 +05:00
Andrey Borodin 444533367c Set theme jekyll-theme-minimal 2020-11-30 14:19:18 +05:00
kirill reshke a2bc189587
Create cmake.yml 2020-11-30 14:15:14 +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 dc9e2b03e7
Add kiwi to apply_fmt (#232) 2020-11-23 13:22:30 +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
Andrey Borodin b5aa221f8c
Fix leak of allocation in server object (#231)
* Fix msg leak in server connection error forwarding

* Better fix for the leak

* Fix

* Clean cleaning
2020-11-23 13:10:00 +05:00
Andrey Borodin 6feed42244
Smarter server connection control (#228)
* Smarter server connection control

* Fix function name again

* Format things up
2020-11-10 13:38:26 +05:00
munakoiso d118172da0
Merge pull request #227 from reshke/master
make headers better
2020-11-03 14:31:21 +05:00
reshke 3965574b8a make headers better 2020-11-03 13:52:31 +05:00
kirill reshke eaae0eff47
fix debian & cmake (#226)
Co-authored-by: reshke <Kirill Reshke>
2020-11-03 12:24:48 +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
reshke 4e49e2f3b4 add coverity build target to makefile 2020-10-26 12:51:56 +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 f59940255d
add coverity scan badge (#222)
Co-authored-by: reshke <Kirill Reshke>
2020-10-22 18:07:39 +05:00
kirill reshke 3f23832dd1
fix a bunch of coverity issues (#221)
Co-authored-by: reshke <Kirill Reshke>
2020-10-22 16:01:18 +05:00
kirill reshke 231e7ccac6
fix typo (#220)
Co-authored-by: reshke <Kirill Reshke>
2020-10-22 11:28:23 +05:00
kirill reshke f7db9a1137
rfc5482: initialize TCP User Timeout Option with sys default (#217)
Co-authored-by: reshke <Kirill Reshke>
2020-10-20 11:08:08 +05:00
kirill reshke 070c2a7fe1
apply fmt && fix CI second try (#215)
Co-authored-by: reshke <Kirill Reshke>
2020-10-19 14:51:02 +05:00
Dmitry Smal 95c9e2213a
reopen log file on SIGUSR1 (#216) 2020-10-17 21:01:57 +05:00
kirill reshke 7135f2f0c8
fix CI (#213)
Co-authored-by: reshke <Kirill Reshke>
2020-10-16 21:30:45 +05:00
Anton Patsev bce63dc7f8
Change requied CMake >= 3.12.4 (#212)
Unknown CMake command "add_compile_definitions"
add_compile_definitions added in CMake 3.12.4
2020-10-10 14:46:48 +05:00
reshke 57a9e84150 show errors per route 2020-09-03 14:04:28 +05:00
reshke 20e97cae09 drop steal users connections on restart 2020-09-02 11:49:14 +05:00
reshke 15adddf05a tcp connectios count per route 2020-09-01 12:38:49 +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
kirill reshke 8ebd626a9d
fix eclient read (#202)
Co-authored-by: reshke <Kirill Reshke>
2020-08-05 17:51:16 +05:00
kirill reshke 0709d7eb26
fix cmake for version (#201) 2020-08-04 09:00:14 +05:00
kirill reshke 45111bf5e9
use iso 8601 format in datetime (#200) 2020-07-29 16:15:02 +05:00
kirill reshke 8f61cf8db8
odyssey-show-version (#199) 2020-07-27 12:24:25 +05:00
reshke bde82dec9b tcp keepalive settings 2020-07-22 13:05:16 +05:00
kirill reshke b1c7fac971
Fix incomplete odyssey err logging (#195) 2020-07-17 14:17:29 +05:00
Andrey Borodin c4f1c14d99 Apply formatting 2020-07-17 14:02:24 +05:00