summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix disabling ref counted trackingnastprol2024-10-172-0/+8
| | | | commit_hash:8552424a0dfce80a71c406632beba95646bf5b3e
* Fancier error messages upon static analysis check failurearkady-e1ppa2024-10-162-43/+15
| | | | commit_hash:f939fba86939275047d2eca49b11bec3d0ea3ce7
* Move atomic object to library/cpp/yt/threadingarkady-e1ppa2024-10-142-0/+160
| | | | | [nodiff:caesar] commit_hash:446e45e0378f6b2cb31d85bcc3e4516efbdfe5a7
* Styledgolear2024-10-141-0/+2
| | | | commit_hash:e267dc9b41e9291970d760657852a20f06fa8410
* Extract string_builderbabenko2024-10-136-177/+217
| | | | commit_hash:1573c88f09db79bab2755c9c2c3ffd0bc219b2d2
* Support Android build for YT librarykharcheva2024-10-102-1/+11
| | | | commit_hash:a21164c621de657007dd5ba88024cf92cb5ba739
* YT: Support plain enum deserializationdgolear2024-10-103-10/+33
| | | | | (HIDDEN_URL commit_hash:d9358ac48da1ab4a4ef9ccdbf7eb77a100cf3897
* Intermediate changesrobot-piglet2024-10-083-12/+113
| | | | commit_hash:8b7eb71badc9f2fcd168ee34e8c379b35577eccb
* Drop redundant MarkAsIntentionallyLeakedbabenko2024-10-081-3/+0
| | | | commit_hash:a7e152eae3d2996e60fa5940906933bfb64bdc88
* Fix spellingbabenko2024-10-083-13/+13
| | | | commit_hash:4ef7f7ef82cc22483672460eb87dfe4fa6b5d817
* Assume LSan is always enabled in ASan buildsbabenko2024-10-083-4/+4
| | | | commit_hash:e48e4ec5e5215afc5c32dc6213398b6b28dbdd7b
* Remove Size, Empty and Data usages from librarymikhnenko2024-10-044-4/+4
| | | | commit_hash:ef5ad4cfa9e68bbfc586492e8c376c732d0a48af
* Add TExpiringSet::Removebabenko2024-09-303-4/+42
| | | | commit_hash:5d76a2050843e639046dc696be3b43c1795fd1dc
* Extract TExpiringSet to library/cpp/containersbabenko2024-09-304-0/+239
| | | | commit_hash:dd1c08771b1d4865d03a492927afa0f9895a5f44
* Add an option to disable refcounted trackingnastprol2024-09-253-3/+13
| | | | commit_hash:ceb575c0377d4a48c0507590d878e690e92f5c63
* Intermediate changesrobot-piglet2024-09-231-38/+53
| | | | commit_hash:9da3eb91ac1626625fafab7ae80b22f3f3b75821
* Fix TAtomicIntrusivePtr::Reset for lsanbabenko2024-09-231-1/+0
| | | | commit_hash:7db063d2838aac3ab4a0c681ca1744361cfbb31e
* Make TAtomicIntrusivePtr lsan-friendlybabenko2024-09-233-26/+134
| | | | commit_hash:c4a4db14dd6f9b82fb65377014112bf0a131d3e0
* Fix typo in library/cpp/yt/memoryponasenko-rs2024-09-232-3/+3
| | | | commit_hash:7b3f45fc7a89f88cb3f5609ab96fe1951290bfa4
* Increase RC size to 64 bitsbabenko2024-09-213-14/+13
| | | | commit_hash:31d021c482ac2a3f99e86bf1a2aca7231c86c11d
* More assertions in refcountersbabenko2024-09-213-8/+32
| | | | commit_hash:0c6147f498fdf817921889ac84a321f84f2d1059
* std::variant formatter: require that arguments are formattablepavook2024-09-192-0/+2
| | | | commit_hash:f3123d7cb2022bdc565cc9aadd347deb2cd235d3
* init pid fielduzhas2024-09-181-1/+1
| | | | commit_hash:018112cc71f6f4d8bb32bb04a09e8741ba4f8d3d
* remove cpp/yt/misc no longer depends on cpp/yt/stringarkady-e1ppa2024-09-187-125/+56
| | | | commit_hash:429a843ed1a0e0fe3a5bc7d237f586b6671b8997
* Intermediate changesrobot-piglet2024-09-181-11/+13
| | | | commit_hash:3ef81205ed4cf9360829f834baa07c2fbf69b999
* YT-22593: Switch (some) trace context tags to std::string and refactor code ↵babenko2024-09-094-0/+67
| | | | | | around [TRIVIAL] 643d86a500b7db9df11009f54364b468b29a409a
* Fix indentdgolear2024-09-091-1/+1
| | | | 9d68586af8dfca759270be14dad2e1c5a97a7891
* fisco -> fiascoMaxim Akhmedov2024-09-051-1/+1
| | | | | | | | | No description --- b181413931eab2909c605b373dc858657e8bcb14 Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/816
* Intermediate changesrobot-piglet2024-09-049-49/+147
|
* Intermediate changesrobot-piglet2024-09-034-0/+228
|
* YT: Allow heterogeneous lookup for TCompactFlatMapdgolear2024-09-034-120/+137
| | | | b7397bff929c40b73c27256bbf9be5a5594ebafa
* YT-22642: Fix unaligned access UBbabenko2024-08-312-0/+54
| | | | 378099ca41e7698fba0ceda68b8d2b554e61b6ea
* Check malloc result for null; add TryNew* for overloads involving custom ↵babenko2024-08-302-31/+82
| | | | | | allocator 86ad7067e751c73259ce60432651ce3ecd0d057e
* YT-22603 Improve error message when all replicas are bannedgryzlov-ad2024-08-271-1/+1
| | | | 9da49d54d0eb5009874c090d094aac3117ca77b7
* Revert "YT-21306: Add EnumHasDefaultValue"dtorilov2024-08-203-23/+0
| | | | | | This reverts commit d9b67f1778da2d15dd94f7285afe4e3490a233ab, reversing changes made to 461a09e0c18bd14cef7df8060e7f9537e3ad74b5. 92cdaf4185661b7058f6a30d5a532ad40b725345
* YT-21233: Split error into error and stripped_error to rid the latter of ↵arkady-e1ppa2024-08-1535-17/+1272
| | | | | | | | | | | | | | deps on global variables What happened: 1. error contents has been split into stripped_error and error. stripped_error contains the error itself (with attributes for now) and macros; error contains stripped_error and some extensions, namely, functions to get fiberId, hostname and traceid/spanid and all functions used to (de-)serialize error. This means that you cannot print error if you only include stripped_error, therefore you are likely to still require the entire error.h at the moment. 2. Mechanic for gathering origin attributes has been moved to newly created library/cpp/yt/error thus having no dependency on fibers, net or tracing. stripped_error uses these attributes as extendable semi-erased (meaning, you still would have to add a field and recompile the entire thing, but you don't have to introduce an extra dependency) storage for a bunch of attributes 3. Parsing of said attributes is done in error file (and not stripped_error). P.S. So far the plan is to eventually move stripped_error (once dependency on core/ytree/attributes is eliminated) without any actual change to dependency graph of anything outside of core (e.g. you would still have to include misc/error.h to use it). Next step would be re-teaching the error how to print, which would move some more methods from core to the standalone module. After that one could finally depend on the error itself and not the entire core. Annotations: [nodiff:caesar] 66615172181355821241d2e5f8e4a0f15e0ea791
* YT-22512: Static analysis for TError method, ctors and related macrosarkady-e1ppa2024-08-134-131/+129
| | | | | | | | | | | | | | | | | | | | | Static analysis enabled for TError creation and related macros TRuntimeFormat can be used to disable this feature, but requires copying the viewed object. See NYT::TError::DisableFormat overloads to optimize constructions which want to move the given string Note to future readers: TError is not "perfect-forwarding" unfriendly class. This means that the code ``` template <class... TArgs> TError MakeError(TArgs&&... args) { return TError(std::forward<TArgs>(args)...); } ``` will not compile and needs to be properly adjusted (see. TError::Wrap for implementation example) This implies that emplace construction in containers will not work either. Use move construction instead, as it is simply a pointer swap and therefore free Annotations: [nodiff:caesar] cff12f05849402d09a4487bad26ffcd968215dc7
* Throw on error in TNotificationHandle::TNotificationHandle instead of crashingbabenko2024-08-112-1/+6
| | | | 4356fc70f6d9ceec9f94b1879f49e27f3fee4342
* Support std::string serializationbabenko2024-08-112-1/+9
| | | | d080266c9235a1852d0115157e87a090c7fe63e1
* YT-21306: Add EnumHasDefaultValuedtorilov2024-08-083-0/+23
| | | | d9b67f1778da2d15dd94f7285afe4e3490a233ab
* YT-22473: Enable for-each formatting in known rangesarkady-e1ppa2024-08-075-17/+197
| | | | 5a3405e64b730f0056e381af07658d6c2edcb92b
* Dont generate ctors for TRange & TMutableRange if protobuf cant handle itnechda2024-08-063-2/+90
| | | | 9aa0e068d05932c7ea3065408ed3dbb7fddb6321
* YT-22414: Remove MakeRange, MakeMutableRangemelkov2024-08-051-126/+0
| | | | 88507df33d73cfbdf2c61c602f3c3bb51dd48ded
* Refactor and unify exit codesbabenko2024-08-025-0/+44
| | | | ec1d0c473e709e8aad76b4e190a75ad4125a9ce2
* YT-22414: Prepare to use TRange constructor directly instead of MakeRangemelkov2024-08-013-4/+48
| | | | | | * Also the same for TMutableRange. * Add TRange, TMutableRange constructor from std::span. 46da1787e68a922bb65181c63a226a3797edae0b
* Fix TRange-from-std::vector ctorbabenko2024-07-221-1/+1
| | | | 2b4749cade5242ec10775c7819c790735f7484b7
* Fix checking stale local pointer in the first iteration of cycle in ↵ponasenko-rs2024-07-162-5/+8
| | | | | | TAtomicIntrusivePtr 68430c6347c40eee09bc63a3441af024780b86d4
* Intermediate changesrobot-piglet2024-07-122-2/+6
|
* YTORM-1042 Fix casts for floating pointdeep2024-07-091-2/+2
| | | | | https://en.cppreference.com/w/cpp/types/numeric_limits/lowest 349097f620987be824e9db00f76af89746741c75
* YT-20614: Change cross-cell copy format (in preparation for Sequoia)h0pless2024-07-081-0/+17
| | | | | | | | | | | | The new format is better optimized for VectorizedRead, which is needed in Sequoia. Previously, the output for the BeginCopy verb was a serialized subtree plus the list of opaque children. In a non-Sequoia world, that is useful and easy to work with. However, in Sequoia, a subtree might not be contained on the same cell, which makes it difficult to use the old data transfer format. Now it's a vector of nodes with clear separation between them. This change makes it easier to work with VectorizedRead since the conversion between BeginCopy return and VectorizedRead(BeginCopy) return is very straight-forward. Additionally, this change helps with copying from Cypress to Sequoia, since now it's much easier to process each node individually (which is needed for Sequoia to work and not clog up one cell). In the next PR, I'm planning on: 1. Making BeginCopy a read-request (removing snapshot locks). So the verb will only return meta-information about the requested nodes. 2. Adding a verb, executed before BeginCopy, where the locks would be taken and the general structure of the tree is returned. 017ec9971e8e0a611a7286ed748b6071cfc89048