aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* try to get rid of locks and allocations for elastic queue thread poolkulikov2023-07-2144-40/+1261
| | | | | | | | | In case of heavy load and high rps current thread pool implementation seems to have problems at least with contention on lock inside condvar (long futex wait calls from http server listener thread), so try to implement something more efficient: - replace condvar with TEventCounter implementation without internal lock (pthread condvar maintains waiters wakeup order, thread pool doesn't need it); - introduce well-known bounded mpmc queue over ring buffer; - get rid of TDecrementingWrapper; - add options to turn on new pool in library/cpp/http/server and search/daemons (will remove after adoption); - make elastic queue ut check both versions; - workaround problems with android/arm build targets.
* Fix data race in case of handling clinet timeout during streaming call. Fix ↵dcherednik2023-07-191-10/+12
| | | | possible use after free in case of enabled grpc debug log and streaming call. KIKIMR-18801
* Check the kqp session is destroyed during intermediate node stuck. KIKIMR-18250dcherednik2023-07-191-4/+9
|
* Don't validate version tag, if it is absent in peer, KIKIMR-18776serg-belyakov2023-07-181-1/+4
| | | Don't validate version tag, if it is absent in peer
* Allow using ibdrv interface in opensource appsthegeorg2023-07-183-8/+4
|
* guard for memory markers + split actor type operatorsivanmorozov2023-07-1828-125/+303
|
* actor instance custom nameivanmorozov2023-07-182-0/+8
|
* feat grpc: update to grpc 1.53.1leonidlazarev2023-07-173-4/+2
| | | | | | | | | | | | | | update grpc to 1.53.1 update grpcio/py3 to 1.53.1 Added patches: 22-grpc-code-output.patch - allow translation of grpc code to internal string type. 23-max-thread-limitation.patch - to provide interface for settings of thread number limit, as grpc::DynamicThreadPool doesn't provide interface to limit thread number anymore. 24-support_for-non-abort-grpc.patch - generate exception instead of application crash 25-forkable-destruction-order.patch - correct forkable logic for TimerManager 27-skip-child-post-fork-operations.patch - allow to skip child post fork operations to exclude UB (used for unified agent only) pr33495_fox_nested_fork.patch - fix issues with nested forks pr33582_fork_handler.patch - disable fork handler support if it is not requested intentionally
* Опеспечить совместимость с GCC 12.3philimonov2023-07-131-1/+1
| | | | | | | | | | | Команда робототехники Я.Маркета собирает свою кодовую базу с помощью GCC 10.3. Хотелось бы в ближайшем будущем обновиться до GCC 12.3. Часть кода собирается из директорий: * util * library * yandex_io Поправил ошибки лексического анализатора GCC 12.3 + добавил пропущенный стандартные include файлы
* unified-agent - fix static initialization order problemgrebelnik2023-07-131-5/+8
| | | unified-agent - fix static initialization order problem
* metrics input: compress number hist bucketsaleksei-le2023-07-136-9/+155
|
* Switch to TRope reply in TEvGet query result KIKIMR-18394alexvru2023-07-122-61/+48
|
* Build transitive closure of equality classesaozeritsky2023-07-1112-0/+180
|
* KIKIMR-18568: internal control stats pool size limitivanmorozov2023-07-0916-49/+54
|
* Move LOGGER component from kikimr-specific services to actorlib common ones ↵alexvru2023-07-084-3/+4
| | | | KIKIMR-11082
* KIKIMR-18568: remove dependency library/cpp/actors to ydb/core/protosivanmorozov2023-07-0842-117/+228
|
* Make retry settings configurablessmike2023-07-076-0/+92
|
* Intermediate changesrobot-piglet2023-07-071-0/+4
|
* Introduce TLazyMultiValueFormatterifsmirnov2023-07-063-0/+81
|
* Revert commit rXXXXXX, Revert commit rXXXXXX,use profile tags for any method ↵ivanmorozov2023-07-055-50/+46
| | | | actor name generation
* Revert commit rXXXXXX,use profile tags for any method actor name generationivanmorozov2023-07-055-46/+50
|
* use profile tags for any method actor name generationivanmorozov2023-07-055-50/+46
|
* Fix tsan race in TExecutor::GetMaxQueueSizeAndClearsnaury2023-07-041-1/+1
|
* Fix misaligned arena block size in TEvUploadRowsRequest causing ubsan failuressnaury2023-07-041-0/+5
|
* Fix critical TRcBuf issuealexvru2023-07-031-2/+5
|
* Intermediate changesrobot-piglet2023-07-031-1/+1
|
* client-cpp for unified-agent: changing log levelaleksei-le2023-07-031-18/+18
|
* Replace the functions for the `Levenshtein` and the `Damerau–Levenshtein` ↵akinshchikov2023-07-032-8/+47
| | | | | | distances with the memory effective version. YQL UDFs `String::LevensteinDistance` and `Unicode::LevensteinDistance` use `NLevenshtein::Distance` inside. The previous version of `NLevenshtein::Distance` uses O(nm) space instead of O(min(n, m)).
* Intermediate changesrobot-piglet2023-06-303-16/+43
|
* Intermediate changesrobot-piglet2023-06-305-51/+20
|
* Revert "YT-19324: move YT provider to ydb/library/yql"max422023-06-30143-20706/+0
| | | | This reverts commit ca272f12fdd0e8d5c3e957fc87939148f1caaf72, reversing changes made to 49f8acfc8b0b5c0071b804423bcf53fda26c7c12.
* deallocation on destroyivanmorozov2023-06-301-2/+4
|
* YT-19324: move YT provider to ydb/library/yqlmax422023-06-30143-0/+20706
| | | | | | | | | | | | | | This commit is formed by the following script: https://paste.yandex-team.ru/6f92e4b8-efc5-4d34-948b-15ee2accd7e7/text. This commit has zero effect on all projects that depend on YQL. The summary of changes: - `yql/providers/yt -> ydb/library/yql/providers/yt `- the whole implementation of YT provider is moved into YDB code base for further export as a part of YT YQL plugin shared library; - `yql/providers/stat/{expr_nodes,uploader} -> ydb/library/yql/providers/stat/{expr_nodes,uploader}` - a small interface without implementation and the description of stat expr nodes; - `yql/core/extract_predicate/ut -> ydb/library/yql/core/extract_predicate/ut`; - `yql/core/{ut,ut_common} -> ydb/library/yql/core/{ut,ut_common}`; - `yql/core` is gone; - `yql/library/url_preprocessing -> ydb/library/yql/core/url_preprocessing`. **NB**: all new targets inside `ydb/` are under `IF (NOT CMAKE_EXPORT)` clause which disables them from open-source cmake generation and ya make build. They will be enabled in the subsequent commits.
* improve macros for default component determination instead of 0ivanmorozov2023-06-292-12/+34
|
* contextable loggingivanmorozov2023-06-292-54/+209
|
* YQ Connector: support managed ClickHousevitalyisaev2023-06-298-0/+294
| | | Со стороны dqrun можно обратиться к инстансу коннектора, который работает на streaming стенде, и извлечь данные из облачного CH.
* Improve monitoringalexvru2023-06-282-18/+13
|
* fix gen_tld.py on non-unicode locale encodingsNikita Kozlovskiy2023-06-281-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix gen_tld.py on non-unicode locale encodings In python versions prior to 3.7, as well as when using non-unicode locale encodings, the `gen_tld.py` script fails: ``` ydb/ydb/library/cpp/tld % git rev-parse head 97b1a695d3be4edc08550d3ae7d200f6d9f3d42e ydb/ydb/library/cpp/tld % LC_CTYPE=C ~/.pyenv/versions/3.6.15/bin/python gen_tld.py tlds-alpha-by-domain.txt|md5 Traceback (most recent call last): File "gen_tld.py", line 57, in <module> main() File "gen_tld.py", line 39, in main sys.stdout.write('%s*/\n' % str.rstrip()) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128) ``` This pull request fixes this behevaiour by explicit set output encoding to utf-8. To ensure that I do not break anything, I checked the MD5 hash of the generated file before and after making my changes: ``` ydb/ydb/library/cpp/tld % git rev-parse head 97b1a695d3be4edc08550d3ae7d200f6d9f3d42e ydb/ydb/library/cpp/tld % python3 gen_tld.py tlds-alpha-by-domain.txt|md5 564242d355d842db790977df3642a405 ``` After ``` ydb/ydb/library/cpp/tld % git rev-parse head 1096dd7f034c573aabdf3bac2dc4b181a6688c71 ydb/ydb/library/cpp/tld % python3 gen_tld.py tlds-alpha-by-domain.txt|md5 564242d355d842db790977df3642a405 ydb/ydb/library/cpp/tld % LC_CTYPE=C ~/.pyenv/versions/3.6.15/bin/python gen_tld.py tlds-alpha-by-domain.txt|md5 564242d355d842db790977df3642a405 ``` Pull Request resolved: #279
* YT: Escape back slash when format string with quotesbulatman2023-06-282-0/+9
|
* Strongly typed cell tagkvk19202023-06-281-1/+0
|
* Remove unused ADDINCLalexv-smirnov2023-06-275-14/+0
| | | To ensure no differences between cmakelists generation in Arcadia and GitHub
* Tunable backlog size for ICalexvru2023-06-272-1/+3
|
* fix destructor usage with tls contextivanmorozov2023-06-271-4/+3
|
* [unified agent] fix printf specifiers for 32 bit arch /gluk472023-06-261-13/+13
|
* Support TEvVGet in separate ropealexvru2023-06-266-0/+11
|
* Support IZeroCopyInput over TRopeaneporada2023-06-262-0/+77
| | | initial
* Fix coroutine event serializeralexvru2023-06-261-1/+5
|
* Fix coroutine event serializeralexvru2023-06-245-48/+36
|
* Require semicolon after Y_DECLARE*_FLAGSbulatman2023-06-242-4/+4
|
* Regression testalexvru2023-06-237-2/+115
|