<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/cpp, branch oidc-1.2.9</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=oidc-1.2.9</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=oidc-1.2.9'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2026-06-06T23:26:51Z</updated>
<entry>
<title>New version of the tld SKIP_CHECK SKIP_REVIEW</title>
<updated>2026-06-06T23:26:51Z</updated>
<author>
<name>robot-ratatosk</name>
<email>robot-ratatosk@yandex-team.com</email>
</author>
<published>2026-06-06T22:54:09Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7e7a9bdcd5ab83a88fd31c74e70b2347a54ac275'/>
<id>urn:sha1:7e7a9bdcd5ab83a88fd31c74e70b2347a54ac275</id>
<content type='text'>
commit_hash:91a2de31f763fca2eb5b8595deb369458d889731
</content>
</entry>
<entry>
<title>Stroka -&gt; TString, Wtroka -&gt; TUtf16String..</title>
<updated>2026-06-06T22:57:56Z</updated>
<author>
<name>akhropov</name>
<email>akhropov@yandex-team.com</email>
</author>
<published>2026-06-06T22:19:15Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=19371c4e76c71936ceba67c5113e5b4421e7b922'/>
<id>urn:sha1:19371c4e76c71936ceba67c5113e5b4421e7b922</id>
<content type='text'>
commit_hash:0f92ee40eb5e4a80c59a5cbdcac895ff7acd22e9
</content>
</entry>
<entry>
<title>YT-22593: Reduce TString usage in core/misc</title>
<updated>2026-06-06T22:31:50Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2026-06-06T22:15:06Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=ffc038d5a916cec181915795ca4b45f07ee2ae05'/>
<id>urn:sha1:ffc038d5a916cec181915795ca4b45f07ee2ae05</id>
<content type='text'>
commit_hash:ba8c42476d6274212745348071682042e780037f
</content>
</entry>
<entry>
<title>Cache process/thread id getters and use them in TError origin capture</title>
<updated>2026-06-06T21:16:49Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2026-06-06T20:52:00Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=f10c7206fb31af8057446bceef9707aabaa9456e'/>
<id>urn:sha1:f10c7206fb31af8057446bceef9707aabaa9456e</id>
<content type='text'>
## Motivation
Profiling the YT master Automaton thread showed TOriginAttributes::Capture (run on every non-OK TError) spending ~60% of its time in a getpid() syscall — uncached on glibc &gt;= 2.25. NYT::GetCurrentThreadId() (gettid) feeds hot thread-affinity / log-manager checks on the same thread.

## Changes
- New library/cpp/yt/system/process_id.* with cached GetProcessId(); GetSystemThreadId() now caches the kernel tid in TLS. Both caches reset in the child after fork.
- Moved thread_name.{h,cpp} from misc to system.
- Removed GetCurrentProcessId/GetCurrentThreadId shims from yt/yt/core/misc/proc.{h,cpp}; migrated all callers to NYT::GetProcessId / NYT::GetSystemThreadId.
- TOriginAttributes::Capture uses the cached getters; recorded Tid is now the real kernel tid (matches perf/ps).
- Added microbenchmarks (library/cpp/yt/system/benchmarks, yt/yt/core/benchmarks/error.cpp).

## Microbenchmarks (release)
| | before | after |
|---|---|---|
| getpid | 101 ns | 0.33 ns |
| gettid | 102 ns | 1.64 ns |
| Capture | 161 ns | 50 ns |
| failed TError | 221 ns | 74 ns |
commit_hash:ee37ae57d61a5a2dd33daee935270f4bb93b7ff9
</content>
</entry>
<entry>
<title>[library] Trim dump_clang_coverage</title>
<updated>2026-06-04T17:50:02Z</updated>
<author>
<name>slizyukalex</name>
<email>slizyukalex@yandex-team.com</email>
</author>
<published>2026-06-04T17:03:22Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=073ad2ac124df7257f1c17304d6cc1483bb4bfb4'/>
<id>urn:sha1:073ad2ac124df7257f1c17304d6cc1483bb4bfb4</id>
<content type='text'>
`YA_COVERAGE_DUMP_PROFILE_AND_EXIT` is not used anymore
commit_hash:c7158fb4e201d522e6e2c31c91fa9361af4bf50c
</content>
</entry>
<entry>
<title>New version of the tld SKIP_CHECK SKIP_REVIEW</title>
<updated>2026-06-04T06:35:28Z</updated>
<author>
<name>robot-ratatosk</name>
<email>robot-ratatosk@yandex-team.com</email>
</author>
<published>2026-06-04T06:13:32Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=c34e3d27b414a62bff889a5ed90b735f352f75d9'/>
<id>urn:sha1:c34e3d27b414a62bff889a5ed90b735f352f75d9</id>
<content type='text'>
commit_hash:5cd17c6fa69e4f6a18eb72ebb05a874491ae8ac7
</content>
</entry>
<entry>
<title>Generalize GetEnvValueOrThrow with a typed conversion overload</title>
<updated>2026-06-03T08:26:50Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2026-06-03T08:02:37Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b62b275069b9c743d3da207efbc6e03206212f47'/>
<id>urn:sha1:b62b275069b9c743d3da207efbc6e03206212f47</id>
<content type='text'>
Add a templated GetEnvValueOrThrow&lt;T&gt; that parses the environment variable value via FromString, next to the existing std::string overload.
commit_hash:0421b0463c473c8c7f88c0b1619484e52b002897
</content>
</entry>
<entry>
<title>add ParseTextFormatFromString</title>
<updated>2026-06-02T13:05:57Z</updated>
<author>
<name>ilnurkh</name>
<email>ilnurkh@yandex-team.com</email>
</author>
<published>2026-06-02T11:57:56Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=c1d6b7a1565039905a8100bd5c4acef1a92a24dc'/>
<id>urn:sha1:c1d6b7a1565039905a8100bd5c4acef1a92a24dc</id>
<content type='text'>
commit_hash:1156b3325b874f25124c2e535b63ae714d348818
</content>
</entry>
<entry>
<title>YT: Add formatter for all protobuf enums</title>
<updated>2026-06-02T10:59:36Z</updated>
<author>
<name>grigminakov</name>
<email>grigminakov@yandex-team.com</email>
</author>
<published>2026-06-02T08:55:51Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=3b859ddc8d5eee908953aa0a217e448933ffc2af'/>
<id>urn:sha1:3b859ddc8d5eee908953aa0a217e448933ffc2af</id>
<content type='text'>
commit_hash:58bf07dcff4aac728a67e0607d2c3b49ad1feef1
</content>
</entry>
<entry>
<title>[libxml] add parseOptions</title>
<updated>2026-06-01T10:53:34Z</updated>
<author>
<name>gbrun</name>
<email>gbrun@yandex-team.com</email>
</author>
<published>2026-06-01T10:14:33Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=ecf443683811f2f5190606456b8480ece7c9b7e4'/>
<id>urn:sha1:ecf443683811f2f5190606456b8480ece7c9b7e4</id>
<content type='text'>
Added the ability to explicitly specify parsing options.
commit_hash:1bd7947cfc298f0c3edc895a77c64f70504b78d5
</content>
</entry>
</feed>
