<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/contrib/libs/grpc/src/core/lib/surface, branch main</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=main</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2026-04-10T08:06:09Z</updated>
<entry>
<title>Revert outdated patches from contrib/libs/grpc</title>
<updated>2026-04-10T08:06:09Z</updated>
<author>
<name>thegeorg</name>
<email>thegeorg@yandex-team.com</email>
</author>
<published>2026-04-10T07:40:57Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=3350840a2f2caae93b5c46bc0771bc78c1ca7897'/>
<id>urn:sha1:3350840a2f2caae93b5c46bc0771bc78c1ca7897</id>
<content type='text'>
commit_hash:a2a633fee423adc0d580fa5d4a96c2e5142370be
</content>
</entry>
<entry>
<title>grpc bump 1.60.2 round 2</title>
<updated>2026-03-09T19:28:52Z</updated>
<author>
<name>nechda</name>
<email>nechda@yandex-team.com</email>
</author>
<published>2026-03-09T19:05:18Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4b3ef4915183317b0e974ea952b7b170dcf5c38d'/>
<id>urn:sha1:4b3ef4915183317b0e974ea952b7b170dcf5c38d</id>
<content type='text'>
commit_hash:ede5af5ae2989185f1f823b57183ce2414f53b28
</content>
</entry>
<entry>
<title>Fix race condition in grpc_shutdown causing use-after-free in c-ares</title>
<updated>2026-03-08T20:40:37Z</updated>
<author>
<name>andybg</name>
<email>andybg@yandex-team.com</email>
</author>
<published>2026-03-08T20:23:32Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=5e4443cb23a723cb03b9a208a3b481e4c03d393e'/>
<id>urn:sha1:5e4443cb23a723cb03b9a208a3b481e4c03d393e</id>
<content type='text'>
 Testing CI with shutdown order fix.

This PR swaps the order of grpc_iomgr_shutdown() and grpc_resolver_dns_ares_shutdown()
in grpc_shutdown_internal_locked() to prevent race condition.

**Root Cause:**
- Timer destructors (~grpc::Alarm) call grpc_timer_cancel()
- Parallel grpc_shutdown() frees c-ares resources
- Results in use-after-free

**Fix:**
Stop timers (grpc_iomgr_shutdown) BEFORE freeing c-ares (grpc_resolver_dns_ares_shutdown).
commit_hash:be77a0b79bcd97534a559650ceaa79f526d2217f
</content>
</entry>
<entry>
<title>Revert grpc upver</title>
<updated>2026-02-27T07:03:41Z</updated>
<author>
<name>nechda</name>
<email>nechda@yandex-team.com</email>
</author>
<published>2026-02-27T06:26:08Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=57d34083689a35fe289576245e97435d59a41c19'/>
<id>urn:sha1:57d34083689a35fe289576245e97435d59a41c19</id>
<content type='text'>
commit_hash:1ad1d3e927e2706a778ffe7b0e480fcbf1899a81
</content>
</entry>
<entry>
<title>grpc bump 1.60.2</title>
<updated>2026-02-25T20:24:37Z</updated>
<author>
<name>nechda</name>
<email>nechda@yandex-team.com</email>
</author>
<published>2026-02-25T20:04:51Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=d22607442e063bfeed7e17a39c586e450d4ef44f'/>
<id>urn:sha1:d22607442e063bfeed7e17a39c586e450d4ef44f</id>
<content type='text'>
commit_hash:fa6f56a6a0023650474aacd9cc773027d697b917
</content>
</entry>
<entry>
<title>Revert commit rXXXXXX, contrib/libs/grpc: Backport patch to fix race condition during openssl shutdown</title>
<updated>2025-05-23T11:26:56Z</updated>
<author>
<name>thegeorg</name>
<email>thegeorg@yandex-team.com</email>
</author>
<published>2025-05-23T11:00:28Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=0332172e69764e28c8913bb5c74a58d1fc892fbc'/>
<id>urn:sha1:0332172e69764e28c8913bb5c74a58d1fc892fbc</id>
<content type='text'>
commit_hash:65fb8d40012f8e188efdebc8137a923db4fcc6e1
</content>
</entry>
<entry>
<title>contrib/libs/grpc: Backport patch to fix race condition during openssl shutdown</title>
<updated>2025-05-13T17:25:27Z</updated>
<author>
<name>thegeorg</name>
<email>thegeorg@yandex-team.com</email>
</author>
<published>2025-05-13T17:08:22Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=f555b850f3b9d67929a251fe2a56cf901da621f9'/>
<id>urn:sha1:f555b850f3b9d67929a251fe2a56cf901da621f9</id>
<content type='text'>
Ensure OPENSSL global clean up happens after gRPC shutdown completes.
OPENSSL registers an exit handler to clean up global objects, which may happen before gRPC removes all references to OPENSSL.
commit_hash:7120e72fcbfbac3997483f3551f864ff9b8ec3a4
</content>
</entry>
<entry>
<title>Y_VERIFY-&gt;Y_ABORT_UNLESS at '^contrib/[^y]'</title>
<updated>2023-10-10T06:36:57Z</updated>
<author>
<name>ilnurkh</name>
<email>ilnurkh@yandex-team.com</email>
</author>
<published>2023-10-10T06:22:19Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b359f0072dbc794d0287c26984dd0ea0a2c27efc'/>
<id>urn:sha1:b359f0072dbc794d0287c26984dd0ea0a2c27efc</id>
<content type='text'>
https://clubs.at.yandex-team.ru/arcadia/29404
</content>
</entry>
<entry>
<title>feat grpc: update to grpc 1.54.2</title>
<updated>2023-08-01T09:39:29Z</updated>
<author>
<name>leonidlazarev</name>
<email>leonidlazarev@yandex-team.com</email>
</author>
<published>2023-08-01T09:39:29Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=a3b63938a35abe460ed6b601e55e57bb44449c83'/>
<id>urn:sha1:a3b63938a35abe460ed6b601e55e57bb44449c83</id>
<content type='text'>
update grpc to 1.54.2
update grpcio to 1.54.2

Added patches:
pr33239_fix_use_after_free.patch

Removed patches:
pr32547-fix-race.patch - exists in upstream</content>
</entry>
<entry>
<title>feat grpc: update to grpc 1.53.1</title>
<updated>2023-07-17T16:35:29Z</updated>
<author>
<name>leonidlazarev</name>
<email>leonidlazarev@yandex-team.com</email>
</author>
<published>2023-07-17T16:35:29Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=cb8e9a6330e4e5d9a0e2f8506e7469bbd641ec63'/>
<id>urn:sha1:cb8e9a6330e4e5d9a0e2f8506e7469bbd641ec63</id>
<content type='text'>
update grpc to 1.53.1
update grpcio/py3 to 1.53.1

Added patches:
    22-grpc-code-output.patch - allow translation of grpc code to internal string type.
    23-max-thread-limitation.patch - to provide interface for settings of thread number limit, as
    grpc::DynamicThreadPool doesn't provide interface to limit thread number anymore.
    24-support_for-non-abort-grpc.patch - generate exception instead of application crash
    25-forkable-destruction-order.patch - correct forkable logic for TimerManager
    27-skip-child-post-fork-operations.patch - allow to skip child post fork operations to exclude UB (used for unified agent only)
    pr33495_fox_nested_fork.patch - fix issues with nested forks
    pr33582_fork_handler.patch - disable fork handler support  if it is not requested intentionally</content>
</entry>
</feed>
