summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc
Commit message (Collapse)AuthorAgeFilesLines
* Move FunctionView to library/cpp/yt/memory and add unit testsarkady-e1ppa2024-04-152-210/+0
| | | | 0f22987a2824410add2233f4434e26c9e1903da1
* YT-19731: Whitelist now prevents dropping inner errors with whitelisted ↵arkady-e1ppa2024-04-111-0/+40
| | | | | | | attributes No tests for now 9e6aa6815b8d892d1e76281e95f5d044196801e1
* YT-21402: Fibers Refactoring pt.1: Introduce FunctionView to use it as ↵arkady-e1ppa2024-04-052-0/+210
| | | | | | | | | | | | | | | | | | | AfterSwitch and improved registry algorithm 1) Added FunctionView -- non-owning type-erasure container. If we know that lambda lifetime is long enough, we can save up allocation by using this instead of TCallback. 2) Used FunctionView as AfterSwitch inside FiberSchedulerThread. We saved up a bunch of allocations (e.g. net worst-case allocations per suspend changed from 4 (x2 after switch + fiber allocation + enqueue to idle pool lf stack) to 2 (fiber allocation + enqueue to idle pool lf stack). 3) Fiber is not longer RefCounted. Its lifetime is managed via contract with TFiberRegistry. 4) TFiberRegistry is now lock-free for fiber insertion and deletion. For introspector it is still blocking. 5) "Introduced" SimpleIntrusiveList and IntrusiveMPSCStack to work be used in aforementioned TFiberRegistry. 6) elsedef branch of YT_REUSE_FIBERS was broken for about 3 years cause of double SetAfterSwitch. Now fixed. 7) (3), (4) and (5) caused some changes in yt_fiber_printers because some stuff was hardcoded there. Compat is in place. d6cf2ae5801c87813a21ca3e7243e1b2baa09f35
* YT-21233: Remove TSimpleException and teach TCompositeException storing ↵arkady-e1ppa2024-03-282-2/+2
| | | | | | | simple attributes Expand the CompositeException 9a10ec65bfc1df854e03bb3a4d8d0a0c0e4a3a5d
* Increase preprocessor recursion depth limitapachee2024-03-251-7/+604
| | | | | Increase preprocessor recursion depth limit because after commit YT-21331 to release branch number of enum fields exceeds 199 3536c4e6a39e1d48a4225f4845f43b16025ec73c
* YTORM-275: Fix TInstant deserialization from microsecond valuesdgolear2024-03-121-4/+10
| | | | 47845f7aede6898d43680bd7c6f1d48c05607e34
* Intermediate changesrobot-piglet2024-03-081-0/+72
|
* Intermediate changesrobot-piglet2024-02-021-2/+63
|
* [library/cpp/yt] fix peerdirtldr2024-01-301-0/+1
|
* Move enum_indexed_array from misc to containersbabenko2024-01-294-183/+0
|
* Drop TEnumIndexedVectorbabenko2024-01-272-107/+0
|
* Introduce TEnumIndexedArray as a refurbished version of TEnumIndexedVectorbabenko2024-01-255-0/+184
|
* feat contrib: aiogram 3armenqa2024-01-196-138/+0
| | | | Relates: https://st.yandex-team.ru/, https://st.yandex-team.ru/
* Library import 8 (#1074)AlexSm2024-01-182-4/+51
| | | | | * Library import 8 * Add contrib/libs/cxxsupp/libcxx/include/__verbose_abort
* Library import 7 (#937)AlexSm2024-01-113-0/+73
|
* Import libs 1 (#590)AlexSm2023-12-211-1/+1
| | | | | | | * Import libs 1 * Add new file without extension * Add file missed in export config
* Better relational operators for TStrongTypedefbabenko2023-12-132-30/+31
|
* YT-20547: TIncarnationId is strongly typedarkady-e1ppa2023-12-062-1/+41
| | | | First commit
* Use volatile TLS in library/cpp/ytlukyan2023-12-051-1/+5
|
* Require EMasterReign to be monotonickvk19202023-12-052-4/+6
|
* YT-20547: OperationId is strongly typedarkady-e1ppa2023-12-054-5/+221
|
* External build system generator release 65robot-ya-builder2023-12-051-3/+3
| | | | Update tools: yexport, os-yexport
* More TGuid helpersbabenko2023-11-254-26/+82
|
* YT-20547: TJobId is now strongly typedarkady-e1ppa2023-11-244-15/+43
|
* Address issues of rXXXXXXarkady-e1ppa2023-11-212-7/+7
| | | | Some new overloads to better support allocationId as strongly typed entity
* YT-19593: Constexpr friendliness in strong typedef plus TAllocationId uses ↵arkady-e1ppa2023-11-202-6/+45
| | | | it now
* add darwin-arm64 CMakeListsdcherednik2023-11-202-0/+26
|
* Make thread local variables fiber friendlylukyan2023-11-072-0/+40
|
* YTORM-214: Add unittests for pr-4688904kmokrov2023-10-272-0/+33
|
* YTORM-214: Add parsing enum from yson integerkmokrov2023-10-171-5/+21
|
* Get rid of TClusterResourceLimits::operator+()kvk19202023-09-221-12/+12
|
* YT-18571: Replace NYT::ToUnderlying with ::ToUnderlying from util/generic/cast.hbabenko2023-08-192-12/+2
|
* YT-19686: Add stubs for YT_USE_VANILLA_PROTOBUFgritukan2023-08-131-0/+3
|
* YT-19210: expose YQL shared library for YT.max422023-07-293-0/+375
| | | | After this, a new target libyqlplugin.so appears. in open-source cmake build. Diff in open-source YDB repo looks like the following: https://paste.yandex-team.ru/f302bdb4-7ef2-4362-91c7-6ca45f329264
* Revert "YT-19324: move YT provider to ydb/library/yql"max422023-06-303-373/+0
| | | | This reverts commit ca272f12fdd0e8d5c3e957fc87939148f1caaf72, reversing changes made to 49f8acfc8b0b5c0071b804423bcf53fda26c7c12.
* YT-19324: move YT provider to ydb/library/yqlmax422023-06-303-0/+373
| | | | | | | | | | | | | | 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.
* Strongly typed cell tagkvk19202023-06-281-1/+0
|
* add ymake export to ydbalexv-smirnov2023-06-132-0/+44
|
* YT-19300: Various helpers for TStrongTypedefkvk19202023-06-082-1/+57
|
* YT-17341: Use TThreadName instead of TString to store thread name in error.yuryalekseev2023-06-052-4/+15
|
* Fix typos in library/cpp/ytbabenko2023-06-031-1/+1
|
* YT: Fix ParseEnum when custom domain names usedbulatman2023-06-011-0/+19
|
* YT-18571: Drop TStrongTypedef::operator=babenko2023-05-202-22/+0
|
* YT-17341: Use thread name instead of thread id in error origins.yuryalekseev2023-05-206-0/+65
|
* Remove extra semicolons in ytbulatman2023-05-161-5/+11
|
* Support object key serializations-berdnikov2023-05-071-2/+1
|
* External build system generator release 29robot-ya-builder2023-04-191-1/+1
| | | Update tools: yexport
* Revert ymake build from ydb oss exportalexv-smirnov2023-03-282-43/+0
|
* YT-18571: fix YT enums' uniqueness checkignatloskutov2023-03-171-9/+1
| | | | | | | | | | | Otherwise, enums like this compile successfully: ``` DEFINE_ENUM(ENonUnique, ((Foo1) (0)) ((Foo2) (0)) ((Foo3) (0)) ((Foo4) (0)) ); ```
* External build system generator release 21robot-ya-builder2023-03-171-3/+3
| | | Update tools: yexport