summaryrefslogtreecommitdiffstats
path: root/library/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'rightlib' into mergelibs-241219-0815Alexander Smirnov2024-12-193-7/+18
|\
| * Adapt type erasure to clang-16 compiler bugarkady-e1ppa2024-12-191-5/+16
| | | | | | | | commit_hash:690d178c5c95ad7106aee6c26a031e6eeec1f093
| * Intermediate changesrobot-piglet2024-12-191-1/+1
| | | | | | | | commit_hash:57515baf5d33fd78c2555cb2b3351498b9189c72
| * fix redirects port selectionkuzmich3212024-12-181-1/+1
| | | | | | | | | | | | | | Если в редиректе приходит url со схемой **http (без s !!!)**, то порт выставляется ++443++ Этот PR фиксит это поведение commit_hash:ef496e4f1cb08f3ba3b9b0f89a34f077cce38e00
* | Merge branch 'rightlib' into mergelibs-241218-0753Alexander Smirnov2024-12-184-8/+20
|\|
| * Use AnyObject to remove type erasure logic from yt/yt/corearkady-e1ppa2024-12-173-7/+19
| | | | | | | | commit_hash:79b0a0b437e41879c3a7d4c079ab571bbaafd45f
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-12-171-1/+1
| | | | | | | | commit_hash:b1f7ffc9e8130d80fb923e4c0f5dc58bc68ce1be
* | Merge branch 'rightlib' into mergelibs-241216-0851Alexander Smirnov2024-12-165-0/+170
|\|
| * YT: Add unchecked enums to protobuf interophitsedesen2024-12-161-0/+132
| | | | | | | | commit_hash:b1009a56f6e70d65c67b72f3079ed71e43b48a7c
| * Introduce (any use) YT_STATIC_INITIALIZERbabenko2024-12-141-0/+19
| | | | | | | | commit_hash:7d3055f901a21e63f7860f443252a86e9895fd08
| * introduce TCgiParameters::GetLastilnurkh2024-12-133-0/+19
| | | | | | | | commit_hash:db2785d0d17510b53aeaec1e30271e6b08e07db1
* | Merge branch 'rightlib' into rightlib_20241212Vitaly Isaev2024-12-122-43/+1
|\|
| * Switch all tests to atd from snapshotthegeorg2024-12-122-43/+1
| | | | | | | | commit_hash:a9a7c2df09742a540851227c4fcb7d925edd9793
| * TCgiParameters: add lifetimebound checkswarmer2024-12-122-9/+9
| | | | | | | | commit_hash:d483051ff24331bcda69d8afa1413158c9e01925
| * TQuickCgiParam: add lifetimebound checksswarmer2024-12-122-3/+3
| | | | | | | | commit_hash:70fc3cba6ca373b988a4d0c0de6d8e2b2028b495
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-12-111-1/+1
| | | | | | | | commit_hash:ed49b07b792d94c6e0da54331828dae3a5cd1e2b
| * Limit the number of gRPC threadsandybg2024-12-101-0/+2
| | | | | | | | | | | | | | Add test to verify the threads limit Try to fix; Limit number of gRPC threads. commit_hash:d525e94e0ef397bf05d367ec9904d674c17d0d76
* | TCgiParameters: add lifetimebound checkswarmer2024-12-122-9/+9
| | | | | | | | commit_hash:d483051ff24331bcda69d8afa1413158c9e01925
* | TQuickCgiParam: add lifetimebound checksswarmer2024-12-122-3/+3
| | | | | | | | commit_hash:70fc3cba6ca373b988a4d0c0de6d8e2b2028b495
* | New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-12-121-1/+1
| | | | | | | | commit_hash:ed49b07b792d94c6e0da54331828dae3a5cd1e2b
* | Limit the number of gRPC threadsandybg2024-12-121-0/+2
| | | | | | | | | | | | | | Add test to verify the threads limit Try to fix; Limit number of gRPC threads. commit_hash:d525e94e0ef397bf05d367ec9904d674c17d0d76
* | Merge branch 'rightlib' into mergelibs-241210-1802Alexander Smirnov2024-12-102-14/+24
|\|
| * Make sure returned TStringBuffers do not change during splitter lifetime. ↵pnv12024-12-102-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also make input string reference const <https://github.com/ydb-platform/ydb/issues/12306> Make input string reference const Make sure returned TStringBuffers do not change during splitter lifetime splitter.Consume() возвращает TStringBuf. Если в колонке есть ескейпинг кавычек, вся колонка обрамлена двойными кавычками (`"`), а внутри для ескейпинга двойных кавычек используются две идущие подряд двойные кавычки (`""`). В таком случае вернуть TStringBuf, ссылающийся на кусок входящего TString, не получится, т.к. нужной подстроки в нем не существует. Для этого используется мембер TVector\<TStringbuf\> CustomStrings. В него накидываются нужные кусочки из исходной строки и в конце складываются в мембер-строку TString CustomString Например, из строки `"abc""cde""efg"` копились кусочки `abc"`, `cde"`, `efg` и в конце склеивались. И возвращался TStringBuf из этой строки-мембера. Проблема в том, что если в другой колонке той же строки также встречались кавычки с ескейпингом, эта строка-мембер CustomString очищалась. При том, что на неё всё еще ссылался возвращённый ранее TStringBuf. В итоге "предыдущий" TStringBuf либо начинал ссылаться на часть новой строки, если новая строка была длиннее, либо на часть новой строки \+ рандомный набор байт в памяти, если новая строка оказывалась короче. Фикс в том, чтобы хранить все строки, сгенерённые сплиттером, всё время жизни сплиттера commit_hash:aa4957e1d8030cd48d06eaa16a7ad61e878348f8
* | Merge branch 'rightlib' into mergelibs-241210-0813Alexander Smirnov2024-12-1012-17/+95
|\|
| * Enable -Wimplicit-fallthrough (and also fix the discovered issues)babenko2024-12-081-0/+1
| | | | | | | | commit_hash:06fd6ffa9ec768168c34547fcdfb15e2f9ad75f8
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-12-081-1/+1
| | | | | | | | commit_hash:39518295f157c161f6c0a25a1df24b32a6cff296
| * Intermediate changesrobot-piglet2024-12-073-0/+78
| | | | | | | | commit_hash:7b57398460fb850349f35c543b8cef63f6490b6b
| * Fix various issuespogorelov2024-12-066-9/+8
| | | | | | | | commit_hash:50f729d3716d8b1f5b852cfc008e228172fb79c4
| * Intermediate changesrobot-piglet2024-12-061-7/+7
| | | | | | | | commit_hash:87c6f9898873ec96e4aa9dc4c7df86e67a11e313
* | Merge branch 'rightlib' into mergelibs-241205-0959Alexander Smirnov2024-12-051-1/+1
|\|
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-12-051-1/+1
| | | | | | | | commit_hash:7dbe58a7a8a7980241f20a2e53ace94a62c541df
* | Merge branch 'rightlib' into mergelibs-241204-1715Alexander Smirnov2024-12-046-1/+1467
|\|
| * YT-23698: Check size of ref counted objectslukyan2024-12-041-0/+4
| | | | | | | | commit_hash:97159680fa733af4212c094e917bc78a47eb0c15
| * Intermediate changesrobot-piglet2024-12-044-0/+1462
| | | | | | | | commit_hash:cbf5ab65e5ba1b2d286f974a6b6b463ed152b381
| * YTORM: Validate pivot keys in slicer; add a comment about proxy_role optiondgolear2024-12-031-1/+1
| | | | | | | | commit_hash:2404d2a79d4961dedf17f7d0cbec38bcabb78014
* | Merge branch 'rightlib' into mergelibs-241203-0816Alexander Smirnov2024-12-036-7/+139
|\|
| * Intermediate changesrobot-piglet2024-12-031-1/+1
| | | | | | | | commit_hash:6f0d83406a245425d156e961c3519d5bd822857a
| * Add missing configs + add mold and coverage to piglet YDB configmaxim-yurchuk2024-12-025-6/+138
| | | | | | | | commit_hash:c0112c0409a0972eb859b32a014980020df7ce0a
* | Merge branch 'rightlib' into mergelibs-241202-1453Alexander Smirnov2024-12-025-83/+128
|\|
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-12-021-1/+1
| | | | | | | | commit_hash:fac37a51fb5b0fdd660beccb43a2a8861308e39f
| * Intermediate changesrobot-piglet2024-12-014-82/+127
| | | | | | | | commit_hash:320ab736dea5dae74e2ec8c344fb915be4c4df99
* | Merge branch 'rightlib' into mergelibs-241130-1815Alexander Smirnov2024-11-3013-5166/+92
|\|
| * YT-21233: Introduce ToAttributeValue cpo which removes dependency of ↵arkady-e1ppa2024-11-297-32/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TErrorAttribute from yt/core Plan: 1) Remove `IAttributedDictionary` type from the public API. \+ 2) Remove `Set` method from public API in favor of `operator<<=`. \+ 3) Adopt `ConvertTo<T>` (or other name) CPO with proper extension into `NYT::NYson::ConvertTo` from `yt/core`. 4) Use CPO from (3) to eliminate direct dependency on `yt/core` of `Get/Find` methods from attributes API. 5) Adopt `ConvertToYsonString` (or other name) CPO with proper extension into `yt/core` customisations. 6) Use CPO from (5) to eliminate direct dependency on `yt/core` of `TErrorAttribute` ctor. 7) Swap attributes implementation to the one which doesn’t use `IAttributeDictionary`. 8) At this point `stripped_error*` can be moved to library/cpp/yt and so can recursively dependant on THROW macro methods `Get/Find/…`. 9) Adjust CPO’s to work with `std::string` instead of `TYsonString` assuming text format to be used (maybe `TString` for now). 10) Remove dep of `library/cpp/yt/error` on `yson` entirely. This pr addresses 5-6 steps of plan. Below is a brief explanation of design decisions. We also expressed everything related to key-value code in terms of aliases of `TErrorAttribute` so that later we could make a relatively simple switch to `std::string`. We expect to do steps 7-8 in the next pull request as everything should be ready commit_hash:de9feca2bd24d823b33d904ef0fa5f4856f9b020
| * Intermediate changesrobot-piglet2024-11-296-5134/+0
| | | | | | | | commit_hash:60e005cdf76d5bff2a370a6b8f35ef4f6792f414
* | Merge branch 'rightlib' into mergelibs-241129-1330Alexander Smirnov2024-11-291-1/+1
|\|
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-291-1/+1
| | | | | | | | commit_hash:81fb555c66d5ab8c5c260658be43bb7b61ab2622
* | Merge branch 'rightlib' into mergelibs-241126-1510Alexander Smirnov2024-11-261-1/+1
|\|
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-261-1/+1
| | | | | | | | commit_hash:d73b9a2f472fbcf5f3ebc54787a964c15fba2504
* | Merge branch 'rightlib' into mergelibs-241123-2111Alexander Smirnov2024-11-2313-411/+12
|\|
| * YDB Import 625robot-ydb-importer2024-11-2212-406/+0
| | | | | | | | commit_hash:bbf24592c367fa158fbc53e041fe367374d0750e