<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/util, 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>2023-01-14T12:13:39Z</updated>
<entry>
<title>TSharedPtr::As()&amp;: leakage fix</title>
<updated>2023-01-14T12:13:39Z</updated>
<author>
<name>sv-denisov</name>
<email>sv-denisov@yandex-team.com</email>
</author>
<published>2023-01-14T12:13:39Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=3657be5988251fc9074ba5b86b62bfa985ff4643'/>
<id>urn:sha1:3657be5988251fc9074ba5b86b62bfa985ff4643</id>
<content type='text'>
По следам https://a.yandex-team.ru/review/2996409/details
Исправлены случаи при неудачных кастах:
1. контрольный блок дёргается даже при указании на nullptr (нехорошо для атомиков)
2. если исходный шаред поинтер разрушится раньше, чем полученный nullptr (например, при возврате из функции), то ресурс утечёт</content>
</entry>
<entry>
<title>introduce NumberOfMillicores() function based on refactored CgroupCpus() returning double value</title>
<updated>2023-01-12T17:28:20Z</updated>
<author>
<name>svkrasnov</name>
<email>svkrasnov@yandex-team.com</email>
</author>
<published>2023-01-12T17:28:20Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b168b15511a5b04b8d6aababf3ec9a3fba1e9924'/>
<id>urn:sha1:b168b15511a5b04b8d6aababf3ec9a3fba1e9924</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add windows platform to ydb github export</title>
<updated>2022-12-19T21:50:48Z</updated>
<author>
<name>alexv-smirnov</name>
<email>alex@ydb.tech</email>
</author>
<published>2022-12-19T21:50:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=84f2cfa253cc618438ed6e9d68b33fa7c0d88cb9'/>
<id>urn:sha1:84f2cfa253cc618438ed6e9d68b33fa7c0d88cb9</id>
<content type='text'>
</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>remove kikimr/driver DEPENDS</title>
<updated>2022-12-02T08:31:25Z</updated>
<author>
<name>qrort</name>
<email>qrort@yandex-team.com</email>
</author>
<published>2022-12-02T08:31:25Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b1f4ffc9c8abff3ba58dc1ec9a9f92d2f0de6806'/>
<id>urn:sha1:b1f4ffc9c8abff3ba58dc1ec9a9f92d2f0de6806</id>
<content type='text'>
</content>
</entry>
<entry>
<title>validate canons without yatest_common</title>
<updated>2022-11-30T20:47:12Z</updated>
<author>
<name>qrort</name>
<email>qrort@yandex-team.com</email>
</author>
<published>2022-11-30T20:47:12Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=22f8ae0e3f5d68b92aecccdf96c1d841a0334311'/>
<id>urn:sha1:22f8ae0e3f5d68b92aecccdf96c1d841a0334311</id>
<content type='text'>
</content>
</entry>
<entry>
<title>more information in TEpollPoller::SetImpl error messages</title>
<updated>2022-11-14T13:35:19Z</updated>
<author>
<name>kulikov</name>
<email>kulikov@yandex-team.com</email>
</author>
<published>2022-11-14T13:35:19Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7c3d98b1daa4cb8b077d748f4e2d1d5ab042a9c1'/>
<id>urn:sha1:7c3d98b1daa4cb8b077d748f4e2d1d5ab042a9c1</id>
<content type='text'>
- don't hide epoll_ctl add errors;
 - print "fd" and "what" args.</content>
</entry>
<entry>
<title>[util] Terminate instead of deadlock after fork with running thread pools</title>
<updated>2022-11-10T09:04:05Z</updated>
<author>
<name>sskvor</name>
<email>sskvor@yandex-team.com</email>
</author>
<published>2022-11-10T09:04:05Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6d5ed9f0166178823f3a752bfe46dd7ef5042df8'/>
<id>urn:sha1:6d5ed9f0166178823f3a752bfe46dd7ef5042df8</id>
<content type='text'>
Контекст. В древнем странном коде обнаружили, что если создавать `TThreadPool` часто и конкуретно с запуском `TShellCommand`, то иногда последняя дедлочится: если начали выполнять конструктор `TThreadPool` и регистрацию в `TAtforkQueueRestarter`, захватив `TAtforkQueueRestarter::ActionMutex`, а в другом потоке параллельно сделали `fork`, то последний может форкнуться с залоченым мьютексом. Первым делом происходит вызов коллбеков из `pthread_atfork`, где мьютекс лочится заново.

Конечно, форкаться в сложных программах с тредпулами категорически запрещено, но, подозреваю, много кода в аркадии так написано. Давайте как-то защитимся от такого.</content>
</entry>
<entry>
<title>Add comment about necessary nanny settings</title>
<updated>2022-11-01T21:17:00Z</updated>
<author>
<name>skorodumov-s</name>
<email>skorodumov-s@yandex-team.com</email>
</author>
<published>2022-11-01T21:17:00Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=3740591e5cdb20c22146649b06f1561c855ca9e9'/>
<id>urn:sha1:3740591e5cdb20c22146649b06f1561c855ca9e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correct debug trap for M1</title>
<updated>2022-10-30T09:12:32Z</updated>
<author>
<name>somov</name>
<email>somov@yandex-team.com</email>
</author>
<published>2022-10-30T09:12:32Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4797d8678612824c0533a78b241eb6611131d542'/>
<id>urn:sha1:4797d8678612824c0533a78b241eb6611131d542</id>
<content type='text'>
</content>
</entry>
</feed>
