aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/unified_agent_client
diff options
context:
space:
mode:
authorleonidlazarev <leonidlazarev@yandex-team.com>2023-06-02 15:07:38 +0300
committerleonidlazarev <leonidlazarev@yandex-team.com>2023-06-02 15:07:38 +0300
commit59e0045a61e61c2ac38878f2adc7ec91ca914cc1 (patch)
treeb6b64c51025630a7d40923d4aa7b7b882e1a8848 /library/cpp/unified_agent_client
parent7506c5c295065b4360d617393af34203f037946d (diff)
downloadydb-59e0045a61e61c2ac38878f2adc7ec91ca914cc1.tar.gz
feat grpc: update to grpc 1.50.2
update grpc to 1.50.2 update grpcio to 1.50.0 Удаленные патчи: 06-flow_control.patch - логика в upstream удалена 10-fix-crash-on-fork.patch - логика в upstream удалена 12-coverity-fix.patch - логика в upstream удалена 20-P2166-string-nullptr.patch - в upstream временный объект вместо nullptr PR29209-fix-heap-use-after-free.patch - решение есть в upstream Добавленные патчи: pr33085_fix_epoll1_engine_reinit.patch 21-windows_build.patch
Diffstat (limited to 'library/cpp/unified_agent_client')
-rw-r--r--library/cpp/unified_agent_client/grpc_io.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/cpp/unified_agent_client/grpc_io.cpp b/library/cpp/unified_agent_client/grpc_io.cpp
index 6d237d75ec..815f34f1cf 100644
--- a/library/cpp/unified_agent_client/grpc_io.cpp
+++ b/library/cpp/unified_agent_client/grpc_io.cpp
@@ -1,5 +1,6 @@
#include "grpc_io.h"
+#include <contrib/libs/grpc/src/core/lib/iomgr/exec_ctx.h>
#include <contrib/libs/grpc/src/core/lib/iomgr/executor.h>
#include <contrib/libs/grpc/src/core/lib/surface/completion_queue.h>
#include <contrib/libs/grpc/include/grpc/impl/codegen/log.h>
@@ -36,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, nullptr,
+ grpc_cq_end_op(CompletionQueue.cq(), this, GRPC_ERROR_NONE,
[](void* self, grpc_cq_completion*) {
Y_VERIFY(static_cast<TGrpcNotification*>(self)->InQueue.exchange(false));
},