<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/cpp/yson/node, branch stable-23-2</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=stable-23-2</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=stable-23-2'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2022-12-15T16:25:15Z</updated>
<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>
<entry>
<title>intermediate changes</title>
<updated>2022-02-18T12:49:59Z</updated>
<author>
<name>arcadia-devtools</name>
<email>arcadia-devtools@yandex-team.ru</email>
</author>
<published>2022-02-18T12:49:59Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b4cb34dfb2619f594d82e512fd9ff7fc97400133'/>
<id>urn:sha1:b4cb34dfb2619f594d82e512fd9ff7fc97400133</id>
<content type='text'>
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
</content>
</entry>
<entry>
<title>intermediate changes</title>
<updated>2022-02-10T18:59:03Z</updated>
<author>
<name>arcadia-devtools</name>
<email>arcadia-devtools@yandex-team.ru</email>
</author>
<published>2022-02-10T18:59:03Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=364350511fa304a5ba5c362849dc160fddf67a27'/>
<id>urn:sha1:364350511fa304a5ba5c362849dc160fddf67a27</id>
<content type='text'>
ref:1bf51835ea7425767532e1b783b23a0d09a0a88e
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;izetag@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:49:23Z</updated>
<author>
<name>izetag</name>
<email>izetag@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:23Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4413723d359117d4e6287d7ba94ee9b4102fa149'/>
<id>urn:sha1:4413723d359117d4e6287d7ba94ee9b4102fa149</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;izetag@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:49:23Z</updated>
<author>
<name>izetag</name>
<email>izetag@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:23Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=15e99bf7f1c1f5abf1fb12dbe305396757929832'/>
<id>urn:sha1:15e99bf7f1c1f5abf1fb12dbe305396757929832</id>
<content type='text'>
</content>
</entry>
</feed>
