summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt
Commit message (Collapse)AuthorAgeFilesLines
* Move FunctionView to library/cpp/yt/memory and add unit testsarkady-e1ppa2024-04-154-0/+195
| | | | 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
* Fix issues of rXXXXXXarkady-e1ppa2024-03-292-7/+4
| | | | | Iss 50866203dbb2e8797cb32b2d1fdaa44bda88e1c1
* YT-21233: Remove TSimpleException and teach TCompositeException storing ↵arkady-e1ppa2024-03-289-39/+152
| | | | | | | 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
|
* ,Speedup scheduling failures commitrogday2024-02-162-0/+12
| | | | 62c4cf20966ac12ba500e1b7f7f048969a8aacca
* Add .Data/.data methods to NYT::TRangepechatnov2024-02-151-0/+10
| | | | f637e6debdcb60f78ab07fb4be833a881a1452f7
* 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-296-5/+8
|
* Intermediate changesrobot-piglet2024-01-291-3/+3
|
* Drop TEnumIndexedVectorbabenko2024-01-274-129/+0
|
* Introduce TEnumIndexedArray as a refurbished version of TEnumIndexedVectorbabenko2024-01-257-0/+207
|
* feat contrib: aiogram 3armenqa2024-01-19141-3004/+0
| | | | Relates: https://st.yandex-team.ru/, https://st.yandex-team.ru/
* Library import 8 (#1074)AlexSm2024-01-1810-14/+69
| | | | | * Library import 8 * Add contrib/libs/cxxsupp/libcxx/include/__verbose_abort
* Library import 7 (#937)AlexSm2024-01-113-0/+73
|
* Library import 6 (#888)AlexSm2024-01-091-0/+9
|
* Library import 5, delete go dependencies (#832)AlexSm2024-01-041-9/+9
| | | | | * Library import 5, delete go dependencies * Fix yt client
* 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-058-18/+32
|
* 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-0523-69/+69
| | | | Update tools: yexport, os-yexport
* YT-18655 Support prerequisite transactions in dynamic tables writeGrigory Reznikov2023-12-054-0/+223
| | | | | | | | | | We are building a service that uses dynamic tables as a metadata storage. Cypress is used for a leader election and prerequisite transactions are used to prevent races, however prerequisite transactions are not supported for dynamic table operations. This PR fixes that. I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/162
* 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-2046-0/+551
|
* Cosmeticsbabenko2023-11-171-1/+1
|
* Active spinlock tracking from pr3151306. Added TracelessGuards to disable ↵arkady-e1ppa2023-11-1616-19/+335
| | | | | | | | | | | | | | | | | | | | mentioned tracking 1) Добавлена возможность инструментировать ваш любимый мьютекс/спинлок/что-либо с методами Acquire/Release со схожим смыслом. Делается это засчет методов ```NThreading::NDetail::RecordSpinlockAcquired```/```NThreading::NDetail::RecordSpinlockReleased```. Они отслеживают число захваченных спинлоков. 2) Добавлен макрос ```REGISTER_TRACKED_SPIN_LOCK_CLASS```, который позволяет номинально проверить на этапе компиляции, что данный спинлок отслеживается. 3) Добавлен метод ```NThreading::VerifyNoSpinlockAffinity```, который коркается, если число захваченных спинлоков больше нуля. 4) Добавлены Traceless версии (почти) всех гардов, чтобы можно было не отслеживать конкретную критическую секцию, если очень нужно. 5) Внутри файберного ```WaitUntilSet``` вызывается ```VerifyNoSpinlockAffinity``` -- делать ```WaitFor``` или ```Yield``` внутри отслеживаемых критических секций нельзя. Если очень хочется -- используем TracelessGuard нужного вида. 6) Теперь отслеживаются такие спинлоки и их наследники: ```TSpinLock```, ```TRecursiveSpinLock```, ```TReaderWriterSpinLock```. 7) Зарегистрированы как отслеживаемые все вышеперечисленные спинлоки и их Padded версии. 8) Все эти действия имеют эффект только в дебаг сборке. В релизе вся эта диагностика стирается.
* Support Save/Load TYsonStringyurial2023-11-168-0/+102
|
* YT-20424: Fix move constructor and assignment for TSharedRange.ponasenko-rs2023-11-143-0/+85
|
* Intermediate changesrobot-piglet2023-11-1239-0/+702
|
* Make thread local variables fiber friendlylukyan2023-11-072-0/+40
|
* YT-20376: Removed some of the std overloadsarkady-e1ppa2023-11-031-7/+7
| | | | First commit
* YTORM-214: Add unittests for pr-4688904kmokrov2023-10-272-0/+33
|
* YTORM-214: Add parsing enum from yson integerkmokrov2023-10-171-5/+21
|
* Y_VERIFY->Y_ABORT_UNLESS at ^lilnurkh2023-10-091-1/+1
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* YT-19578: Move user_job_statistics to yt/cpp/mapreduce/libraryermolovd2023-10-029-294/+0
|
* YT-19441: Support allocator in TCompactSet.ponasenko-rs2023-09-272-34/+42
|
* Small refactoring in TCompactSet.ponasenko-rs2023-09-271-3/+3
|
* Intermediate changesrobot-piglet2023-09-254-0/+295
|
* Get rid of TClusterResourceLimits::operator+()kvk19202023-09-221-12/+12
|
* [Sync from ytsaurus/ytsaurus] Put attribute(weak) in a GCC-compatible positionAlexey Filinovich2023-09-071-2/+2
| | | | | | | | | | I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en In addition to #89, there is one more minor fix. GCC doesn't allow putting `__attribute__((weak))` before the `extern "C"` and produces non-weak symbols. Proof: https://godbolt.org/z/h48fYsGMW --- Pull Request resolved: #96