summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt
Commit message (Collapse)AuthorAgeFilesLines
* Fix potential pointers overflowmikhnenko11 days1-1/+5
| | | | commit_hash:20039ca128a1ef8c3aaf337d71d58b1ecec783a1
* Fix `-Wignored-qualifiers` improved in clang20 in librarymikhnenko11 days1-3/+3
| | | | | Fix errors from [here](https://nda.ya.ru/t/6hgrAk757JpcZP commit_hash:7d5ee7690cd39bfde0529030cfa213b84ead669a
* Fix IsLevelEnabled check in YT loggerapollo132113 days1-1/+1
| | | | commit_hash:4662067645a9302622ac1ac352f71594523c0aae
* fix yt/malloc build for freebsdtldr13 days1-1/+1
| | | | commit_hash:96c6a3e9167c9b61ea1b5e53479ebc6de54d99c8
* Add tests for TSortedStagingArea and fix bugsapollo13212025-08-281-0/+2
| | | | commit_hash:03e41d2fa64fd120f7422f961fafa24b7f255e4d
* Add a guard for per-fiber extra logging tagsifsmirnov2025-08-223-0/+33
| | | | commit_hash:3dfc664a8e26d9bfec6e997c848d5f66ede6e925
* YT-19137: Make full_read a first class citizencoteeq2025-08-183-1/+37
| | | | commit_hash:dac730c0d9dc052edce7dd7873c51687ea19082e
* YT-18571: Refactor traced (fomerly tracked) spin locks and add unittestsbabenko2025-08-1815-92/+159
| | | | commit_hash:2476930524e6179b49fbf312f907bd03413cd8b8
* Intermediate changesrobot-piglet2025-08-175-24/+10
| | | | commit_hash:ca1f7319b759adc9a144adc5d01ae005c364e806
* babenko cosmeticnadya022025-08-154-5/+5
| | | | commit_hash:691cdf0de0f155c0c9076507a291a0c4f32a6065
* YT-18571: Cosmetics for YT_DEFINE_STRONG_TYPEDEFh0pless2025-08-112-2/+3
| | | | commit_hash:48c6dc49d8c0ffb3bbb5fa773dc38bdee243f3c3
* fix coverity issueuzhas2025-08-081-1/+1
| | | | commit_hash:55fb7d7ce65181dcdcb238245c19a18f2bd3cf25
* Optional description argument for YT_VERIFY, YT_ASSERT and otherspechatnov2025-08-065-15/+152
| | | | commit_hash:80b47f95a2ee356b086f5955f2529f1b0e636db1
* YT: Make trim helpers noncopying; lesser copies in rich ypath parsingdgolear2025-08-053-30/+29
| | | | commit_hash:88244dc0263029f091579dd66bba1e03132449fe
* Extract FormatString that can be used with TStringBuilderBase and TRawFormatterpechatnov2025-08-051-41/+49
| | | | commit_hash:06e3edc032341bfb4f625c2713ce3773fc4c0c9f
* Fix TSharedRefArray::AreBitwiseEqualbabenko2025-08-021-1/+1
| | | | commit_hash:84321c155a5d7ecb04ec7b33fc464a244eb55073
* Introduce TSharedRefArray::AreBitwiseEqualbabenko2025-08-012-0/+18
| | | | commit_hash:d20246c9bd65274bc0b78b3c1cbc0cfcd5303d10
* Clang 20 has no construtor uintptr_t form nullptrmikhnenko2025-07-311-1/+1
| | | | | Fix errors from [here](https://nda.ya.ru/t/QK7atSi_7H4yFa commit_hash:49aec107605e173f20504a16aac876fd40d33adc
* YT-18571: Fix missing semicolonh0pless2025-07-211-1/+1
| | | | commit_hash:2d892bf3d9b67134ec8e9d461159ec4bbf0930b5
* YT-18571: Rename TCaseInsensitiveStringEqualityComparer -> ↵babenko2025-07-142-2/+14
| | | | | | TCaseInsensitiveStringEqualComparer, add TCaseInsensitiveStringLessComparer commit_hash:2dbe3c3cf419a5310e7bf45d161f839e99040788
* YT: Allow serializing TCompactSetdgolear2025-07-104-23/+45
| | | | commit_hash:733610a293a0c3a2656dbef77630d359c16d3bdf
* Add missing includebabenko2025-06-241-0/+2
| | | | commit_hash:32e0f6ae89289ea4e3da978dcd91fc66d88373e9
* YT-25312: Fix TWithExtraSpace::GetExtraSpace to handle zero returned by ↵babenko2025-06-223-5/+15
| | | | | | malloc_usable_size commit_hash:d4310bf35afeb00d408d28e96cf82ebafd82886b
* Add Save/Load methods for TStrongTypedefyurial2025-06-132-0/+19
| | | | commit_hash:7bda0c36d13d3a9c586f65b48d6f23f854c0e088
* Restore measuring the memory usage of write-table queries.nadya022025-06-114-4/+152
| | | | commit_hash:1d28ad476551aee1d5ab64c72205347128c27c68
* YT-25226: Pass new job resources to nodepogorelov2025-06-093-0/+51
| | | | commit_hash:20344f8d19f0bdc6a7544126cb74ab92c94e1069
* Fixup logging messages with Fatal or Alert levelyurial2025-05-221-1/+3
| | | | commit_hash:0ef86009943c41963bf269a11bc623e11fc8a381
* Move more checks to the inlined part of IsLevelEnabledbabenko2025-05-203-24/+20
| | | | commit_hash:ad986b1f46f36765b3d80b8e527b1f25ad966d42
* YT-24485: Support extra gang jobspogorelov2025-05-191-1/+1
| | | | | | | | | | | * Changelog entry Type: feature Component: controller-agent Support extra jobs for gang operations. Introduce gang ranks. commit_hash:1e27fe5d4e042d8ad3d981dfdab718ad41732924
* YT-22593: Use std::string in TStringBuilderlukyan2025-05-192-6/+6
| | | | commit_hash:e1d1710ec1d2fa7407a292934f82f2e5804d1c2c
* YT-24913: Split memory trackernadya022025-05-165-565/+12
| | | | commit_hash:af573daeadda0ee67ff6c0a595b6dc3ad6314c51
* yt: Use well-known macros to test if we are building with SSE4.2thegeorg2025-05-161-5/+0
| | | | | | | | | | | ``` (dflt) thegeorg@jakku:~/arcadia@trunk$ ya tool c++ -E -dM - -msse4.2 < /dev/null | grep SSE4 #define __SSE4_1__ 1 #define __SSE4_2__ 1 ``` On Windows, this macros is defined by the means of ymake.core.conf. commit_hash:ec670bbe09b73580df6c7acf4760fedce7597676
* YT-22593: Migrate HTTP headers to std::stringbabenko2025-05-122-7/+7
| | | | | [diff:runtime] commit_hash:262b2e671526b138d7a9631daf5d34400fc2208c
* Cosmeticsbabenko2025-05-101-2/+8
| | | | commit_hash:b527c60aed121bfae864558328f5bb32ee9afc72
* YT: Fix enricher, add from backtrace enricherpechatnov2025-05-063-11/+101
| | | | | From backtrace enricher можно использовать для захвата бектрейсов при создании ошибок из исключений, а так же для перекладывания атрибутов из сложных исключений других библиотек. commit_hash:76711bd3bb7dbc1e41e43f80d43340d2ce8e4df7
* Fix YT_LOG_ALERT_AND_THROWh0pless2025-04-251-4/+14
| | | | commit_hash:5065ec89aed827ce2d112d5f8623dfb0215a5207
* Typo in ref_counted.hAlexey Arkhipenko2025-04-251-1/+1
| | | | | | | | | No description --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1240 commit_hash:9afd1a8a5e8a67c4618712edca143bb56027764f
* Add new macro to replace some of the YT_VERIFYsh0pless2025-04-232-6/+25
| | | | commit_hash:f4f2e8b9ba31109593c94251f64e1061f00af304
* YT-24537: Prioritize writers in TReaderWriterSpinLock, rename old version to ↵pavook2025-04-1710-20/+521
| | | | | | | | | | | | | | | | | | | | | TWriterStarvingRWLock Previously, it was possible that `TReaderWriterSpinLock` wouldn't let the writer through if there's a steady flow of readers. This change addresses that by: 1. Prioritizing writers inside the spinlock by adding an additional `WriterReady` flag that writers set on arrival. This flag doesn't allow any readers to come through. 2. Adding the proper tests to verify this functionality, as well as spinlock's behaviour under forks. 3. Clarifying the documentation about spinlock guarantees 4. Adding a TLA+ model, formally specifying and verifying the guarantees of the new spinlock. 5. Renaming the old lock to `TWriterStarvingRWSpinLock`, and replacing all usages inside YT with the new version (renaming all usages outside of YT to the WriterStarving version). This is a second attempt of REVIEW: 8233768, the first one was rolled back as it lead to deadlocks in user code with reentrant reader locks: the case of `AcquireReader(thread0) -> AcquireWriter(thread1) -> AcquireReader(thread0)` is a deadlock, as `thread0` will not be able to acquire the lock (for the second time) before `thread1` frees writer lock, and `thread1` will not be able to acquire writer lock before the reader lock will be released by `thread0`, which won't happen until `thread0` acquires the lock for the second time. See/for more context and a real example of such situation. Analogous problem can happen with fibers: this is why you shouldn't allow context switches under the lock. Wondering why this ugly name `WriterStarvingRWSpinLock` appeared in your beautiful code? No worries, if you are **sure** that you don't use reentrant locks or fiber switches under the lock, you can freely replace your usage with the new `ReaderWriterSpinLock`. The replacement is drop-in. [nodiff:caesar] commit_hash:97683f854defca00cc283f5a2a10a1730b3c9174
* Fix MakeFormattableViewlukyan2025-04-163-4/+17
| | | | commit_hash:0e4b24c65451e75f168b456cd0d271ddebb7219d
* Revert commit rXXXXXX, YT-24537: Prioritize writers in TReaderWriterSpinLockpavook2025-04-155-266/+17
| | | | | It turns out, RWSpinLock previously accidentally supported recursive AcquireReaders, and this property was broken with the change. commit_hash:f996e7b52ef8b3d37118034530a094af0efbe435
* Enable more parentheses-related warningsbabenko2025-04-141-1/+11
| | | | commit_hash:e5aee6f170c4d38261597cd10e9b42c2dc58c1f3
* YT-24537: Prioritize writers in TReaderWriterSpinLockpavook2025-04-105-17/+266
| | | | commit_hash:94fee5363799655628bd7e2c144a7869a9d89002
* Use consistent format and naming in blocks' loggingngc2242025-04-101-1/+1
| | | | commit_hash:77f144acd2d648f4e32055553be332f1d25d6106
* Make TLogger respect rvaluespogorelov2025-04-093-12/+62
| | | | commit_hash:dc29e989d9edbb7f171ba47632de428289393058
* QL joins refactoringsabdenovch2025-04-081-0/+1
| | | | commit_hash:bf6a38b831d4a1301e19a6524c711d7a1c17bf48
* YT: Add type name of std::exception to error text in TError constructorpechatnov2025-04-012-0/+17
| | | | | | | | | | | | | | | | | | | Без этого, исключение о выходе за пределы массива в векторе выглядит так: ``` vector origin (pid 178121, thread library-cpp-yt-) datetime 2025-03-31T14:59:49.069209Z ``` С фиксом: ``` vector origin (pid 178121, thread library-cpp-yt-) datetime 2025-03-31T14:59:49.069209Z exception_type std::out_of_range ``` commit_hash:7382eba16208f6847d581b901a7df4dfa39452b0
* Make some methods of smart enum being constexprhiddenpath2025-03-252-13/+14
| | | | commit_hash:c29f08fc16d8bd974d4ce516af499de848607ab8
* YT-23989: Track memory in TChunkedOutputStreamnadya022025-03-172-4/+26
| | | | commit_hash:1fcce66b4e0a0a5e5fb55aba38889e9bf5b42a85
* YT-23989: Move memory tracker to library/cpp/ytnadya022025-03-144-0/+588
| | | | commit_hash:5dad6ada81567dcb5da6ef1efe47e1738196d219