<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/cpp/yson/node, branch CLI_2.2.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.2.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.2.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2023-02-07T18:14:00Z</updated>
<entry>
<title>Intermediate changes</title>
<updated>2023-02-07T18:14:00Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2023-02-07T18:14:00Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=9f448c9c675e670d53bba7a8d74a995b2d9a3606'/>
<id>urn:sha1:9f448c9c675e670d53bba7a8d74a995b2d9a3606</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2023-02-07T14:37:14Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2023-02-07T14:37:14Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=94299c40d78c487307d3b744ecadf539dc13bb1a'/>
<id>urn:sha1:94299c40d78c487307d3b744ecadf539dc13bb1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>External build system generator release 12</title>
<updated>2023-01-31T03:43:37Z</updated>
<author>
<name>robot-ya-builder</name>
<email>robot-ya-builder@yandex-team.com</email>
</author>
<published>2023-01-31T03:43:37Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=84d8b69eb78329102350117cecd3789f6b0a76bc'/>
<id>urn:sha1:84d8b69eb78329102350117cecd3789f6b0a76bc</id>
<content type='text'>
Update tools: yexport</content>
</entry>
<entry>
<title>External build system generator release 8</title>
<updated>2023-01-17T10:48:00Z</updated>
<author>
<name>robot-ya-builder</name>
<email>robot-ya-builder@yandex-team.com</email>
</author>
<published>2023-01-17T10:48:00Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=58a117b001b63f06104246f6a89c60128596b391'/>
<id>urn:sha1:58a117b001b63f06104246f6a89c60128596b391</id>
<content type='text'>
Update tools: yexport</content>
</entry>
<entry>
<title>Sync linux-headers instead of using system ones</title>
<updated>2022-12-15T16:25:15Z</updated>
<author>
<name>thegeorg</name>
<email>thegeorg@yandex-team.com</email>
</author>
<published>2022-12-15T16:25:15Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=0c31d97afd7858af5f8f858c8addf91655ca9ccc'/>
<id>urn:sha1:0c31d97afd7858af5f8f858c8addf91655ca9ccc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid unnecessary copies when visiting yson graph</title>
<updated>2022-08-23T10:35:29Z</updated>
<author>
<name>zhizhin</name>
<email>zhizhin@yandex-team.com</email>
</author>
<published>2022-08-23T10:35:29Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e200c8e2aa45d15f672a8ea2029e39a9f1620e6a'/>
<id>urn:sha1:e200c8e2aa45d15f672a8ea2029e39a9f1620e6a</id>
<content type='text'>
При вызове лямбды происходит деаллокация большого числа TNode. Они деаллоцируются внутри
лямбд так как лямбды принимают `const std::pair&lt;TString, TNode&gt;&amp;`, а
`THashMap` итерирует по `const std::pair&lt;const TString, TNode&gt;&amp;`

Меняю явный тип на `const auto&amp;`.

Предыстория:

После перехода на TC Malloc начали в сервере ловить странные кордампы
при десериализации YSON в строку.

Пример дампа: https://coredumps.n.yandex-team.ru/core_trace?core_id=47595674

Вот как вызывали: https://a.yandex-team.ru/arcadia/voicetech/library/asr_logs/message_logger.cpp?rev=rXXXXXX#L161

Вычитка кода показала, что переменная EngineInfo всегда валидная (ссылка
на константную глобальную переменную, которая жива всегда во время
работы программы).

В кордампе заметили деаллокации внутри этих лямбд и поняли, что происходят ненужные копирования.
Предполагаем, что деаллокации внутри YSON могут быть причиной кордампов.</content>
</entry>
<entry>
<title>Move library/cpp/yson/node/pytbind to library/python/yson_node</title>
<updated>2022-06-01T16:39:20Z</updated>
<author>
<name>thegeorg</name>
<email>thegeorg@yandex-team.ru</email>
</author>
<published>2022-06-01T16:39:20Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=adef74076d4daf7d6eecf0d25f61a5a6a4e05c38'/>
<id>urn:sha1:adef74076d4daf7d6eecf0d25f61a5a6a4e05c38</id>
<content type='text'>
ref:61c7ceff963203b0d2e3ac34c5624d029622c9ba
</content>
</entry>
<entry>
<title>intermediate changes</title>
<updated>2022-04-27T07:04:47Z</updated>
<author>
<name>arcadia-devtools</name>
<email>arcadia-devtools@yandex-team.ru</email>
</author>
<published>2022-04-27T07:04:47Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=0cab8da2b5ac8c6870c24756e16e6f8151ce1454'/>
<id>urn:sha1:0cab8da2b5ac8c6870c24756e16e6f8151ce1454</id>
<content type='text'>
ref:6498985c15da3fb6f4b628fbe715a78c29dba393
</content>
</entry>
<entry>
<title>intermediate changes</title>
<updated>2022-03-15T10:35:56Z</updated>
<author>
<name>arcadia-devtools</name>
<email>arcadia-devtools@yandex-team.ru</email>
</author>
<published>2022-03-15T10:35:56Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=094638589de6a6c9f91fad0005843fc1c1adc957'/>
<id>urn:sha1:094638589de6a6c9f91fad0005843fc1c1adc957</id>
<content type='text'>
ref:ca7a95e8c9a9d780f96497136a152091d54e61b5
</content>
</entry>
<entry>
<title>Improve SystemCommand check in YDB CLI, KIKIMR-14321</title>
<updated>2022-03-01T13:39:56Z</updated>
<author>
<name>pnv1</name>
<email>pnv1@yandex-team.ru</email>
</author>
<published>2022-03-01T13:39:56Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e28946633ffe99ca801c9ce9a8e835e796a20c12'/>
<id>urn:sha1:e28946633ffe99ca801c9ce9a8e835e796a20c12</id>
<content type='text'>
ref:fe5ed49138dce046a93c364cc8879fad3abf3eef
</content>
</entry>
</feed>
