aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/unified_agent_client
diff options
context:
space:
mode:
authorleonidlazarev <leonidlazarev@yandex-team.com>2023-07-17 19:35:29 +0300
committerleonidlazarev <leonidlazarev@yandex-team.com>2023-07-17 19:35:29 +0300
commitcb8e9a6330e4e5d9a0e2f8506e7469bbd641ec63 (patch)
treeeddb7b81e7d1f5a7ac8078591799509e95572f4e /library/cpp/unified_agent_client
parent029cf29f3669091012394221f00dfa0f3631d91b (diff)
downloadydb-cb8e9a6330e4e5d9a0e2f8506e7469bbd641ec63.tar.gz
feat grpc: update to grpc 1.53.1
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
Diffstat (limited to 'library/cpp/unified_agent_client')
-rw-r--r--library/cpp/unified_agent_client/client_impl.h2
-rw-r--r--library/cpp/unified_agent_client/grpc_io.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/unified_agent_client/client_impl.h b/library/cpp/unified_agent_client/client_impl.h
index 6adadf92e3..aa9d808b6e 100644
--- a/library/cpp/unified_agent_client/client_impl.h
+++ b/library/cpp/unified_agent_client/client_impl.h
@@ -102,7 +102,7 @@ namespace NUnifiedAgent::NPrivate {
private:
TVector<TClient*> Clients;
- grpc::GrpcLibraryCodegen GrpcInitializer;
+ grpc::internal::GrpcLibrary GrpcInitializer;
bool Enabled;
TAdaptiveLock Lock;
diff --git a/library/cpp/unified_agent_client/grpc_io.cpp b/library/cpp/unified_agent_client/grpc_io.cpp
index 815f34f1cf..b59cfb674a 100644
--- a/library/cpp/unified_agent_client/grpc_io.cpp
+++ b/library/cpp/unified_agent_client/grpc_io.cpp
@@ -37,7 +37,7 @@ namespace NUnifiedAgent {
grpc_core::ExecCtx execCtx;
IOCallback->Ref();
Y_VERIFY(grpc_cq_begin_op(CompletionQueue.cq(), this));
- grpc_cq_end_op(CompletionQueue.cq(), this, GRPC_ERROR_NONE,
+ grpc_cq_end_op(CompletionQueue.cq(), this, y_absl::OkStatus(),
[](void* self, grpc_cq_completion*) {
Y_VERIFY(static_cast<TGrpcNotification*>(self)->InQueue.exchange(false));
},