aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix code styleakhropov2025-05-181-17/+17
| | | | commit_hash:087696f9ed27b5c9a6bbd903c5455cd296f7ca26
* Fix definition comment at '#endif'akhropov2025-05-181-1/+1
| | | | commit_hash:f24910c8b29891cdfb5d9388bf7ee7b70c6bdb41
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2025-05-171-1/+1
| | | | commit_hash:d5159ca1f0038b0b51481cba021819d2078a7d7b
* 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-15805: Move timezone directory from yql/essentials/public/udf/tz to ↵nadya022025-05-149-0/+748
| | | | | | library/cpp/type_info/tz commit_hash:c293432144308b647073111d1086349af6d52fed
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2025-05-141-1/+1
| | | | commit_hash:a1f4b1e7244a5fcaa9e8946b11c4526c56d4a997
* YT-22593: Migrate HTTP headers to std::stringbabenko2025-05-122-7/+7
| | | | | [diff:runtime] commit_hash:262b2e671526b138d7a9631daf5d34400fc2208c
* Enable lua_assert in debug buildsvadim-xd2025-05-111-0/+4
| | | | commit_hash:ea00901b57ccbf77add24fe9e28634acf1ba557c
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2025-05-111-1/+1
| | | | commit_hash:84b2a5e44136cc90a98ce65cd7b82995a8a6615c
* Cosmeticsbabenko2025-05-101-2/+8
| | | | commit_hash:b527c60aed121bfae864558328f5bb32ee9afc72
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2025-05-081-1/+1
| | | | commit_hash:6ab3f64729fb592117da2b686bb438b2ced9130f
* TConcurrentHashMap::Exchangevadim-xd2025-05-071-0/+7
| | | | commit_hash:09134890fc4d5d1267d6efa21bff48235205e6e5
* [library] Fix -Wdeprecated-this-capture warningnechda2025-05-062-2/+2
| | | | | Fix for library commit_hash:4ffd5fad7dcb0fae1cd0597997304346d7ac8865
* YT: Fix enricher, add from backtrace enricherpechatnov2025-05-063-11/+101
| | | | | From backtrace enricher можно использовать для захвата бектрейсов при создании ошибок из исключений, а так же для перекладывания атрибутов из сложных исключений других библиотек. commit_hash:76711bd3bb7dbc1e41e43f80d43340d2ce8e4df7
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2025-05-051-1/+1
| | | | commit_hash:246e49c5fbd71919598ec11a86907fa9bb0b9e90
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2025-05-021-2/+1
| | | | commit_hash:fd68150f685a9af3bdf0d7bf217e8cfbf29f10ba
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2025-04-261-2/+1
| | | | commit_hash:c0411d32f1f366b8468679d3506bdf544d40e0e3
* Intermediate changesrobot-piglet2025-04-257-14/+0
| | | | commit_hash:a2ae9e9ddb0ebd0f3ce876aa1f8f29e291d3aed1
* 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
* Add missing move constructor and move assignmenteivanov892025-04-222-0/+15
| | | | commit_hash:ca0a881f294c00b673673335c9366699c4be7c86
* Intermediate changesrobot-piglet2025-04-221-6/+29
| | | | commit_hash:d92446f14c476da0a2e64664e0a97455e4d5d32a
* Add missing Collect method to THistogramCountereivanov892025-04-221-1/+1
| | | | | by @va-kuznecov commit_hash:26d8159e9bd33f1dd9471154655b861b203dbe10
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2025-04-201-1/+1
| | | | commit_hash:fdd4066092ef9cf0ffe2683524a24cd3fc65818a
* 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
* Intermediate changesrobot-piglet2025-04-171-7/+3
| | | | commit_hash:103a2a417e1039b8e61dc17b40bec9a9b6a7dfd1
* refactor counters page to better support ic-proxyxenoxeno2025-04-171-23/+68
| | | | commit_hash:d6538967a151a3aba3c806d3d1ba3f4c7ef1ae47
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2025-04-171-1/+1
| | | | commit_hash:3b3c9b5707e608f411cace07b0b7a41f2ec1f2cb
* Fix MakeFormattableViewlukyan2025-04-163-4/+17
| | | | commit_hash:0e4b24c65451e75f168b456cd0d271ddebb7219d
* Intermediate changesrobot-piglet2025-04-161-2/+2
| | | | commit_hash:f16769226fca7335d2bcf5fb633bf82f06011d96
* Fix bug in proto2json map empty keys serializationvoevodskiy2025-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `<library/cpp/protobuf/json/proto2json.h>` неправильно сериализует пустой ключ protobuf'ной map'ы ``` message TMyMessage { map<string, string> Fields = 1; } ``` При таком протобуфе ``` Fields { key: "" value: "1" } ``` Сейчас получается json ``` { "value": "1" } ``` Хотя должен получаться такой ``` { "": 1 } ``` commit_hash:e678bffbda1a062fa0fcaaba65c2e5f6bf13d558
* Intermediate changesrobot-piglet2025-04-151-0/+6
| | | | commit_hash:6e0336f180bc33996d20f97d2135b5b46109a052
* 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
* Fix some errors related with libcxx update in librarymikhnenko2025-04-151-0/+1
| | | | commit_hash:583294dce96f9191d4976fa33730362bac79892f
* Enable more parentheses-related warningsbabenko2025-04-141-1/+11
| | | | commit_hash:e5aee6f170c4d38261597cd10e9b42c2dc58c1f3
* Intermediate changesrobot-piglet2025-04-141-28/+30
| | | | commit_hash:6452cbd39bd37ef1f2bd6be70bf9ceb91fb08a26
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2025-04-141-1/+1
| | | | commit_hash:ece56d3b0a1a270d28958e82f020d390de1485c2
* Intermediate changesrobot-piglet2025-04-112-0/+9
| | | | commit_hash:3ca33ca3ca1c17f83267938f846bee0cb3c3461b
* YT-24537: Prioritize writers in TReaderWriterSpinLockpavook2025-04-105-17/+266
| | | | commit_hash:94fee5363799655628bd7e2c144a7869a9d89002
* use TString::Join() and use TStringBuf instead of const char*tobo2025-04-102-5/+4
| | | | commit_hash:451ebc0373719a4e87b0eef9c6278b1fe8eea842
* Use consistent format and naming in blocks' loggingngc2242025-04-101-1/+1
| | | | commit_hash:77f144acd2d648f4e32055553be332f1d25d6106
* List captured variables explicitly when 'this' has been implicitly captured ↵akhropov2025-04-102-4/+4
| | | | | | to avoid compiler warnings. commit_hash:6dda5bad9e3d887f91817bd4fdab95b66f3db001
* remove unused includetobo2025-04-101-1/+0
| | | | commit_hash:acb52196481fcf4c768f63b391165775d3b35e4a
* Make TLogger respect rvaluespogorelov2025-04-093-12/+62
| | | | commit_hash:dc29e989d9edbb7f171ba47632de428289393058