/Users/deen/code/yugabyte-db/src/yb/client/client-internal.cc
Line | Count | Source (jump to first uncovered line) |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // |
18 | | // The following only applies to changes made to this file as part of YugaByte development. |
19 | | // |
20 | | // Portions Copyright (c) YugaByte, Inc. |
21 | | // |
22 | | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
23 | | // in compliance with the License. You may obtain a copy of the License at |
24 | | // |
25 | | // http://www.apache.org/licenses/LICENSE-2.0 |
26 | | // |
27 | | // Unless required by applicable law or agreed to in writing, software distributed under the License |
28 | | // is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
29 | | // or implied. See the License for the specific language governing permissions and limitations |
30 | | // under the License. |
31 | | // |
32 | | |
33 | | #include "yb/client/client-internal.h" |
34 | | |
35 | | #include <algorithm> |
36 | | #include <fstream> |
37 | | #include <functional> |
38 | | #include <limits> |
39 | | #include <map> |
40 | | #include <memory> |
41 | | #include <mutex> |
42 | | #include <set> |
43 | | #include <sstream> |
44 | | #include <string> |
45 | | #include <vector> |
46 | | |
47 | | #include <boost/algorithm/string/predicate.hpp> |
48 | | #include <boost/preprocessor/cat.hpp> |
49 | | #include <boost/preprocessor/seq/for_each.hpp> |
50 | | #include <boost/preprocessor/stringize.hpp> |
51 | | |
52 | | #include "yb/client/client_master_rpc.h" |
53 | | #include "yb/client/meta_cache.h" |
54 | | #include "yb/client/table_info.h" |
55 | | |
56 | | #include "yb/common/index.h" |
57 | | #include "yb/common/redis_constants_common.h" |
58 | | #include "yb/common/schema.h" |
59 | | #include "yb/common/wire_protocol.h" |
60 | | |
61 | | #include "yb/gutil/bind.h" |
62 | | #include "yb/gutil/map-util.h" |
63 | | #include "yb/gutil/strings/join.h" |
64 | | #include "yb/gutil/strings/substitute.h" |
65 | | #include "yb/gutil/sysinfo.h" |
66 | | |
67 | | #include "yb/master/master_admin.proxy.h" |
68 | | #include "yb/master/master_client.proxy.h" |
69 | | #include "yb/master/master_cluster.proxy.h" |
70 | | #include "yb/master/master_dcl.proxy.h" |
71 | | #include "yb/master/master_ddl.proxy.h" |
72 | | #include "yb/master/master_replication.proxy.h" |
73 | | #include "yb/master/master_defaults.h" |
74 | | #include "yb/master/master_error.h" |
75 | | #include "yb/master/master_rpc.h" |
76 | | #include "yb/master/master_util.h" |
77 | | |
78 | | #include "yb/rpc/messenger.h" |
79 | | #include "yb/rpc/proxy.h" |
80 | | #include "yb/rpc/rpc.h" |
81 | | #include "yb/rpc/rpc_controller.h" |
82 | | |
83 | | #include "yb/util/atomic.h" |
84 | | #include "yb/util/backoff_waiter.h" |
85 | | #include "yb/util/flag_tags.h" |
86 | | #include "yb/util/format.h" |
87 | | #include "yb/util/logging.h" |
88 | | #include "yb/util/metric_entity.h" |
89 | | #include "yb/util/monotime.h" |
90 | | #include "yb/util/net/net_util.h" |
91 | | #include "yb/util/result.h" |
92 | | #include "yb/util/scope_exit.h" |
93 | | #include "yb/util/status_format.h" |
94 | | #include "yb/util/status_log.h" |
95 | | |
96 | | using namespace std::literals; |
97 | | |
98 | | DEFINE_test_flag(bool, assert_local_tablet_server_selected, false, "Verify that SelectTServer " |
99 | | "selected the local tablet server. Also verify that ReplicaSelection is equal " |
100 | | "to CLOSEST_REPLICA"); |
101 | | |
102 | | DEFINE_test_flag(string, assert_tablet_server_select_is_in_zone, "", |
103 | | "Verify that SelectTServer selected a talet server in the AZ specified by this " |
104 | | "flag."); |
105 | | |
106 | | DECLARE_int64(reset_master_leader_timeout_ms); |
107 | | |
108 | | DECLARE_string(flagfile); |
109 | | |
110 | | namespace yb { |
111 | | |
112 | | using std::set; |
113 | | using std::shared_ptr; |
114 | | using std::string; |
115 | | using std::vector; |
116 | | using strings::Substitute; |
117 | | |
118 | | using namespace std::placeholders; |
119 | | |
120 | | using consensus::RaftPeerPB; |
121 | | using master::GetLeaderMasterRpc; |
122 | | using master::MasterErrorPB; |
123 | | using rpc::Rpc; |
124 | | using rpc::RpcController; |
125 | | |
126 | | namespace client { |
127 | | |
128 | | using internal::GetTableSchemaRpc; |
129 | | using internal::GetTablegroupSchemaRpc; |
130 | | using internal::GetColocatedTabletSchemaRpc; |
131 | | using internal::RemoteTablet; |
132 | | using internal::RemoteTabletServer; |
133 | | using internal::UpdateLocalTsState; |
134 | | |
135 | | Status RetryFunc( |
136 | | CoarseTimePoint deadline, |
137 | | const string& retry_msg, |
138 | | const string& timeout_msg, |
139 | | const std::function<Status(CoarseTimePoint, bool*)>& func, |
140 | 15.1k | const CoarseDuration max_wait) { |
141 | 15.1k | DCHECK(deadline != CoarseTimePoint()); |
142 | | |
143 | 15.1k | CoarseBackoffWaiter waiter(deadline, max_wait); |
144 | | |
145 | 15.1k | if (waiter.ExpiredNow()) { |
146 | 0 | return STATUS(TimedOut, timeout_msg); |
147 | 0 | } |
148 | 38.5k | for (;;) { |
149 | 38.5k | bool retry = true; |
150 | 38.5k | Status s = func(deadline, &retry); |
151 | 38.5k | if (!retry) { |
152 | 15.1k | return s; |
153 | 15.1k | } |
154 | | |
155 | 18.4E | VLOG(1) << retry_msg << " attempt=" << waiter.attempt() << " status=" << s.ToString(); |
156 | 23.4k | if (!waiter.Wait()) { |
157 | 2 | break; |
158 | 2 | } |
159 | 23.4k | } |
160 | | |
161 | 6 | return STATUS(TimedOut, timeout_msg); |
162 | 15.1k | } |
163 | | |
164 | | template<class ProxyClass, class RespClass> |
165 | | class SyncClientMasterRpc : public internal::ClientMasterRpcBase { |
166 | | public: |
167 | | using SyncLeaderMasterFunc = std::function<void( |
168 | | ProxyClass*, rpc::RpcController*, const rpc::ResponseCallback& callback)>; |
169 | | |
170 | | template <class ClientData> |
171 | | explicit SyncClientMasterRpc( |
172 | | ClientData* client, CoarseTimePoint deadline, RespClass* resp, |
173 | | const std::string& name, const SyncLeaderMasterFunc& func) |
174 | | : ClientMasterRpcBase(client, deadline), |
175 | 187k | resp_(resp), name_(name), func_(func) {} Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24AlterNamespaceResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20AlterTableResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 322 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23BackfillIndexResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 89 | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_35ChangeMasterClusterConfigResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25CreateNamespaceResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 1.80k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21CreateTableResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 3.20k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26CreateTablegroupResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 2 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22CreateUDTypeResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 46 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25DeleteNamespaceResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 1.51k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21DeleteTableResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 2.43k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26DeleteTablegroupResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 1 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22DeleteUDTypeResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 53 | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21FlushTablesResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29GetTablegroupSchemaResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_34GetColocatedTabletSchemaResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_32GetMasterClusterConfigResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26GetNamespaceInfoResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 1.77k | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24GetTableSchemaResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23GetUDTypeInfoResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 55 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26IsAlterTableDoneResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 649 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsCreateNamespaceDoneResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 2.03k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsCreateTableDoneResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 15.9k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsDeleteNamespaceDoneResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 1.53k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsDeleteTableDoneResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 5.58k | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsFlushTablesDoneResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29IsTruncateTableDoneResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 8.89k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24ListNamespacesResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 4.40k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25ListTablegroupsResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 1 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20ListTablesResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 170 | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21ListUDTypesResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23TruncateTableResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 3.05k | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_33ValidateReplicationInfoResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_38CreateTransactionStatusTableResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_27GetTableLocationsResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 2.80k | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_28GetTabletLocationsResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_37GetTransactionStatusTabletsResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 2.00k | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_30GetYsqlCatalogConfigResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigGetResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 291 | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigSetResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_26ReservePgsqlOidsResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 380 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_24IsLoadBalancedResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 178 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_28IsLoadBalancerIdleResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 2.27k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_31ListLiveTabletServersResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 2 | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_21ListMastersResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_27ListTabletServersResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 2.86k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_19AlterRoleResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 58 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20CreateRoleResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 757 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20DeleteRoleResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 730 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_24GetPermissionsResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 118k | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_31GrantRevokePermissionResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 721 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_25GrantRevokeRoleResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 52 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25CreateCDCStreamResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 2.69k | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25DeleteCDCStreamResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_28GetCDCDBStreamInfoResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_22GetCDCStreamResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 1 | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_24ListCDCStreamsResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25UpdateCDCStreamResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_39UpdateConsumerOnProducerSplitResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE _ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_21FlushTablesResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 7 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_27IsFlushTablesDoneResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 19 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_32GetMasterClusterConfigResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 6 | resp_(resp), name_(name), func_(func) {} |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_35ChangeMasterClusterConfigResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE Line | Count | Source | 175 | 4 | resp_(resp), name_(name), func_(func) {} |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_33ValidateReplicationInfoResponsePBEEC2INS0_8YBClient4DataEEEPT_NSt3__16chrono10time_pointINS_15CoarseMonoClockENSC_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPS4_RKNSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNSB_8functionIFvPS3_PNS_3rpc13RpcControllerERKNST_IFvvEEEEEE |
176 | | |
177 | 187k | void CallRemoteMethod() override { |
178 | 187k | auto master_proxy = this->template master_proxy<ProxyClass>(); |
179 | 187k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), |
180 | 187k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); |
181 | 187k | } Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24AlterNamespaceResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20AlterTableResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 323 | void CallRemoteMethod() override { | 178 | 323 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 323 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 323 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 323 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23BackfillIndexResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 89 | void CallRemoteMethod() override { | 178 | 89 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 89 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 89 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 89 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_35ChangeMasterClusterConfigResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25CreateNamespaceResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 1.80k | void CallRemoteMethod() override { | 178 | 1.80k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 1.80k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 1.80k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 1.80k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21CreateTableResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 3.20k | void CallRemoteMethod() override { | 178 | 3.20k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 3.20k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 3.20k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 3.20k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26CreateTablegroupResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 2 | void CallRemoteMethod() override { | 178 | 2 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 2 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 2 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 2 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22CreateUDTypeResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 46 | void CallRemoteMethod() override { | 178 | 46 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 46 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 46 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 46 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25DeleteNamespaceResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 1.51k | void CallRemoteMethod() override { | 178 | 1.51k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 1.51k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 1.51k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 1.51k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21DeleteTableResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 2.44k | void CallRemoteMethod() override { | 178 | 2.44k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 2.44k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 2.44k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 2.44k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26DeleteTablegroupResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 1 | void CallRemoteMethod() override { | 178 | 1 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 1 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 1 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 1 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22DeleteUDTypeResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 53 | void CallRemoteMethod() override { | 178 | 53 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 53 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 53 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 53 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21FlushTablesResponsePBEE16CallRemoteMethodEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29GetTablegroupSchemaResponsePBEE16CallRemoteMethodEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_34GetColocatedTabletSchemaResponsePBEE16CallRemoteMethodEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_32GetMasterClusterConfigResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26GetNamespaceInfoResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 1.77k | void CallRemoteMethod() override { | 178 | 1.77k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 1.77k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 1.77k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 1.77k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24GetTableSchemaResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23GetUDTypeInfoResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 55 | void CallRemoteMethod() override { | 178 | 55 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 55 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 55 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 55 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26IsAlterTableDoneResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 649 | void CallRemoteMethod() override { | 178 | 649 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 649 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 649 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 649 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsCreateNamespaceDoneResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 2.03k | void CallRemoteMethod() override { | 178 | 2.03k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 2.03k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 2.03k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 2.03k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsCreateTableDoneResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 15.9k | void CallRemoteMethod() override { | 178 | 15.9k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 15.9k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 15.9k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 15.9k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsDeleteNamespaceDoneResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 1.53k | void CallRemoteMethod() override { | 178 | 1.53k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 1.53k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 1.53k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 1.53k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsDeleteTableDoneResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 5.58k | void CallRemoteMethod() override { | 178 | 5.58k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 5.58k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 5.58k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 5.58k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsFlushTablesDoneResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29IsTruncateTableDoneResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 8.89k | void CallRemoteMethod() override { | 178 | 8.89k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 8.89k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 8.89k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 8.89k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24ListNamespacesResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 4.40k | void CallRemoteMethod() override { | 178 | 4.40k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 4.40k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 4.40k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 4.40k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25ListTablegroupsResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 1 | void CallRemoteMethod() override { | 178 | 1 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 1 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 1 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 1 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20ListTablesResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 170 | void CallRemoteMethod() override { | 178 | 170 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 170 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 170 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 170 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21ListUDTypesResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23TruncateTableResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 3.05k | void CallRemoteMethod() override { | 178 | 3.05k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 3.05k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 3.05k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 3.05k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_33ValidateReplicationInfoResponsePBEE16CallRemoteMethodEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_38CreateTransactionStatusTableResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_27GetTableLocationsResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 2.80k | void CallRemoteMethod() override { | 178 | 2.80k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 2.80k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 2.80k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 2.80k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_28GetTabletLocationsResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_37GetTransactionStatusTabletsResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 2.01k | void CallRemoteMethod() override { | 178 | 2.01k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 2.01k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 2.01k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 2.01k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_30GetYsqlCatalogConfigResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigGetResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 291 | void CallRemoteMethod() override { | 178 | 291 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 291 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 291 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 291 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigSetResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_26ReservePgsqlOidsResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 380 | void CallRemoteMethod() override { | 178 | 380 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 380 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 380 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 380 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_24IsLoadBalancedResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 178 | void CallRemoteMethod() override { | 178 | 178 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 178 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 178 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 178 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_28IsLoadBalancerIdleResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 2.27k | void CallRemoteMethod() override { | 178 | 2.27k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 2.27k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 2.27k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 2.27k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_31ListLiveTabletServersResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 2 | void CallRemoteMethod() override { | 178 | 2 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 2 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 2 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 2 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_21ListMastersResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_27ListTabletServersResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 2.86k | void CallRemoteMethod() override { | 178 | 2.86k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 2.86k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 2.86k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 2.86k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_19AlterRoleResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 58 | void CallRemoteMethod() override { | 178 | 58 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 58 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 58 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 58 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20CreateRoleResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 757 | void CallRemoteMethod() override { | 178 | 757 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 757 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 757 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 757 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20DeleteRoleResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 730 | void CallRemoteMethod() override { | 178 | 730 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 730 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 730 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 730 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_24GetPermissionsResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 118k | void CallRemoteMethod() override { | 178 | 118k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 118k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 118k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 118k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_31GrantRevokePermissionResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 721 | void CallRemoteMethod() override { | 178 | 721 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 721 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 721 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 721 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_25GrantRevokeRoleResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 52 | void CallRemoteMethod() override { | 178 | 52 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 52 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 52 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 52 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25CreateCDCStreamResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 2.69k | void CallRemoteMethod() override { | 178 | 2.69k | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 2.69k | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 2.69k | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 2.69k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25DeleteCDCStreamResponsePBEE16CallRemoteMethodEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_28GetCDCDBStreamInfoResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_22GetCDCStreamResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 1 | void CallRemoteMethod() override { | 178 | 1 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 1 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 1 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 1 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_24ListCDCStreamsResponsePBEE16CallRemoteMethodEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25UpdateCDCStreamResponsePBEE16CallRemoteMethodEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_39UpdateConsumerOnProducerSplitResponsePBEE16CallRemoteMethodEv _ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_21FlushTablesResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 7 | void CallRemoteMethod() override { | 178 | 7 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 7 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 7 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 7 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_27IsFlushTablesDoneResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 19 | void CallRemoteMethod() override { | 178 | 19 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 19 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 19 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 19 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_32GetMasterClusterConfigResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 6 | void CallRemoteMethod() override { | 178 | 6 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 6 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 6 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 6 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_35ChangeMasterClusterConfigResponsePBEE16CallRemoteMethodEv Line | Count | Source | 177 | 4 | void CallRemoteMethod() override { | 178 | 4 | auto master_proxy = this->template master_proxy<ProxyClass>(); | 179 | 4 | func_(master_proxy.get(), this->mutable_retrier()->mutable_controller(), | 180 | 4 | std::bind(&SyncClientMasterRpc::Finished, this, Status::OK())); | 181 | 4 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_33ValidateReplicationInfoResponsePBEE16CallRemoteMethodEv |
182 | | |
183 | 187k | void ProcessResponse(const Status& status) override { |
184 | 187k | synchronizer_.StatusCB(status); |
185 | 187k | } Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24AlterNamespaceResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20AlterTableResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 322 | void ProcessResponse(const Status& status) override { | 184 | 322 | synchronizer_.StatusCB(status); | 185 | 322 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23BackfillIndexResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 89 | void ProcessResponse(const Status& status) override { | 184 | 89 | synchronizer_.StatusCB(status); | 185 | 89 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_35ChangeMasterClusterConfigResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25CreateNamespaceResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 1.79k | void ProcessResponse(const Status& status) override { | 184 | 1.79k | synchronizer_.StatusCB(status); | 185 | 1.79k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21CreateTableResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 3.20k | void ProcessResponse(const Status& status) override { | 184 | 3.20k | synchronizer_.StatusCB(status); | 185 | 3.20k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26CreateTablegroupResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 2 | void ProcessResponse(const Status& status) override { | 184 | 2 | synchronizer_.StatusCB(status); | 185 | 2 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22CreateUDTypeResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 46 | void ProcessResponse(const Status& status) override { | 184 | 46 | synchronizer_.StatusCB(status); | 185 | 46 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25DeleteNamespaceResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 1.51k | void ProcessResponse(const Status& status) override { | 184 | 1.51k | synchronizer_.StatusCB(status); | 185 | 1.51k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21DeleteTableResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 2.43k | void ProcessResponse(const Status& status) override { | 184 | 2.43k | synchronizer_.StatusCB(status); | 185 | 2.43k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26DeleteTablegroupResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 1 | void ProcessResponse(const Status& status) override { | 184 | 1 | synchronizer_.StatusCB(status); | 185 | 1 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22DeleteUDTypeResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 53 | void ProcessResponse(const Status& status) override { | 184 | 53 | synchronizer_.StatusCB(status); | 185 | 53 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21FlushTablesResponsePBEE15ProcessResponseERKNS_6StatusE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29GetTablegroupSchemaResponsePBEE15ProcessResponseERKNS_6StatusE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_34GetColocatedTabletSchemaResponsePBEE15ProcessResponseERKNS_6StatusE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_32GetMasterClusterConfigResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26GetNamespaceInfoResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 1.77k | void ProcessResponse(const Status& status) override { | 184 | 1.77k | synchronizer_.StatusCB(status); | 185 | 1.77k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24GetTableSchemaResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23GetUDTypeInfoResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 55 | void ProcessResponse(const Status& status) override { | 184 | 55 | synchronizer_.StatusCB(status); | 185 | 55 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26IsAlterTableDoneResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 649 | void ProcessResponse(const Status& status) override { | 184 | 649 | synchronizer_.StatusCB(status); | 185 | 649 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsCreateNamespaceDoneResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 2.03k | void ProcessResponse(const Status& status) override { | 184 | 2.03k | synchronizer_.StatusCB(status); | 185 | 2.03k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsCreateTableDoneResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 15.9k | void ProcessResponse(const Status& status) override { | 184 | 15.9k | synchronizer_.StatusCB(status); | 185 | 15.9k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsDeleteNamespaceDoneResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 1.53k | void ProcessResponse(const Status& status) override { | 184 | 1.53k | synchronizer_.StatusCB(status); | 185 | 1.53k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsDeleteTableDoneResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 5.58k | void ProcessResponse(const Status& status) override { | 184 | 5.58k | synchronizer_.StatusCB(status); | 185 | 5.58k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsFlushTablesDoneResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29IsTruncateTableDoneResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 8.89k | void ProcessResponse(const Status& status) override { | 184 | 8.89k | synchronizer_.StatusCB(status); | 185 | 8.89k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24ListNamespacesResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 4.40k | void ProcessResponse(const Status& status) override { | 184 | 4.40k | synchronizer_.StatusCB(status); | 185 | 4.40k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25ListTablegroupsResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 1 | void ProcessResponse(const Status& status) override { | 184 | 1 | synchronizer_.StatusCB(status); | 185 | 1 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20ListTablesResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 170 | void ProcessResponse(const Status& status) override { | 184 | 170 | synchronizer_.StatusCB(status); | 185 | 170 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21ListUDTypesResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23TruncateTableResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 3.05k | void ProcessResponse(const Status& status) override { | 184 | 3.05k | synchronizer_.StatusCB(status); | 185 | 3.05k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_33ValidateReplicationInfoResponsePBEE15ProcessResponseERKNS_6StatusE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_38CreateTransactionStatusTableResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_27GetTableLocationsResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 2.80k | void ProcessResponse(const Status& status) override { | 184 | 2.80k | synchronizer_.StatusCB(status); | 185 | 2.80k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_28GetTabletLocationsResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_37GetTransactionStatusTabletsResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 2.01k | void ProcessResponse(const Status& status) override { | 184 | 2.01k | synchronizer_.StatusCB(status); | 185 | 2.01k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_30GetYsqlCatalogConfigResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigGetResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 291 | void ProcessResponse(const Status& status) override { | 184 | 291 | synchronizer_.StatusCB(status); | 185 | 291 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigSetResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_26ReservePgsqlOidsResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 380 | void ProcessResponse(const Status& status) override { | 184 | 380 | synchronizer_.StatusCB(status); | 185 | 380 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_24IsLoadBalancedResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 178 | void ProcessResponse(const Status& status) override { | 184 | 178 | synchronizer_.StatusCB(status); | 185 | 178 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_28IsLoadBalancerIdleResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 2.27k | void ProcessResponse(const Status& status) override { | 184 | 2.27k | synchronizer_.StatusCB(status); | 185 | 2.27k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_31ListLiveTabletServersResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 2 | void ProcessResponse(const Status& status) override { | 184 | 2 | synchronizer_.StatusCB(status); | 185 | 2 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_21ListMastersResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_27ListTabletServersResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 2.86k | void ProcessResponse(const Status& status) override { | 184 | 2.86k | synchronizer_.StatusCB(status); | 185 | 2.86k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_19AlterRoleResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 58 | void ProcessResponse(const Status& status) override { | 184 | 58 | synchronizer_.StatusCB(status); | 185 | 58 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20CreateRoleResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 757 | void ProcessResponse(const Status& status) override { | 184 | 757 | synchronizer_.StatusCB(status); | 185 | 757 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20DeleteRoleResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 730 | void ProcessResponse(const Status& status) override { | 184 | 730 | synchronizer_.StatusCB(status); | 185 | 730 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_24GetPermissionsResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 117k | void ProcessResponse(const Status& status) override { | 184 | 117k | synchronizer_.StatusCB(status); | 185 | 117k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_31GrantRevokePermissionResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 721 | void ProcessResponse(const Status& status) override { | 184 | 721 | synchronizer_.StatusCB(status); | 185 | 721 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_25GrantRevokeRoleResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 52 | void ProcessResponse(const Status& status) override { | 184 | 52 | synchronizer_.StatusCB(status); | 185 | 52 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25CreateCDCStreamResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 2.69k | void ProcessResponse(const Status& status) override { | 184 | 2.69k | synchronizer_.StatusCB(status); | 185 | 2.69k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25DeleteCDCStreamResponsePBEE15ProcessResponseERKNS_6StatusE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_28GetCDCDBStreamInfoResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_22GetCDCStreamResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 1 | void ProcessResponse(const Status& status) override { | 184 | 1 | synchronizer_.StatusCB(status); | 185 | 1 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_24ListCDCStreamsResponsePBEE15ProcessResponseERKNS_6StatusE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25UpdateCDCStreamResponsePBEE15ProcessResponseERKNS_6StatusE Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_39UpdateConsumerOnProducerSplitResponsePBEE15ProcessResponseERKNS_6StatusE _ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_21FlushTablesResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 7 | void ProcessResponse(const Status& status) override { | 184 | 7 | synchronizer_.StatusCB(status); | 185 | 7 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_27IsFlushTablesDoneResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 19 | void ProcessResponse(const Status& status) override { | 184 | 19 | synchronizer_.StatusCB(status); | 185 | 19 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_32GetMasterClusterConfigResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 6 | void ProcessResponse(const Status& status) override { | 184 | 6 | synchronizer_.StatusCB(status); | 185 | 6 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_35ChangeMasterClusterConfigResponsePBEE15ProcessResponseERKNS_6StatusE Line | Count | Source | 183 | 4 | void ProcessResponse(const Status& status) override { | 184 | 4 | synchronizer_.StatusCB(status); | 185 | 4 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_33ValidateReplicationInfoResponsePBEE15ProcessResponseERKNS_6StatusE |
186 | | |
187 | 2.93k | std::string ToString() const override { |
188 | 2.93k | return name_; |
189 | 2.93k | } Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24AlterNamespaceResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20AlterTableResponsePBEE8ToStringEv Line | Count | Source | 187 | 3 | std::string ToString() const override { | 188 | 3 | return name_; | 189 | 3 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23BackfillIndexResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_35ChangeMasterClusterConfigResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25CreateNamespaceResponsePBEE8ToStringEv Line | Count | Source | 187 | 15 | std::string ToString() const override { | 188 | 15 | return name_; | 189 | 15 | } |
_ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21CreateTableResponsePBEE8ToStringEv Line | Count | Source | 187 | 14 | std::string ToString() const override { | 188 | 14 | return name_; | 189 | 14 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26CreateTablegroupResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22CreateUDTypeResponsePBEE8ToStringEv Line | Count | Source | 187 | 1 | std::string ToString() const override { | 188 | 1 | return name_; | 189 | 1 | } |
_ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25DeleteNamespaceResponsePBEE8ToStringEv Line | Count | Source | 187 | 1 | std::string ToString() const override { | 188 | 1 | return name_; | 189 | 1 | } |
_ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21DeleteTableResponsePBEE8ToStringEv Line | Count | Source | 187 | 30 | std::string ToString() const override { | 188 | 30 | return name_; | 189 | 30 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26DeleteTablegroupResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22DeleteUDTypeResponsePBEE8ToStringEv Line | Count | Source | 187 | 8 | std::string ToString() const override { | 188 | 8 | return name_; | 189 | 8 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21FlushTablesResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29GetTablegroupSchemaResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_34GetColocatedTabletSchemaResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_32GetMasterClusterConfigResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26GetNamespaceInfoResponsePBEE8ToStringEv Line | Count | Source | 187 | 1 | std::string ToString() const override { | 188 | 1 | return name_; | 189 | 1 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24GetTableSchemaResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23GetUDTypeInfoResponsePBEE8ToStringEv Line | Count | Source | 187 | 7 | std::string ToString() const override { | 188 | 7 | return name_; | 189 | 7 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26IsAlterTableDoneResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsCreateNamespaceDoneResponsePBEE8ToStringEv Line | Count | Source | 187 | 1 | std::string ToString() const override { | 188 | 1 | return name_; | 189 | 1 | } |
_ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsCreateTableDoneResponsePBEE8ToStringEv Line | Count | Source | 187 | 26 | std::string ToString() const override { | 188 | 26 | return name_; | 189 | 26 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsDeleteNamespaceDoneResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsDeleteTableDoneResponsePBEE8ToStringEv Line | Count | Source | 187 | 104 | std::string ToString() const override { | 188 | 104 | return name_; | 189 | 104 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsFlushTablesDoneResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29IsTruncateTableDoneResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24ListNamespacesResponsePBEE8ToStringEv Line | Count | Source | 187 | 1 | std::string ToString() const override { | 188 | 1 | return name_; | 189 | 1 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25ListTablegroupsResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20ListTablesResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21ListUDTypesResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23TruncateTableResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_33ValidateReplicationInfoResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_38CreateTransactionStatusTableResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_27GetTableLocationsResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_28GetTabletLocationsResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_37GetTransactionStatusTabletsResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_30GetYsqlCatalogConfigResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigGetResponsePBEE8ToStringEv Line | Count | Source | 187 | 291 | std::string ToString() const override { | 188 | 291 | return name_; | 189 | 291 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigSetResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_26ReservePgsqlOidsResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_24IsLoadBalancedResponsePBEE8ToStringEv Line | Count | Source | 187 | 176 | std::string ToString() const override { | 188 | 176 | return name_; | 189 | 176 | } |
_ZNK2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_28IsLoadBalancerIdleResponsePBEE8ToStringEv Line | Count | Source | 187 | 1.73k | std::string ToString() const override { | 188 | 1.73k | return name_; | 189 | 1.73k | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_31ListLiveTabletServersResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_21ListMastersResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_27ListTabletServersResponsePBEE8ToStringEv Line | Count | Source | 187 | 1 | std::string ToString() const override { | 188 | 1 | return name_; | 189 | 1 | } |
_ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_19AlterRoleResponsePBEE8ToStringEv Line | Count | Source | 187 | 13 | std::string ToString() const override { | 188 | 13 | return name_; | 189 | 13 | } |
_ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20CreateRoleResponsePBEE8ToStringEv Line | Count | Source | 187 | 6 | std::string ToString() const override { | 188 | 6 | return name_; | 189 | 6 | } |
_ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20DeleteRoleResponsePBEE8ToStringEv Line | Count | Source | 187 | 6 | std::string ToString() const override { | 188 | 6 | return name_; | 189 | 6 | } |
_ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_24GetPermissionsResponsePBEE8ToStringEv Line | Count | Source | 187 | 489 | std::string ToString() const override { | 188 | 489 | return name_; | 189 | 489 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_31GrantRevokePermissionResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_25GrantRevokeRoleResponsePBEE8ToStringEv Line | Count | Source | 187 | 3 | std::string ToString() const override { | 188 | 3 | return name_; | 189 | 3 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25CreateCDCStreamResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25DeleteCDCStreamResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_28GetCDCDBStreamInfoResponsePBEE8ToStringEv _ZNK2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_22GetCDCStreamResponsePBEE8ToStringEv Line | Count | Source | 187 | 1 | std::string ToString() const override { | 188 | 1 | return name_; | 189 | 1 | } |
Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_24ListCDCStreamsResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25UpdateCDCStreamResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_39UpdateConsumerOnProducerSplitResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_21FlushTablesResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_27IsFlushTablesDoneResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_32GetMasterClusterConfigResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_35ChangeMasterClusterConfigResponsePBEE8ToStringEv Unexecuted instantiation: _ZNK2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_33ValidateReplicationInfoResponsePBEE8ToStringEv |
190 | | |
191 | 187k | Synchronizer& synchronizer() { |
192 | 187k | return synchronizer_; |
193 | 187k | } Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24AlterNamespaceResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20AlterTableResponsePBEE12synchronizerEv Line | Count | Source | 191 | 322 | Synchronizer& synchronizer() { | 192 | 322 | return synchronizer_; | 193 | 322 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23BackfillIndexResponsePBEE12synchronizerEv Line | Count | Source | 191 | 89 | Synchronizer& synchronizer() { | 192 | 89 | return synchronizer_; | 193 | 89 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_35ChangeMasterClusterConfigResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25CreateNamespaceResponsePBEE12synchronizerEv Line | Count | Source | 191 | 1.80k | Synchronizer& synchronizer() { | 192 | 1.80k | return synchronizer_; | 193 | 1.80k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21CreateTableResponsePBEE12synchronizerEv Line | Count | Source | 191 | 3.20k | Synchronizer& synchronizer() { | 192 | 3.20k | return synchronizer_; | 193 | 3.20k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26CreateTablegroupResponsePBEE12synchronizerEv Line | Count | Source | 191 | 2 | Synchronizer& synchronizer() { | 192 | 2 | return synchronizer_; | 193 | 2 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22CreateUDTypeResponsePBEE12synchronizerEv Line | Count | Source | 191 | 46 | Synchronizer& synchronizer() { | 192 | 46 | return synchronizer_; | 193 | 46 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25DeleteNamespaceResponsePBEE12synchronizerEv Line | Count | Source | 191 | 1.51k | Synchronizer& synchronizer() { | 192 | 1.51k | return synchronizer_; | 193 | 1.51k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21DeleteTableResponsePBEE12synchronizerEv Line | Count | Source | 191 | 2.43k | Synchronizer& synchronizer() { | 192 | 2.43k | return synchronizer_; | 193 | 2.43k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26DeleteTablegroupResponsePBEE12synchronizerEv Line | Count | Source | 191 | 1 | Synchronizer& synchronizer() { | 192 | 1 | return synchronizer_; | 193 | 1 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22DeleteUDTypeResponsePBEE12synchronizerEv Line | Count | Source | 191 | 53 | Synchronizer& synchronizer() { | 192 | 53 | return synchronizer_; | 193 | 53 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21FlushTablesResponsePBEE12synchronizerEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29GetTablegroupSchemaResponsePBEE12synchronizerEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_34GetColocatedTabletSchemaResponsePBEE12synchronizerEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_32GetMasterClusterConfigResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26GetNamespaceInfoResponsePBEE12synchronizerEv Line | Count | Source | 191 | 1.77k | Synchronizer& synchronizer() { | 192 | 1.77k | return synchronizer_; | 193 | 1.77k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24GetTableSchemaResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23GetUDTypeInfoResponsePBEE12synchronizerEv Line | Count | Source | 191 | 55 | Synchronizer& synchronizer() { | 192 | 55 | return synchronizer_; | 193 | 55 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26IsAlterTableDoneResponsePBEE12synchronizerEv Line | Count | Source | 191 | 649 | Synchronizer& synchronizer() { | 192 | 649 | return synchronizer_; | 193 | 649 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsCreateNamespaceDoneResponsePBEE12synchronizerEv Line | Count | Source | 191 | 2.03k | Synchronizer& synchronizer() { | 192 | 2.03k | return synchronizer_; | 193 | 2.03k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsCreateTableDoneResponsePBEE12synchronizerEv Line | Count | Source | 191 | 15.9k | Synchronizer& synchronizer() { | 192 | 15.9k | return synchronizer_; | 193 | 15.9k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsDeleteNamespaceDoneResponsePBEE12synchronizerEv Line | Count | Source | 191 | 1.53k | Synchronizer& synchronizer() { | 192 | 1.53k | return synchronizer_; | 193 | 1.53k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsDeleteTableDoneResponsePBEE12synchronizerEv Line | Count | Source | 191 | 5.58k | Synchronizer& synchronizer() { | 192 | 5.58k | return synchronizer_; | 193 | 5.58k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsFlushTablesDoneResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29IsTruncateTableDoneResponsePBEE12synchronizerEv Line | Count | Source | 191 | 8.89k | Synchronizer& synchronizer() { | 192 | 8.89k | return synchronizer_; | 193 | 8.89k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24ListNamespacesResponsePBEE12synchronizerEv Line | Count | Source | 191 | 4.40k | Synchronizer& synchronizer() { | 192 | 4.40k | return synchronizer_; | 193 | 4.40k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25ListTablegroupsResponsePBEE12synchronizerEv Line | Count | Source | 191 | 1 | Synchronizer& synchronizer() { | 192 | 1 | return synchronizer_; | 193 | 1 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20ListTablesResponsePBEE12synchronizerEv Line | Count | Source | 191 | 170 | Synchronizer& synchronizer() { | 192 | 170 | return synchronizer_; | 193 | 170 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21ListUDTypesResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23TruncateTableResponsePBEE12synchronizerEv Line | Count | Source | 191 | 3.05k | Synchronizer& synchronizer() { | 192 | 3.05k | return synchronizer_; | 193 | 3.05k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_33ValidateReplicationInfoResponsePBEE12synchronizerEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_38CreateTransactionStatusTableResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_27GetTableLocationsResponsePBEE12synchronizerEv Line | Count | Source | 191 | 2.80k | Synchronizer& synchronizer() { | 192 | 2.80k | return synchronizer_; | 193 | 2.80k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_28GetTabletLocationsResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_37GetTransactionStatusTabletsResponsePBEE12synchronizerEv Line | Count | Source | 191 | 2.01k | Synchronizer& synchronizer() { | 192 | 2.01k | return synchronizer_; | 193 | 2.01k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_30GetYsqlCatalogConfigResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigGetResponsePBEE12synchronizerEv Line | Count | Source | 191 | 291 | Synchronizer& synchronizer() { | 192 | 291 | return synchronizer_; | 193 | 291 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigSetResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_26ReservePgsqlOidsResponsePBEE12synchronizerEv Line | Count | Source | 191 | 380 | Synchronizer& synchronizer() { | 192 | 380 | return synchronizer_; | 193 | 380 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_24IsLoadBalancedResponsePBEE12synchronizerEv Line | Count | Source | 191 | 178 | Synchronizer& synchronizer() { | 192 | 178 | return synchronizer_; | 193 | 178 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_28IsLoadBalancerIdleResponsePBEE12synchronizerEv Line | Count | Source | 191 | 2.27k | Synchronizer& synchronizer() { | 192 | 2.27k | return synchronizer_; | 193 | 2.27k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_31ListLiveTabletServersResponsePBEE12synchronizerEv Line | Count | Source | 191 | 2 | Synchronizer& synchronizer() { | 192 | 2 | return synchronizer_; | 193 | 2 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_21ListMastersResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_27ListTabletServersResponsePBEE12synchronizerEv Line | Count | Source | 191 | 2.86k | Synchronizer& synchronizer() { | 192 | 2.86k | return synchronizer_; | 193 | 2.86k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_19AlterRoleResponsePBEE12synchronizerEv Line | Count | Source | 191 | 58 | Synchronizer& synchronizer() { | 192 | 58 | return synchronizer_; | 193 | 58 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20CreateRoleResponsePBEE12synchronizerEv Line | Count | Source | 191 | 757 | Synchronizer& synchronizer() { | 192 | 757 | return synchronizer_; | 193 | 757 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20DeleteRoleResponsePBEE12synchronizerEv Line | Count | Source | 191 | 730 | Synchronizer& synchronizer() { | 192 | 730 | return synchronizer_; | 193 | 730 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_24GetPermissionsResponsePBEE12synchronizerEv Line | Count | Source | 191 | 118k | Synchronizer& synchronizer() { | 192 | 118k | return synchronizer_; | 193 | 118k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_31GrantRevokePermissionResponsePBEE12synchronizerEv Line | Count | Source | 191 | 721 | Synchronizer& synchronizer() { | 192 | 721 | return synchronizer_; | 193 | 721 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_25GrantRevokeRoleResponsePBEE12synchronizerEv Line | Count | Source | 191 | 52 | Synchronizer& synchronizer() { | 192 | 52 | return synchronizer_; | 193 | 52 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25CreateCDCStreamResponsePBEE12synchronizerEv Line | Count | Source | 191 | 2.69k | Synchronizer& synchronizer() { | 192 | 2.69k | return synchronizer_; | 193 | 2.69k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25DeleteCDCStreamResponsePBEE12synchronizerEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_28GetCDCDBStreamInfoResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_22GetCDCStreamResponsePBEE12synchronizerEv Line | Count | Source | 191 | 1 | Synchronizer& synchronizer() { | 192 | 1 | return synchronizer_; | 193 | 1 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_24ListCDCStreamsResponsePBEE12synchronizerEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25UpdateCDCStreamResponsePBEE12synchronizerEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_39UpdateConsumerOnProducerSplitResponsePBEE12synchronizerEv _ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_21FlushTablesResponsePBEE12synchronizerEv Line | Count | Source | 191 | 7 | Synchronizer& synchronizer() { | 192 | 7 | return synchronizer_; | 193 | 7 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_27IsFlushTablesDoneResponsePBEE12synchronizerEv Line | Count | Source | 191 | 19 | Synchronizer& synchronizer() { | 192 | 19 | return synchronizer_; | 193 | 19 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_32GetMasterClusterConfigResponsePBEE12synchronizerEv Line | Count | Source | 191 | 6 | Synchronizer& synchronizer() { | 192 | 6 | return synchronizer_; | 193 | 6 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_35ChangeMasterClusterConfigResponsePBEE12synchronizerEv Line | Count | Source | 191 | 4 | Synchronizer& synchronizer() { | 192 | 4 | return synchronizer_; | 193 | 4 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_33ValidateReplicationInfoResponsePBEE12synchronizerEv |
194 | | |
195 | 187k | Status ResponseStatus() override { |
196 | 187k | return internal::StatusFromResp(*resp_); |
197 | 187k | } Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24AlterNamespaceResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20AlterTableResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 323 | Status ResponseStatus() override { | 196 | 323 | return internal::StatusFromResp(*resp_); | 197 | 323 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23BackfillIndexResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 89 | Status ResponseStatus() override { | 196 | 89 | return internal::StatusFromResp(*resp_); | 197 | 89 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_35ChangeMasterClusterConfigResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25CreateNamespaceResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 1.80k | Status ResponseStatus() override { | 196 | 1.80k | return internal::StatusFromResp(*resp_); | 197 | 1.80k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21CreateTableResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 3.20k | Status ResponseStatus() override { | 196 | 3.20k | return internal::StatusFromResp(*resp_); | 197 | 3.20k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26CreateTablegroupResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 2 | Status ResponseStatus() override { | 196 | 2 | return internal::StatusFromResp(*resp_); | 197 | 2 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22CreateUDTypeResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 46 | Status ResponseStatus() override { | 196 | 46 | return internal::StatusFromResp(*resp_); | 197 | 46 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25DeleteNamespaceResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 1.51k | Status ResponseStatus() override { | 196 | 1.51k | return internal::StatusFromResp(*resp_); | 197 | 1.51k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21DeleteTableResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 2.44k | Status ResponseStatus() override { | 196 | 2.44k | return internal::StatusFromResp(*resp_); | 197 | 2.44k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26DeleteTablegroupResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 1 | Status ResponseStatus() override { | 196 | 1 | return internal::StatusFromResp(*resp_); | 197 | 1 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_22DeleteUDTypeResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 53 | Status ResponseStatus() override { | 196 | 53 | return internal::StatusFromResp(*resp_); | 197 | 53 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21FlushTablesResponsePBEE14ResponseStatusEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29GetTablegroupSchemaResponsePBEE14ResponseStatusEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_34GetColocatedTabletSchemaResponsePBEE14ResponseStatusEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_32GetMasterClusterConfigResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26GetNamespaceInfoResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 1.77k | Status ResponseStatus() override { | 196 | 1.77k | return internal::StatusFromResp(*resp_); | 197 | 1.77k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24GetTableSchemaResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23GetUDTypeInfoResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 55 | Status ResponseStatus() override { | 196 | 55 | return internal::StatusFromResp(*resp_); | 197 | 55 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_26IsAlterTableDoneResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 649 | Status ResponseStatus() override { | 196 | 649 | return internal::StatusFromResp(*resp_); | 197 | 649 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsCreateNamespaceDoneResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 2.03k | Status ResponseStatus() override { | 196 | 2.03k | return internal::StatusFromResp(*resp_); | 197 | 2.03k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsCreateTableDoneResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 15.9k | Status ResponseStatus() override { | 196 | 15.9k | return internal::StatusFromResp(*resp_); | 197 | 15.9k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_31IsDeleteNamespaceDoneResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 1.53k | Status ResponseStatus() override { | 196 | 1.53k | return internal::StatusFromResp(*resp_); | 197 | 1.53k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsDeleteTableDoneResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 5.58k | Status ResponseStatus() override { | 196 | 5.58k | return internal::StatusFromResp(*resp_); | 197 | 5.58k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_27IsFlushTablesDoneResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_29IsTruncateTableDoneResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 8.89k | Status ResponseStatus() override { | 196 | 8.89k | return internal::StatusFromResp(*resp_); | 197 | 8.89k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_24ListNamespacesResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 4.40k | Status ResponseStatus() override { | 196 | 4.40k | return internal::StatusFromResp(*resp_); | 197 | 4.40k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_25ListTablegroupsResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 1 | Status ResponseStatus() override { | 196 | 1 | return internal::StatusFromResp(*resp_); | 197 | 1 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_20ListTablesResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 170 | Status ResponseStatus() override { | 196 | 170 | return internal::StatusFromResp(*resp_); | 197 | 170 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_21ListUDTypesResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_23TruncateTableResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 3.05k | Status ResponseStatus() override { | 196 | 3.05k | return internal::StatusFromResp(*resp_); | 197 | 3.05k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDdlProxyENS2_33ValidateReplicationInfoResponsePBEE14ResponseStatusEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_38CreateTransactionStatusTableResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_27GetTableLocationsResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 2.80k | Status ResponseStatus() override { | 196 | 2.80k | return internal::StatusFromResp(*resp_); | 197 | 2.80k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_28GetTabletLocationsResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_37GetTransactionStatusTabletsResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 2.01k | Status ResponseStatus() override { | 196 | 2.01k | return internal::StatusFromResp(*resp_); | 197 | 2.01k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_30GetYsqlCatalogConfigResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigGetResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 291 | Status ResponseStatus() override { | 196 | 291 | return internal::StatusFromResp(*resp_); | 197 | 291 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_24RedisConfigSetResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master17MasterClientProxyENS2_26ReservePgsqlOidsResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 380 | Status ResponseStatus() override { | 196 | 380 | return internal::StatusFromResp(*resp_); | 197 | 380 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_24IsLoadBalancedResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 178 | Status ResponseStatus() override { | 196 | 178 | return internal::StatusFromResp(*resp_); | 197 | 178 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_28IsLoadBalancerIdleResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 2.27k | Status ResponseStatus() override { | 196 | 2.27k | return internal::StatusFromResp(*resp_); | 197 | 2.27k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_31ListLiveTabletServersResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 2 | Status ResponseStatus() override { | 196 | 2 | return internal::StatusFromResp(*resp_); | 197 | 2 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_21ListMastersResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_27ListTabletServersResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 2.86k | Status ResponseStatus() override { | 196 | 2.86k | return internal::StatusFromResp(*resp_); | 197 | 2.86k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_19AlterRoleResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 58 | Status ResponseStatus() override { | 196 | 58 | return internal::StatusFromResp(*resp_); | 197 | 58 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20CreateRoleResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 757 | Status ResponseStatus() override { | 196 | 757 | return internal::StatusFromResp(*resp_); | 197 | 757 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_20DeleteRoleResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 730 | Status ResponseStatus() override { | 196 | 730 | return internal::StatusFromResp(*resp_); | 197 | 730 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_24GetPermissionsResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 118k | Status ResponseStatus() override { | 196 | 118k | return internal::StatusFromResp(*resp_); | 197 | 118k | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_31GrantRevokePermissionResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 721 | Status ResponseStatus() override { | 196 | 721 | return internal::StatusFromResp(*resp_); | 197 | 721 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master14MasterDclProxyENS2_25GrantRevokeRoleResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 52 | Status ResponseStatus() override { | 196 | 52 | return internal::StatusFromResp(*resp_); | 197 | 52 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25CreateCDCStreamResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 2.69k | Status ResponseStatus() override { | 196 | 2.69k | return internal::StatusFromResp(*resp_); | 197 | 2.69k | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25DeleteCDCStreamResponsePBEE14ResponseStatusEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_28GetCDCDBStreamInfoResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_22GetCDCStreamResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 1 | Status ResponseStatus() override { | 196 | 1 | return internal::StatusFromResp(*resp_); | 197 | 1 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_24ListCDCStreamsResponsePBEE14ResponseStatusEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_25UpdateCDCStreamResponsePBEE14ResponseStatusEv Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_39UpdateConsumerOnProducerSplitResponsePBEE14ResponseStatusEv _ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_21FlushTablesResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 7 | Status ResponseStatus() override { | 196 | 7 | return internal::StatusFromResp(*resp_); | 197 | 7 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master16MasterAdminProxyENS2_27IsFlushTablesDoneResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 19 | Status ResponseStatus() override { | 196 | 19 | return internal::StatusFromResp(*resp_); | 197 | 19 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_32GetMasterClusterConfigResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 6 | Status ResponseStatus() override { | 196 | 6 | return internal::StatusFromResp(*resp_); | 197 | 6 | } |
_ZN2yb6client19SyncClientMasterRpcINS_6master18MasterClusterProxyENS2_35ChangeMasterClusterConfigResponsePBEE14ResponseStatusEv Line | Count | Source | 195 | 4 | Status ResponseStatus() override { | 196 | 4 | return internal::StatusFromResp(*resp_); | 197 | 4 | } |
Unexecuted instantiation: _ZN2yb6client19SyncClientMasterRpcINS_6master22MasterReplicationProxyENS2_33ValidateReplicationInfoResponsePBEE14ResponseStatusEv |
198 | | |
199 | | private: |
200 | | RespClass* resp_; |
201 | | std::string name_; |
202 | | SyncLeaderMasterFunc func_; |
203 | | Synchronizer synchronizer_; |
204 | | }; |
205 | | |
206 | | template <class ProxyClass, class ReqClass, class RespClass> |
207 | | Status YBClient::Data::SyncLeaderMasterRpc( |
208 | | CoarseTimePoint deadline, const ReqClass& req, RespClass* resp, const char* func_name, |
209 | 187k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { |
210 | 187k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); |
211 | 187k | auto se = ScopeExit([this] { |
212 | 187k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); |
213 | 187k | }); Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_23AlterNamespaceRequestPBENS4_24AlterNamespaceResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_19AlterTableRequestPBENS4_20AlterTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 322 | auto se = ScopeExit([this] { | 212 | 322 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 322 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_22BackfillIndexRequestPBENS4_23BackfillIndexResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 89 | auto se = ScopeExit([this] { | 212 | 89 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 89 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_34ChangeMasterClusterConfigRequestPBENS4_35ChangeMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_24CreateNamespaceRequestPBENS4_25CreateNamespaceResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 1.79k | auto se = ScopeExit([this] { | 212 | 1.79k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1.79k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20CreateTableRequestPBENS4_21CreateTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 3.20k | auto se = ScopeExit([this] { | 212 | 3.20k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 3.20k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25CreateTablegroupRequestPBENS4_26CreateTablegroupResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 2 | auto se = ScopeExit([this] { | 212 | 2 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_21CreateUDTypeRequestPBENS4_22CreateUDTypeResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 46 | auto se = ScopeExit([this] { | 212 | 46 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 46 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_24DeleteNamespaceRequestPBENS4_25DeleteNamespaceResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 1.51k | auto se = ScopeExit([this] { | 212 | 1.51k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1.51k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20DeleteTableRequestPBENS4_21DeleteTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 2.43k | auto se = ScopeExit([this] { | 212 | 2.43k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.43k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25DeleteTablegroupRequestPBENS4_26DeleteTablegroupResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 1 | auto se = ScopeExit([this] { | 212 | 1 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_21DeleteUDTypeRequestPBENS4_22DeleteUDTypeResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 53 | auto se = ScopeExit([this] { | 212 | 53 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 53 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20FlushTablesRequestPBENS4_21FlushTablesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_28GetTablegroupSchemaRequestPBENS4_29GetTablegroupSchemaResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_33GetColocatedTabletSchemaRequestPBENS4_34GetColocatedTabletSchemaResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_31GetMasterClusterConfigRequestPBENS4_32GetMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25GetNamespaceInfoRequestPBENS4_26GetNamespaceInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 1.77k | auto se = ScopeExit([this] { | 212 | 1.77k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1.77k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_23GetTableSchemaRequestPBENS4_24GetTableSchemaResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_22GetUDTypeInfoRequestPBENS4_23GetUDTypeInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 55 | auto se = ScopeExit([this] { | 212 | 55 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 55 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25IsAlterTableDoneRequestPBENS4_26IsAlterTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 649 | auto se = ScopeExit([this] { | 212 | 649 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 649 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_30IsCreateNamespaceDoneRequestPBENS4_31IsCreateNamespaceDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 2.03k | auto se = ScopeExit([this] { | 212 | 2.03k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.03k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_26IsCreateTableDoneRequestPBENS4_27IsCreateTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 15.9k | auto se = ScopeExit([this] { | 212 | 15.9k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 15.9k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_30IsDeleteNamespaceDoneRequestPBENS4_31IsDeleteNamespaceDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 1.53k | auto se = ScopeExit([this] { | 212 | 1.53k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1.53k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_26IsDeleteTableDoneRequestPBENS4_27IsDeleteTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 5.58k | auto se = ScopeExit([this] { | 212 | 5.58k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 5.58k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_26IsFlushTablesDoneRequestPBENS4_27IsFlushTablesDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_28IsTruncateTableDoneRequestPBENS4_29IsTruncateTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 8.89k | auto se = ScopeExit([this] { | 212 | 8.89k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 8.89k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_23ListNamespacesRequestPBENS4_24ListNamespacesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 4.40k | auto se = ScopeExit([this] { | 212 | 4.40k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 4.40k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_24ListTablegroupsRequestPBENS4_25ListTablegroupsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 1 | auto se = ScopeExit([this] { | 212 | 1 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_19ListTablesRequestPBENS4_20ListTablesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 170 | auto se = ScopeExit([this] { | 212 | 170 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 170 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20ListUDTypesRequestPBENS4_21ListUDTypesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_22TruncateTableRequestPBENS4_23TruncateTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 3.05k | auto se = ScopeExit([this] { | 212 | 3.05k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 3.05k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_32ValidateReplicationInfoRequestPBENS4_33ValidateReplicationInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master16MasterAdminProxyENS4_37CreateTransactionStatusTableRequestPBENS4_38CreateTransactionStatusTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_26GetTableLocationsRequestPBENS4_27GetTableLocationsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 2.80k | auto se = ScopeExit([this] { | 212 | 2.80k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.80k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_27GetTabletLocationsRequestPBENS4_28GetTabletLocationsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_36GetTransactionStatusTabletsRequestPBENS4_37GetTransactionStatusTabletsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 2.01k | auto se = ScopeExit([this] { | 212 | 2.01k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.01k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_29GetYsqlCatalogConfigRequestPBENS4_30GetYsqlCatalogConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_23RedisConfigGetRequestPBENS4_24RedisConfigGetResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 291 | auto se = ScopeExit([this] { | 212 | 291 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 291 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_23RedisConfigSetRequestPBENS4_24RedisConfigSetResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_25ReservePgsqlOidsRequestPBENS4_26ReservePgsqlOidsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 380 | auto se = ScopeExit([this] { | 212 | 380 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 380 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_23IsLoadBalancedRequestPBENS4_24IsLoadBalancedResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 178 | auto se = ScopeExit([this] { | 212 | 178 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 178 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_27IsLoadBalancerIdleRequestPBENS4_28IsLoadBalancerIdleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 2.27k | auto se = ScopeExit([this] { | 212 | 2.27k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.27k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_30ListLiveTabletServersRequestPBENS4_31ListLiveTabletServersResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 2 | auto se = ScopeExit([this] { | 212 | 2 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_20ListMastersRequestPBENS4_21ListMastersResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_26ListTabletServersRequestPBENS4_27ListTabletServersResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 2.86k | auto se = ScopeExit([this] { | 212 | 2.86k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.86k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_18AlterRoleRequestPBENS4_19AlterRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 58 | auto se = ScopeExit([this] { | 212 | 58 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 58 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_19CreateRoleRequestPBENS4_20CreateRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 757 | auto se = ScopeExit([this] { | 212 | 757 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 757 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_19DeleteRoleRequestPBENS4_20DeleteRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 730 | auto se = ScopeExit([this] { | 212 | 730 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 730 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_23GetPermissionsRequestPBENS4_24GetPermissionsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 117k | auto se = ScopeExit([this] { | 212 | 117k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 117k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_30GrantRevokePermissionRequestPBENS4_31GrantRevokePermissionResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 721 | auto se = ScopeExit([this] { | 212 | 721 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 721 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_24GrantRevokeRoleRequestPBENS4_25GrantRevokeRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 52 | auto se = ScopeExit([this] { | 212 | 52 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 52 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_24CreateCDCStreamRequestPBENS4_25CreateCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 2.69k | auto se = ScopeExit([this] { | 212 | 2.69k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.69k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_24DeleteCDCStreamRequestPBENS4_25DeleteCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_27GetCDCDBStreamInfoRequestPBENS4_28GetCDCDBStreamInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_21GetCDCStreamRequestPBENS4_22GetCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 1 | auto se = ScopeExit([this] { | 212 | 1 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_23ListCDCStreamsRequestPBENS4_24ListCDCStreamsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_24UpdateCDCStreamRequestPBENS4_25UpdateCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_38UpdateConsumerOnProducerSplitRequestPBENS4_39UpdateConsumerOnProducerSplitResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master16MasterAdminProxyENS4_20FlushTablesRequestPBENS4_21FlushTablesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 7 | auto se = ScopeExit([this] { | 212 | 7 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 7 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master16MasterAdminProxyENS4_26IsFlushTablesDoneRequestPBENS4_27IsFlushTablesDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 19 | auto se = ScopeExit([this] { | 212 | 19 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 19 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_31GetMasterClusterConfigRequestPBENS4_32GetMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 6 | auto se = ScopeExit([this] { | 212 | 6 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 6 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_34ChangeMasterClusterConfigRequestPBENS4_35ChangeMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv Line | Count | Source | 211 | 4 | auto se = ScopeExit([this] { | 212 | 4 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 4 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_32ValidateReplicationInfoRequestPBENS4_33ValidateReplicationInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlvE_clEv |
214 | | |
215 | 187k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); |
216 | | |
217 | 187k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( |
218 | 187k | this, deadline, resp, func_name, |
219 | 187k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, |
220 | 187k | const rpc::ResponseCallback& callback) { |
221 | 187k | (proxy->*func)(req, resp, controller, callback); |
222 | 187k | }); Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_23AlterNamespaceRequestPBENS4_24AlterNamespaceResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_19AlterTableRequestPBENS4_20AlterTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 323 | const rpc::ResponseCallback& callback) { | 221 | 323 | (proxy->*func)(req, resp, controller, callback); | 222 | 323 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_22BackfillIndexRequestPBENS4_23BackfillIndexResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 89 | const rpc::ResponseCallback& callback) { | 221 | 89 | (proxy->*func)(req, resp, controller, callback); | 222 | 89 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_34ChangeMasterClusterConfigRequestPBENS4_35ChangeMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_24CreateNamespaceRequestPBENS4_25CreateNamespaceResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 1.80k | const rpc::ResponseCallback& callback) { | 221 | 1.80k | (proxy->*func)(req, resp, controller, callback); | 222 | 1.80k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20CreateTableRequestPBENS4_21CreateTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 3.20k | const rpc::ResponseCallback& callback) { | 221 | 3.20k | (proxy->*func)(req, resp, controller, callback); | 222 | 3.20k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25CreateTablegroupRequestPBENS4_26CreateTablegroupResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 2 | const rpc::ResponseCallback& callback) { | 221 | 2 | (proxy->*func)(req, resp, controller, callback); | 222 | 2 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_21CreateUDTypeRequestPBENS4_22CreateUDTypeResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 46 | const rpc::ResponseCallback& callback) { | 221 | 46 | (proxy->*func)(req, resp, controller, callback); | 222 | 46 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_24DeleteNamespaceRequestPBENS4_25DeleteNamespaceResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 1.51k | const rpc::ResponseCallback& callback) { | 221 | 1.51k | (proxy->*func)(req, resp, controller, callback); | 222 | 1.51k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20DeleteTableRequestPBENS4_21DeleteTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 2.44k | const rpc::ResponseCallback& callback) { | 221 | 2.44k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.44k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25DeleteTablegroupRequestPBENS4_26DeleteTablegroupResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 1 | const rpc::ResponseCallback& callback) { | 221 | 1 | (proxy->*func)(req, resp, controller, callback); | 222 | 1 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_21DeleteUDTypeRequestPBENS4_22DeleteUDTypeResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 53 | const rpc::ResponseCallback& callback) { | 221 | 53 | (proxy->*func)(req, resp, controller, callback); | 222 | 53 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20FlushTablesRequestPBENS4_21FlushTablesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_28GetTablegroupSchemaRequestPBENS4_29GetTablegroupSchemaResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_33GetColocatedTabletSchemaRequestPBENS4_34GetColocatedTabletSchemaResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_31GetMasterClusterConfigRequestPBENS4_32GetMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25GetNamespaceInfoRequestPBENS4_26GetNamespaceInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 1.77k | const rpc::ResponseCallback& callback) { | 221 | 1.77k | (proxy->*func)(req, resp, controller, callback); | 222 | 1.77k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_23GetTableSchemaRequestPBENS4_24GetTableSchemaResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_22GetUDTypeInfoRequestPBENS4_23GetUDTypeInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 55 | const rpc::ResponseCallback& callback) { | 221 | 55 | (proxy->*func)(req, resp, controller, callback); | 222 | 55 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25IsAlterTableDoneRequestPBENS4_26IsAlterTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 649 | const rpc::ResponseCallback& callback) { | 221 | 649 | (proxy->*func)(req, resp, controller, callback); | 222 | 649 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_30IsCreateNamespaceDoneRequestPBENS4_31IsCreateNamespaceDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 2.03k | const rpc::ResponseCallback& callback) { | 221 | 2.03k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.03k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_26IsCreateTableDoneRequestPBENS4_27IsCreateTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 15.9k | const rpc::ResponseCallback& callback) { | 221 | 15.9k | (proxy->*func)(req, resp, controller, callback); | 222 | 15.9k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_30IsDeleteNamespaceDoneRequestPBENS4_31IsDeleteNamespaceDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 1.53k | const rpc::ResponseCallback& callback) { | 221 | 1.53k | (proxy->*func)(req, resp, controller, callback); | 222 | 1.53k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_26IsDeleteTableDoneRequestPBENS4_27IsDeleteTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 5.58k | const rpc::ResponseCallback& callback) { | 221 | 5.58k | (proxy->*func)(req, resp, controller, callback); | 222 | 5.58k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_26IsFlushTablesDoneRequestPBENS4_27IsFlushTablesDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_28IsTruncateTableDoneRequestPBENS4_29IsTruncateTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 8.89k | const rpc::ResponseCallback& callback) { | 221 | 8.89k | (proxy->*func)(req, resp, controller, callback); | 222 | 8.89k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_23ListNamespacesRequestPBENS4_24ListNamespacesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 4.40k | const rpc::ResponseCallback& callback) { | 221 | 4.40k | (proxy->*func)(req, resp, controller, callback); | 222 | 4.40k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_24ListTablegroupsRequestPBENS4_25ListTablegroupsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 1 | const rpc::ResponseCallback& callback) { | 221 | 1 | (proxy->*func)(req, resp, controller, callback); | 222 | 1 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_19ListTablesRequestPBENS4_20ListTablesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 170 | const rpc::ResponseCallback& callback) { | 221 | 170 | (proxy->*func)(req, resp, controller, callback); | 222 | 170 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20ListUDTypesRequestPBENS4_21ListUDTypesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_22TruncateTableRequestPBENS4_23TruncateTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 3.05k | const rpc::ResponseCallback& callback) { | 221 | 3.05k | (proxy->*func)(req, resp, controller, callback); | 222 | 3.05k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_32ValidateReplicationInfoRequestPBENS4_33ValidateReplicationInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master16MasterAdminProxyENS4_37CreateTransactionStatusTableRequestPBENS4_38CreateTransactionStatusTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_26GetTableLocationsRequestPBENS4_27GetTableLocationsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 2.80k | const rpc::ResponseCallback& callback) { | 221 | 2.80k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.80k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_27GetTabletLocationsRequestPBENS4_28GetTabletLocationsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_36GetTransactionStatusTabletsRequestPBENS4_37GetTransactionStatusTabletsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 2.01k | const rpc::ResponseCallback& callback) { | 221 | 2.01k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.01k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_29GetYsqlCatalogConfigRequestPBENS4_30GetYsqlCatalogConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_23RedisConfigGetRequestPBENS4_24RedisConfigGetResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 291 | const rpc::ResponseCallback& callback) { | 221 | 291 | (proxy->*func)(req, resp, controller, callback); | 222 | 291 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_23RedisConfigSetRequestPBENS4_24RedisConfigSetResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_25ReservePgsqlOidsRequestPBENS4_26ReservePgsqlOidsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 380 | const rpc::ResponseCallback& callback) { | 221 | 380 | (proxy->*func)(req, resp, controller, callback); | 222 | 380 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_23IsLoadBalancedRequestPBENS4_24IsLoadBalancedResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 178 | const rpc::ResponseCallback& callback) { | 221 | 178 | (proxy->*func)(req, resp, controller, callback); | 222 | 178 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_27IsLoadBalancerIdleRequestPBENS4_28IsLoadBalancerIdleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 2.27k | const rpc::ResponseCallback& callback) { | 221 | 2.27k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.27k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_30ListLiveTabletServersRequestPBENS4_31ListLiveTabletServersResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 2 | const rpc::ResponseCallback& callback) { | 221 | 2 | (proxy->*func)(req, resp, controller, callback); | 222 | 2 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_20ListMastersRequestPBENS4_21ListMastersResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_26ListTabletServersRequestPBENS4_27ListTabletServersResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 2.86k | const rpc::ResponseCallback& callback) { | 221 | 2.86k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.86k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_18AlterRoleRequestPBENS4_19AlterRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 58 | const rpc::ResponseCallback& callback) { | 221 | 58 | (proxy->*func)(req, resp, controller, callback); | 222 | 58 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_19CreateRoleRequestPBENS4_20CreateRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 757 | const rpc::ResponseCallback& callback) { | 221 | 757 | (proxy->*func)(req, resp, controller, callback); | 222 | 757 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_19DeleteRoleRequestPBENS4_20DeleteRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 730 | const rpc::ResponseCallback& callback) { | 221 | 730 | (proxy->*func)(req, resp, controller, callback); | 222 | 730 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_23GetPermissionsRequestPBENS4_24GetPermissionsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 118k | const rpc::ResponseCallback& callback) { | 221 | 118k | (proxy->*func)(req, resp, controller, callback); | 222 | 118k | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_30GrantRevokePermissionRequestPBENS4_31GrantRevokePermissionResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 721 | const rpc::ResponseCallback& callback) { | 221 | 721 | (proxy->*func)(req, resp, controller, callback); | 222 | 721 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_24GrantRevokeRoleRequestPBENS4_25GrantRevokeRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 52 | const rpc::ResponseCallback& callback) { | 221 | 52 | (proxy->*func)(req, resp, controller, callback); | 222 | 52 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_24CreateCDCStreamRequestPBENS4_25CreateCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 2.69k | const rpc::ResponseCallback& callback) { | 221 | 2.69k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.69k | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_24DeleteCDCStreamRequestPBENS4_25DeleteCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_27GetCDCDBStreamInfoRequestPBENS4_28GetCDCDBStreamInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_21GetCDCStreamRequestPBENS4_22GetCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 1 | const rpc::ResponseCallback& callback) { | 221 | 1 | (proxy->*func)(req, resp, controller, callback); | 222 | 1 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_23ListCDCStreamsRequestPBENS4_24ListCDCStreamsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_24UpdateCDCStreamRequestPBENS4_25UpdateCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_38UpdateConsumerOnProducerSplitRequestPBENS4_39UpdateConsumerOnProducerSplitResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master16MasterAdminProxyENS4_20FlushTablesRequestPBENS4_21FlushTablesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 7 | const rpc::ResponseCallback& callback) { | 221 | 7 | (proxy->*func)(req, resp, controller, callback); | 222 | 7 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master16MasterAdminProxyENS4_26IsFlushTablesDoneRequestPBENS4_27IsFlushTablesDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 19 | const rpc::ResponseCallback& callback) { | 221 | 19 | (proxy->*func)(req, resp, controller, callback); | 222 | 19 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_31GetMasterClusterConfigRequestPBENS4_32GetMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 6 | const rpc::ResponseCallback& callback) { | 221 | 6 | (proxy->*func)(req, resp, controller, callback); | 222 | 6 | }); |
_ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_34ChangeMasterClusterConfigRequestPBENS4_35ChangeMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ Line | Count | Source | 220 | 4 | const rpc::ResponseCallback& callback) { | 221 | 4 | (proxy->*func)(req, resp, controller, callback); | 222 | 4 | }); |
Unexecuted instantiation: _ZZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_32ValidateReplicationInfoRequestPBENS4_33ValidateReplicationInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPiENKUlPS5_SS_RKSV_E_clES11_SS_S13_ |
223 | 187k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); |
224 | 187k | auto result = rpc->synchronizer().Wait(); |
225 | 187k | if (attempts) { |
226 | 5.63k | *attempts = rpc->num_attempts(); |
227 | 5.63k | } |
228 | 187k | return result; |
229 | 187k | } Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_23AlterNamespaceRequestPBENS4_24AlterNamespaceResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_19AlterTableRequestPBENS4_20AlterTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 322 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 322 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 322 | auto se = ScopeExit([this] { | 212 | 322 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 322 | }); | 214 | | | 215 | 322 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 322 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 322 | this, deadline, resp, func_name, | 219 | 322 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 322 | const rpc::ResponseCallback& callback) { | 221 | 322 | (proxy->*func)(req, resp, controller, callback); | 222 | 322 | }); | 223 | 322 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 322 | auto result = rpc->synchronizer().Wait(); | 225 | 322 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 322 | return result; | 229 | 322 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_22BackfillIndexRequestPBENS4_23BackfillIndexResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 89 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 89 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 89 | auto se = ScopeExit([this] { | 212 | 89 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 89 | }); | 214 | | | 215 | 89 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 89 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 89 | this, deadline, resp, func_name, | 219 | 89 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 89 | const rpc::ResponseCallback& callback) { | 221 | 89 | (proxy->*func)(req, resp, controller, callback); | 222 | 89 | }); | 223 | 89 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 89 | auto result = rpc->synchronizer().Wait(); | 225 | 89 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 89 | return result; | 229 | 89 | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_34ChangeMasterClusterConfigRequestPBENS4_35ChangeMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_24CreateNamespaceRequestPBENS4_25CreateNamespaceResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 1.80k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 1.80k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 1.80k | auto se = ScopeExit([this] { | 212 | 1.80k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1.80k | }); | 214 | | | 215 | 1.80k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 1.80k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 1.80k | this, deadline, resp, func_name, | 219 | 1.80k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 1.80k | const rpc::ResponseCallback& callback) { | 221 | 1.80k | (proxy->*func)(req, resp, controller, callback); | 222 | 1.80k | }); | 223 | 1.80k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 1.80k | auto result = rpc->synchronizer().Wait(); | 225 | 1.80k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 1.80k | return result; | 229 | 1.80k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20CreateTableRequestPBENS4_21CreateTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 3.20k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 3.20k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 3.20k | auto se = ScopeExit([this] { | 212 | 3.20k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 3.20k | }); | 214 | | | 215 | 3.20k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 3.20k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 3.20k | this, deadline, resp, func_name, | 219 | 3.20k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 3.20k | const rpc::ResponseCallback& callback) { | 221 | 3.20k | (proxy->*func)(req, resp, controller, callback); | 222 | 3.20k | }); | 223 | 3.20k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 3.20k | auto result = rpc->synchronizer().Wait(); | 225 | 3.20k | if (attempts) { | 226 | 3.20k | *attempts = rpc->num_attempts(); | 227 | 3.20k | } | 228 | 3.20k | return result; | 229 | 3.20k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25CreateTablegroupRequestPBENS4_26CreateTablegroupResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 2 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 2 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 2 | auto se = ScopeExit([this] { | 212 | 2 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2 | }); | 214 | | | 215 | 2 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 2 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 2 | this, deadline, resp, func_name, | 219 | 2 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 2 | const rpc::ResponseCallback& callback) { | 221 | 2 | (proxy->*func)(req, resp, controller, callback); | 222 | 2 | }); | 223 | 2 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 2 | auto result = rpc->synchronizer().Wait(); | 225 | 2 | if (attempts) { | 226 | 2 | *attempts = rpc->num_attempts(); | 227 | 2 | } | 228 | 2 | return result; | 229 | 2 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_21CreateUDTypeRequestPBENS4_22CreateUDTypeResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 46 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 46 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 46 | auto se = ScopeExit([this] { | 212 | 46 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 46 | }); | 214 | | | 215 | 46 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 46 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 46 | this, deadline, resp, func_name, | 219 | 46 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 46 | const rpc::ResponseCallback& callback) { | 221 | 46 | (proxy->*func)(req, resp, controller, callback); | 222 | 46 | }); | 223 | 46 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 46 | auto result = rpc->synchronizer().Wait(); | 225 | 46 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 46 | return result; | 229 | 46 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_24DeleteNamespaceRequestPBENS4_25DeleteNamespaceResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 1.51k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 1.51k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 1.51k | auto se = ScopeExit([this] { | 212 | 1.51k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1.51k | }); | 214 | | | 215 | 1.51k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 1.51k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 1.51k | this, deadline, resp, func_name, | 219 | 1.51k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 1.51k | const rpc::ResponseCallback& callback) { | 221 | 1.51k | (proxy->*func)(req, resp, controller, callback); | 222 | 1.51k | }); | 223 | 1.51k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 1.51k | auto result = rpc->synchronizer().Wait(); | 225 | 1.51k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 1.51k | return result; | 229 | 1.51k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20DeleteTableRequestPBENS4_21DeleteTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 2.43k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 2.43k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 2.43k | auto se = ScopeExit([this] { | 212 | 2.43k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.43k | }); | 214 | | | 215 | 2.43k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 2.43k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 2.43k | this, deadline, resp, func_name, | 219 | 2.43k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 2.43k | const rpc::ResponseCallback& callback) { | 221 | 2.43k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.43k | }); | 223 | 2.43k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 2.43k | auto result = rpc->synchronizer().Wait(); | 225 | 2.43k | if (attempts) { | 226 | 2.43k | *attempts = rpc->num_attempts(); | 227 | 2.43k | } | 228 | 2.43k | return result; | 229 | 2.43k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25DeleteTablegroupRequestPBENS4_26DeleteTablegroupResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 1 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 1 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 1 | auto se = ScopeExit([this] { | 212 | 1 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1 | }); | 214 | | | 215 | 1 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 1 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 1 | this, deadline, resp, func_name, | 219 | 1 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 1 | const rpc::ResponseCallback& callback) { | 221 | 1 | (proxy->*func)(req, resp, controller, callback); | 222 | 1 | }); | 223 | 1 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 1 | auto result = rpc->synchronizer().Wait(); | 225 | 1 | if (attempts) { | 226 | 1 | *attempts = rpc->num_attempts(); | 227 | 1 | } | 228 | 1 | return result; | 229 | 1 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_21DeleteUDTypeRequestPBENS4_22DeleteUDTypeResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 53 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 53 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 53 | auto se = ScopeExit([this] { | 212 | 53 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 53 | }); | 214 | | | 215 | 53 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 53 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 53 | this, deadline, resp, func_name, | 219 | 53 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 53 | const rpc::ResponseCallback& callback) { | 221 | 53 | (proxy->*func)(req, resp, controller, callback); | 222 | 53 | }); | 223 | 53 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 53 | auto result = rpc->synchronizer().Wait(); | 225 | 53 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 53 | return result; | 229 | 53 | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20FlushTablesRequestPBENS4_21FlushTablesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_28GetTablegroupSchemaRequestPBENS4_29GetTablegroupSchemaResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_33GetColocatedTabletSchemaRequestPBENS4_34GetColocatedTabletSchemaResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_31GetMasterClusterConfigRequestPBENS4_32GetMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25GetNamespaceInfoRequestPBENS4_26GetNamespaceInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 1.77k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 1.77k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 1.77k | auto se = ScopeExit([this] { | 212 | 1.77k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1.77k | }); | 214 | | | 215 | 1.77k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 1.77k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 1.77k | this, deadline, resp, func_name, | 219 | 1.77k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 1.77k | const rpc::ResponseCallback& callback) { | 221 | 1.77k | (proxy->*func)(req, resp, controller, callback); | 222 | 1.77k | }); | 223 | 1.77k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 1.77k | auto result = rpc->synchronizer().Wait(); | 225 | 1.77k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 1.77k | return result; | 229 | 1.77k | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_23GetTableSchemaRequestPBENS4_24GetTableSchemaResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_22GetUDTypeInfoRequestPBENS4_23GetUDTypeInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 55 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 55 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 55 | auto se = ScopeExit([this] { | 212 | 55 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 55 | }); | 214 | | | 215 | 55 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 55 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 55 | this, deadline, resp, func_name, | 219 | 55 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 55 | const rpc::ResponseCallback& callback) { | 221 | 55 | (proxy->*func)(req, resp, controller, callback); | 222 | 55 | }); | 223 | 55 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 55 | auto result = rpc->synchronizer().Wait(); | 225 | 55 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 55 | return result; | 229 | 55 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_25IsAlterTableDoneRequestPBENS4_26IsAlterTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 649 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 649 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 649 | auto se = ScopeExit([this] { | 212 | 649 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 649 | }); | 214 | | | 215 | 649 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 649 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 649 | this, deadline, resp, func_name, | 219 | 649 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 649 | const rpc::ResponseCallback& callback) { | 221 | 649 | (proxy->*func)(req, resp, controller, callback); | 222 | 649 | }); | 223 | 649 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 649 | auto result = rpc->synchronizer().Wait(); | 225 | 649 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 649 | return result; | 229 | 649 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_30IsCreateNamespaceDoneRequestPBENS4_31IsCreateNamespaceDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 2.03k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 2.03k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 2.03k | auto se = ScopeExit([this] { | 212 | 2.03k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.03k | }); | 214 | | | 215 | 2.03k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 2.03k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 2.03k | this, deadline, resp, func_name, | 219 | 2.03k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 2.03k | const rpc::ResponseCallback& callback) { | 221 | 2.03k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.03k | }); | 223 | 2.03k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 2.03k | auto result = rpc->synchronizer().Wait(); | 225 | 2.03k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 2.03k | return result; | 229 | 2.03k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_26IsCreateTableDoneRequestPBENS4_27IsCreateTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 15.9k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 15.9k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 15.9k | auto se = ScopeExit([this] { | 212 | 15.9k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 15.9k | }); | 214 | | | 215 | 15.9k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 15.9k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 15.9k | this, deadline, resp, func_name, | 219 | 15.9k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 15.9k | const rpc::ResponseCallback& callback) { | 221 | 15.9k | (proxy->*func)(req, resp, controller, callback); | 222 | 15.9k | }); | 223 | 15.9k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 15.9k | auto result = rpc->synchronizer().Wait(); | 225 | 15.9k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 15.9k | return result; | 229 | 15.9k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_30IsDeleteNamespaceDoneRequestPBENS4_31IsDeleteNamespaceDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 1.53k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 1.53k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 1.53k | auto se = ScopeExit([this] { | 212 | 1.53k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1.53k | }); | 214 | | | 215 | 1.53k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 1.53k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 1.53k | this, deadline, resp, func_name, | 219 | 1.53k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 1.53k | const rpc::ResponseCallback& callback) { | 221 | 1.53k | (proxy->*func)(req, resp, controller, callback); | 222 | 1.53k | }); | 223 | 1.53k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 1.53k | auto result = rpc->synchronizer().Wait(); | 225 | 1.53k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 1.53k | return result; | 229 | 1.53k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_26IsDeleteTableDoneRequestPBENS4_27IsDeleteTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 5.58k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 5.58k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 5.58k | auto se = ScopeExit([this] { | 212 | 5.58k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 5.58k | }); | 214 | | | 215 | 5.58k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 5.58k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 5.58k | this, deadline, resp, func_name, | 219 | 5.58k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 5.58k | const rpc::ResponseCallback& callback) { | 221 | 5.58k | (proxy->*func)(req, resp, controller, callback); | 222 | 5.58k | }); | 223 | 5.58k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 5.58k | auto result = rpc->synchronizer().Wait(); | 225 | 5.58k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 5.58k | return result; | 229 | 5.58k | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_26IsFlushTablesDoneRequestPBENS4_27IsFlushTablesDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_28IsTruncateTableDoneRequestPBENS4_29IsTruncateTableDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 8.89k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 8.89k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 8.89k | auto se = ScopeExit([this] { | 212 | 8.89k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 8.89k | }); | 214 | | | 215 | 8.89k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 8.89k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 8.89k | this, deadline, resp, func_name, | 219 | 8.89k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 8.89k | const rpc::ResponseCallback& callback) { | 221 | 8.89k | (proxy->*func)(req, resp, controller, callback); | 222 | 8.89k | }); | 223 | 8.89k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 8.89k | auto result = rpc->synchronizer().Wait(); | 225 | 8.89k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 8.89k | return result; | 229 | 8.89k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_23ListNamespacesRequestPBENS4_24ListNamespacesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 4.40k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 4.40k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 4.40k | auto se = ScopeExit([this] { | 212 | 4.40k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 4.40k | }); | 214 | | | 215 | 4.40k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 4.40k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 4.40k | this, deadline, resp, func_name, | 219 | 4.40k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 4.40k | const rpc::ResponseCallback& callback) { | 221 | 4.40k | (proxy->*func)(req, resp, controller, callback); | 222 | 4.40k | }); | 223 | 4.40k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 4.40k | auto result = rpc->synchronizer().Wait(); | 225 | 4.40k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 4.40k | return result; | 229 | 4.40k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_24ListTablegroupsRequestPBENS4_25ListTablegroupsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 1 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 1 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 1 | auto se = ScopeExit([this] { | 212 | 1 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1 | }); | 214 | | | 215 | 1 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 1 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 1 | this, deadline, resp, func_name, | 219 | 1 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 1 | const rpc::ResponseCallback& callback) { | 221 | 1 | (proxy->*func)(req, resp, controller, callback); | 222 | 1 | }); | 223 | 1 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 1 | auto result = rpc->synchronizer().Wait(); | 225 | 1 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 1 | return result; | 229 | 1 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_19ListTablesRequestPBENS4_20ListTablesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 170 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 170 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 170 | auto se = ScopeExit([this] { | 212 | 170 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 170 | }); | 214 | | | 215 | 170 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 170 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 170 | this, deadline, resp, func_name, | 219 | 170 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 170 | const rpc::ResponseCallback& callback) { | 221 | 170 | (proxy->*func)(req, resp, controller, callback); | 222 | 170 | }); | 223 | 170 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 170 | auto result = rpc->synchronizer().Wait(); | 225 | 170 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 170 | return result; | 229 | 170 | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_20ListUDTypesRequestPBENS4_21ListUDTypesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_22TruncateTableRequestPBENS4_23TruncateTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 3.05k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 3.05k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 3.05k | auto se = ScopeExit([this] { | 212 | 3.05k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 3.05k | }); | 214 | | | 215 | 3.05k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 3.05k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 3.05k | this, deadline, resp, func_name, | 219 | 3.05k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 3.05k | const rpc::ResponseCallback& callback) { | 221 | 3.05k | (proxy->*func)(req, resp, controller, callback); | 222 | 3.05k | }); | 223 | 3.05k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 3.05k | auto result = rpc->synchronizer().Wait(); | 225 | 3.05k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 3.05k | return result; | 229 | 3.05k | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDdlProxyENS4_32ValidateReplicationInfoRequestPBENS4_33ValidateReplicationInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master16MasterAdminProxyENS4_37CreateTransactionStatusTableRequestPBENS4_38CreateTransactionStatusTableResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_26GetTableLocationsRequestPBENS4_27GetTableLocationsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 2.80k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 2.80k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 2.80k | auto se = ScopeExit([this] { | 212 | 2.80k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.80k | }); | 214 | | | 215 | 2.80k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 2.80k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 2.80k | this, deadline, resp, func_name, | 219 | 2.80k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 2.80k | const rpc::ResponseCallback& callback) { | 221 | 2.80k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.80k | }); | 223 | 2.80k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 2.80k | auto result = rpc->synchronizer().Wait(); | 225 | 2.80k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 2.80k | return result; | 229 | 2.80k | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_27GetTabletLocationsRequestPBENS4_28GetTabletLocationsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_36GetTransactionStatusTabletsRequestPBENS4_37GetTransactionStatusTabletsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 2.01k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 2.01k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 2.01k | auto se = ScopeExit([this] { | 212 | 2.01k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.01k | }); | 214 | | | 215 | 2.01k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 2.01k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 2.01k | this, deadline, resp, func_name, | 219 | 2.01k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 2.01k | const rpc::ResponseCallback& callback) { | 221 | 2.01k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.01k | }); | 223 | 2.01k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 2.01k | auto result = rpc->synchronizer().Wait(); | 225 | 2.01k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 2.01k | return result; | 229 | 2.01k | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_29GetYsqlCatalogConfigRequestPBENS4_30GetYsqlCatalogConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_23RedisConfigGetRequestPBENS4_24RedisConfigGetResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 291 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 291 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 291 | auto se = ScopeExit([this] { | 212 | 291 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 291 | }); | 214 | | | 215 | 291 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 291 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 291 | this, deadline, resp, func_name, | 219 | 291 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 291 | const rpc::ResponseCallback& callback) { | 221 | 291 | (proxy->*func)(req, resp, controller, callback); | 222 | 291 | }); | 223 | 291 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 291 | auto result = rpc->synchronizer().Wait(); | 225 | 291 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 291 | return result; | 229 | 291 | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_23RedisConfigSetRequestPBENS4_24RedisConfigSetResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master17MasterClientProxyENS4_25ReservePgsqlOidsRequestPBENS4_26ReservePgsqlOidsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 380 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 380 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 380 | auto se = ScopeExit([this] { | 212 | 380 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 380 | }); | 214 | | | 215 | 380 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 380 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 380 | this, deadline, resp, func_name, | 219 | 380 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 380 | const rpc::ResponseCallback& callback) { | 221 | 380 | (proxy->*func)(req, resp, controller, callback); | 222 | 380 | }); | 223 | 380 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 380 | auto result = rpc->synchronizer().Wait(); | 225 | 380 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 380 | return result; | 229 | 380 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_23IsLoadBalancedRequestPBENS4_24IsLoadBalancedResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 178 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 178 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 178 | auto se = ScopeExit([this] { | 212 | 178 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 178 | }); | 214 | | | 215 | 178 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 178 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 178 | this, deadline, resp, func_name, | 219 | 178 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 178 | const rpc::ResponseCallback& callback) { | 221 | 178 | (proxy->*func)(req, resp, controller, callback); | 222 | 178 | }); | 223 | 178 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 178 | auto result = rpc->synchronizer().Wait(); | 225 | 178 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 178 | return result; | 229 | 178 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_27IsLoadBalancerIdleRequestPBENS4_28IsLoadBalancerIdleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 2.27k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 2.27k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 2.27k | auto se = ScopeExit([this] { | 212 | 2.27k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.27k | }); | 214 | | | 215 | 2.27k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 2.27k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 2.27k | this, deadline, resp, func_name, | 219 | 2.27k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 2.27k | const rpc::ResponseCallback& callback) { | 221 | 2.27k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.27k | }); | 223 | 2.27k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 2.27k | auto result = rpc->synchronizer().Wait(); | 225 | 2.27k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 2.27k | return result; | 229 | 2.27k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_30ListLiveTabletServersRequestPBENS4_31ListLiveTabletServersResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 2 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 2 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 2 | auto se = ScopeExit([this] { | 212 | 2 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2 | }); | 214 | | | 215 | 2 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 2 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 2 | this, deadline, resp, func_name, | 219 | 2 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 2 | const rpc::ResponseCallback& callback) { | 221 | 2 | (proxy->*func)(req, resp, controller, callback); | 222 | 2 | }); | 223 | 2 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 2 | auto result = rpc->synchronizer().Wait(); | 225 | 2 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 2 | return result; | 229 | 2 | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_20ListMastersRequestPBENS4_21ListMastersResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_26ListTabletServersRequestPBENS4_27ListTabletServersResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 2.86k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 2.86k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 2.86k | auto se = ScopeExit([this] { | 212 | 2.86k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.86k | }); | 214 | | | 215 | 2.86k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 2.86k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 2.86k | this, deadline, resp, func_name, | 219 | 2.86k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 2.86k | const rpc::ResponseCallback& callback) { | 221 | 2.86k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.86k | }); | 223 | 2.86k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 2.86k | auto result = rpc->synchronizer().Wait(); | 225 | 2.86k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 2.86k | return result; | 229 | 2.86k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_18AlterRoleRequestPBENS4_19AlterRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 58 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 58 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 58 | auto se = ScopeExit([this] { | 212 | 58 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 58 | }); | 214 | | | 215 | 58 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 58 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 58 | this, deadline, resp, func_name, | 219 | 58 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 58 | const rpc::ResponseCallback& callback) { | 221 | 58 | (proxy->*func)(req, resp, controller, callback); | 222 | 58 | }); | 223 | 58 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 58 | auto result = rpc->synchronizer().Wait(); | 225 | 58 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 58 | return result; | 229 | 58 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_19CreateRoleRequestPBENS4_20CreateRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 757 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 757 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 757 | auto se = ScopeExit([this] { | 212 | 757 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 757 | }); | 214 | | | 215 | 757 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 757 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 757 | this, deadline, resp, func_name, | 219 | 757 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 757 | const rpc::ResponseCallback& callback) { | 221 | 757 | (proxy->*func)(req, resp, controller, callback); | 222 | 757 | }); | 223 | 757 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 757 | auto result = rpc->synchronizer().Wait(); | 225 | 757 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 757 | return result; | 229 | 757 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_19DeleteRoleRequestPBENS4_20DeleteRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 730 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 730 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 730 | auto se = ScopeExit([this] { | 212 | 730 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 730 | }); | 214 | | | 215 | 730 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 730 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 730 | this, deadline, resp, func_name, | 219 | 730 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 730 | const rpc::ResponseCallback& callback) { | 221 | 730 | (proxy->*func)(req, resp, controller, callback); | 222 | 730 | }); | 223 | 730 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 730 | auto result = rpc->synchronizer().Wait(); | 225 | 730 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 730 | return result; | 229 | 730 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_23GetPermissionsRequestPBENS4_24GetPermissionsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 118k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 118k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 118k | auto se = ScopeExit([this] { | 212 | 118k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 118k | }); | 214 | | | 215 | 118k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 118k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 118k | this, deadline, resp, func_name, | 219 | 118k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 118k | const rpc::ResponseCallback& callback) { | 221 | 118k | (proxy->*func)(req, resp, controller, callback); | 222 | 118k | }); | 223 | 118k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 118k | auto result = rpc->synchronizer().Wait(); | 225 | 118k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 118k | return result; | 229 | 118k | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_30GrantRevokePermissionRequestPBENS4_31GrantRevokePermissionResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 721 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 721 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 721 | auto se = ScopeExit([this] { | 212 | 721 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 721 | }); | 214 | | | 215 | 721 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 721 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 721 | this, deadline, resp, func_name, | 219 | 721 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 721 | const rpc::ResponseCallback& callback) { | 221 | 721 | (proxy->*func)(req, resp, controller, callback); | 222 | 721 | }); | 223 | 721 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 721 | auto result = rpc->synchronizer().Wait(); | 225 | 721 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 721 | return result; | 229 | 721 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master14MasterDclProxyENS4_24GrantRevokeRoleRequestPBENS4_25GrantRevokeRoleResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 52 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 52 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 52 | auto se = ScopeExit([this] { | 212 | 52 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 52 | }); | 214 | | | 215 | 52 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 52 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 52 | this, deadline, resp, func_name, | 219 | 52 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 52 | const rpc::ResponseCallback& callback) { | 221 | 52 | (proxy->*func)(req, resp, controller, callback); | 222 | 52 | }); | 223 | 52 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 52 | auto result = rpc->synchronizer().Wait(); | 225 | 52 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 52 | return result; | 229 | 52 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_24CreateCDCStreamRequestPBENS4_25CreateCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 2.69k | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 2.69k | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 2.69k | auto se = ScopeExit([this] { | 212 | 2.69k | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 2.69k | }); | 214 | | | 215 | 2.69k | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 2.69k | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 2.69k | this, deadline, resp, func_name, | 219 | 2.69k | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 2.69k | const rpc::ResponseCallback& callback) { | 221 | 2.69k | (proxy->*func)(req, resp, controller, callback); | 222 | 2.69k | }); | 223 | 2.69k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 2.69k | auto result = rpc->synchronizer().Wait(); | 225 | 2.69k | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 2.69k | return result; | 229 | 2.69k | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_24DeleteCDCStreamRequestPBENS4_25DeleteCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_27GetCDCDBStreamInfoRequestPBENS4_28GetCDCDBStreamInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_21GetCDCStreamRequestPBENS4_22GetCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 1 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 1 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 1 | auto se = ScopeExit([this] { | 212 | 1 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 1 | }); | 214 | | | 215 | 1 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 1 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 1 | this, deadline, resp, func_name, | 219 | 1 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 1 | const rpc::ResponseCallback& callback) { | 221 | 1 | (proxy->*func)(req, resp, controller, callback); | 222 | 1 | }); | 223 | 1 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 1 | auto result = rpc->synchronizer().Wait(); | 225 | 1 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 1 | return result; | 229 | 1 | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_23ListCDCStreamsRequestPBENS4_24ListCDCStreamsResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_24UpdateCDCStreamRequestPBENS4_25UpdateCDCStreamResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_38UpdateConsumerOnProducerSplitRequestPBENS4_39UpdateConsumerOnProducerSplitResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master16MasterAdminProxyENS4_20FlushTablesRequestPBENS4_21FlushTablesResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 7 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 7 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 7 | auto se = ScopeExit([this] { | 212 | 7 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 7 | }); | 214 | | | 215 | 7 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 7 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 7 | this, deadline, resp, func_name, | 219 | 7 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 7 | const rpc::ResponseCallback& callback) { | 221 | 7 | (proxy->*func)(req, resp, controller, callback); | 222 | 7 | }); | 223 | 7 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 7 | auto result = rpc->synchronizer().Wait(); | 225 | 7 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 7 | return result; | 229 | 7 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master16MasterAdminProxyENS4_26IsFlushTablesDoneRequestPBENS4_27IsFlushTablesDoneResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 19 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 19 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 19 | auto se = ScopeExit([this] { | 212 | 19 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 19 | }); | 214 | | | 215 | 19 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 19 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 19 | this, deadline, resp, func_name, | 219 | 19 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 19 | const rpc::ResponseCallback& callback) { | 221 | 19 | (proxy->*func)(req, resp, controller, callback); | 222 | 19 | }); | 223 | 19 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 19 | auto result = rpc->synchronizer().Wait(); | 225 | 19 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 19 | return result; | 229 | 19 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_31GetMasterClusterConfigRequestPBENS4_32GetMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 6 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 6 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 6 | auto se = ScopeExit([this] { | 212 | 6 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 6 | }); | 214 | | | 215 | 6 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 6 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 6 | this, deadline, resp, func_name, | 219 | 6 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 6 | const rpc::ResponseCallback& callback) { | 221 | 6 | (proxy->*func)(req, resp, controller, callback); | 222 | 6 | }); | 223 | 6 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 6 | auto result = rpc->synchronizer().Wait(); | 225 | 6 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 6 | return result; | 229 | 6 | } |
_ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master18MasterClusterProxyENS4_34ChangeMasterClusterConfigRequestPBENS4_35ChangeMasterClusterConfigResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi Line | Count | Source | 209 | 4 | const SyncLeaderMasterFunc<ProxyClass, ReqClass, RespClass>& func, int* attempts) { | 210 | 4 | running_sync_requests_.fetch_add(1, std::memory_order_acquire); | 211 | 4 | auto se = ScopeExit([this] { | 212 | 4 | running_sync_requests_.fetch_sub(1, std::memory_order_acquire); | 213 | 4 | }); | 214 | | | 215 | 4 | RSTATUS_DCHECK(deadline != CoarseTimePoint(), InvalidArgument, "Deadline is not set"); | 216 | | | 217 | 4 | auto rpc = std::make_shared<SyncClientMasterRpc<ProxyClass, RespClass>>( | 218 | 4 | this, deadline, resp, func_name, | 219 | 4 | [func, &req, resp](ProxyClass* proxy, rpc::RpcController* controller, | 220 | 4 | const rpc::ResponseCallback& callback) { | 221 | 4 | (proxy->*func)(req, resp, controller, callback); | 222 | 4 | }); | 223 | 4 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 224 | 4 | auto result = rpc->synchronizer().Wait(); | 225 | 4 | if (attempts) { | 226 | 0 | *attempts = rpc->num_attempts(); | 227 | 0 | } | 228 | 4 | return result; | 229 | 4 | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data19SyncLeaderMasterRpcINS_6master22MasterReplicationProxyENS4_32ValidateReplicationInfoRequestPBENS4_33ValidateReplicationInfoResponsePBEEENS_6StatusENSt3__16chrono10time_pointINS_15CoarseMonoClockENSA_8durationIxNS9_5ratioILl1ELl1000000000EEEEEEERKT0_PT1_PKcRKMT_KFvSK_SM_PNS_3rpc13RpcControllerENS9_8functionIFvvEEEEPi |
230 | | |
231 | | #define YB_CLIENT_SPECIALIZE(RequestTypePB, ResponseTypePB, Service) \ |
232 | | using master::RequestTypePB; \ |
233 | | using master::ResponseTypePB; \ |
234 | | template Status YBClient::Data::SyncLeaderMasterRpc( \ |
235 | | CoarseTimePoint deadline, const RequestTypePB& req, ResponseTypePB* resp, \ |
236 | | const char* func_name, \ |
237 | | const SyncLeaderMasterFunc< \ |
238 | | master::BOOST_PP_CAT(BOOST_PP_CAT(Master, Service), Proxy), \ |
239 | | RequestTypePB, ResponseTypePB>& func, \ |
240 | | int* attempts); |
241 | | |
242 | | #define YB_CLIENT_SPECIALIZE_SIMPLE_EX(service, prefix) \ |
243 | | YB_CLIENT_SPECIALIZE(BOOST_PP_CAT(prefix, RequestPB), BOOST_PP_CAT(prefix, ResponsePB), service) |
244 | | |
245 | | #define YB_CLIENT_SPECIALIZE_SIMPLE(prefix) \ |
246 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Ddl, prefix) |
247 | | |
248 | | // Explicit specialization for callers outside this compilation unit. |
249 | | // These are not actually exposed outside, but it's nice to auto-add using directive. |
250 | | YB_CLIENT_SPECIALIZE_SIMPLE(AlterNamespace); |
251 | | YB_CLIENT_SPECIALIZE_SIMPLE(AlterTable); |
252 | | YB_CLIENT_SPECIALIZE_SIMPLE(BackfillIndex); |
253 | | YB_CLIENT_SPECIALIZE_SIMPLE(ChangeMasterClusterConfig); |
254 | | YB_CLIENT_SPECIALIZE_SIMPLE(CreateNamespace); |
255 | | YB_CLIENT_SPECIALIZE_SIMPLE(CreateTable); |
256 | | YB_CLIENT_SPECIALIZE_SIMPLE(CreateTablegroup); |
257 | | YB_CLIENT_SPECIALIZE_SIMPLE(CreateUDType); |
258 | | YB_CLIENT_SPECIALIZE_SIMPLE(DeleteNamespace); |
259 | | YB_CLIENT_SPECIALIZE_SIMPLE(DeleteTable); |
260 | | YB_CLIENT_SPECIALIZE_SIMPLE(DeleteTablegroup); |
261 | | YB_CLIENT_SPECIALIZE_SIMPLE(DeleteUDType); |
262 | | YB_CLIENT_SPECIALIZE_SIMPLE(FlushTables); |
263 | | YB_CLIENT_SPECIALIZE_SIMPLE(GetTablegroupSchema); |
264 | | YB_CLIENT_SPECIALIZE_SIMPLE(GetColocatedTabletSchema); |
265 | | YB_CLIENT_SPECIALIZE_SIMPLE(GetMasterClusterConfig); |
266 | | YB_CLIENT_SPECIALIZE_SIMPLE(GetNamespaceInfo); |
267 | | YB_CLIENT_SPECIALIZE_SIMPLE(GetTableSchema); |
268 | | YB_CLIENT_SPECIALIZE_SIMPLE(GetUDTypeInfo); |
269 | | YB_CLIENT_SPECIALIZE_SIMPLE(IsAlterTableDone); |
270 | | YB_CLIENT_SPECIALIZE_SIMPLE(IsCreateNamespaceDone); |
271 | | YB_CLIENT_SPECIALIZE_SIMPLE(IsCreateTableDone); |
272 | | YB_CLIENT_SPECIALIZE_SIMPLE(IsDeleteNamespaceDone); |
273 | | YB_CLIENT_SPECIALIZE_SIMPLE(IsDeleteTableDone); |
274 | | YB_CLIENT_SPECIALIZE_SIMPLE(IsFlushTablesDone); |
275 | | YB_CLIENT_SPECIALIZE_SIMPLE(IsTruncateTableDone); |
276 | | YB_CLIENT_SPECIALIZE_SIMPLE(ListNamespaces); |
277 | | YB_CLIENT_SPECIALIZE_SIMPLE(ListTablegroups); |
278 | | YB_CLIENT_SPECIALIZE_SIMPLE(ListTables); |
279 | | YB_CLIENT_SPECIALIZE_SIMPLE(ListUDTypes); |
280 | | YB_CLIENT_SPECIALIZE_SIMPLE(TruncateTable); |
281 | | YB_CLIENT_SPECIALIZE_SIMPLE(ValidateReplicationInfo); |
282 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Admin, CreateTransactionStatusTable); |
283 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Client, GetTableLocations); |
284 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Client, GetTabletLocations); |
285 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Client, GetTransactionStatusTablets); |
286 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Client, GetYsqlCatalogConfig); |
287 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Client, RedisConfigGet); |
288 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Client, RedisConfigSet); |
289 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Client, ReservePgsqlOids); |
290 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Cluster, IsLoadBalanced); |
291 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Cluster, IsLoadBalancerIdle); |
292 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Cluster, ListLiveTabletServers); |
293 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Cluster, ListMasters); |
294 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Cluster, ListTabletServers); |
295 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Dcl, AlterRole); |
296 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Dcl, CreateRole); |
297 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Dcl, DeleteRole); |
298 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Dcl, GetPermissions); |
299 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Dcl, GrantRevokePermission); |
300 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Dcl, GrantRevokeRole); |
301 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Replication, CreateCDCStream); |
302 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Replication, DeleteCDCStream); |
303 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Replication, GetCDCDBStreamInfo); |
304 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Replication, GetCDCStream); |
305 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Replication, ListCDCStreams); |
306 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Replication, UpdateCDCStream); |
307 | | YB_CLIENT_SPECIALIZE_SIMPLE_EX(Replication, UpdateConsumerOnProducerSplit); |
308 | | |
309 | | YBClient::Data::Data() |
310 | | : leader_master_rpc_(rpcs_.InvalidHandle()), |
311 | | latest_observed_hybrid_time_(YBClient::kNoHybridTime), |
312 | 32.0k | id_(ClientId::GenerateRandom()) { |
313 | 62.5k | for(auto& cache : tserver_count_cached_) { |
314 | 62.5k | cache.store(0, std::memory_order_relaxed); |
315 | 62.5k | } |
316 | 32.0k | } |
317 | | |
318 | 9.76k | YBClient::Data::~Data() { |
319 | 9.76k | rpcs_.Shutdown(); |
320 | 9.76k | } |
321 | | |
322 | | RemoteTabletServer* YBClient::Data::SelectTServer(RemoteTablet* rt, |
323 | | const ReplicaSelection selection, |
324 | | const set<string>& blacklist, |
325 | 11.6k | vector<RemoteTabletServer*>* candidates) { |
326 | 11.6k | RemoteTabletServer* ret = nullptr; |
327 | 11.6k | candidates->clear(); |
328 | 11.6k | if (PREDICT_FALSE(FLAGS_TEST_assert_local_tablet_server_selected || |
329 | 11.6k | !FLAGS_TEST_assert_tablet_server_select_is_in_zone.empty()) && |
330 | 7.26k | selection != CLOSEST_REPLICA) { |
331 | 0 | LOG(FATAL) << "Invalid ReplicaSelection " << selection; |
332 | 0 | } |
333 | | |
334 | 11.6k | switch (selection) { |
335 | 0 | case LEADER_ONLY: { |
336 | 0 | ret = rt->LeaderTServer(); |
337 | 0 | if (ret != nullptr) { |
338 | 0 | candidates->push_back(ret); |
339 | 0 | if (ContainsKey(blacklist, ret->permanent_uuid())) { |
340 | 0 | ret = nullptr; |
341 | 0 | } |
342 | 0 | } |
343 | 0 | break; |
344 | 0 | } |
345 | 11.6k | case CLOSEST_REPLICA: |
346 | 11.6k | case FIRST_REPLICA: { |
347 | 11.6k | if (PREDICT_TRUE(FLAGS_TEST_assert_tablet_server_select_is_in_zone.empty())) { |
348 | 8.34k | rt->GetRemoteTabletServers(candidates); |
349 | 3.26k | } else { |
350 | 3.26k | rt->GetRemoteTabletServers(candidates, internal::IncludeFailedReplicas::kTrue); |
351 | 3.26k | } |
352 | | |
353 | | // Filter out all the blacklisted candidates. |
354 | 11.6k | vector<RemoteTabletServer*> filtered; |
355 | 39.8k | for (RemoteTabletServer* rts : *candidates) { |
356 | 39.8k | if (!ContainsKey(blacklist, rts->permanent_uuid())) { |
357 | 39.8k | filtered.push_back(rts); |
358 | 0 | } else { |
359 | 0 | VLOG(1) << "Excluding blacklisted tserver " << rts->permanent_uuid(); |
360 | 0 | } |
361 | 39.8k | } |
362 | 11.6k | if (selection == FIRST_REPLICA) { |
363 | 0 | if (!filtered.empty()) { |
364 | 0 | ret = filtered[0]; |
365 | 0 | } |
366 | 11.6k | } else if (selection == CLOSEST_REPLICA) { |
367 | | // Choose the closest replica. |
368 | 11.6k | bool local_zone_ts = false; |
369 | 29.8k | for (RemoteTabletServer* rts : filtered) { |
370 | 29.8k | if (IsTabletServerLocal(*rts)) { |
371 | 8.82k | ret = rts; |
372 | | // If the tserver is local, we are done here. |
373 | 8.82k | break; |
374 | 21.0k | } else if (cloud_info_pb_.has_placement_region() && |
375 | 21.0k | rts->cloud_info().has_placement_region() && |
376 | 21.0k | cloud_info_pb_.placement_region() == rts->cloud_info().placement_region()) { |
377 | 20.5k | if (cloud_info_pb_.has_placement_zone() && rts->cloud_info().has_placement_zone() && |
378 | 20.5k | cloud_info_pb_.placement_zone() == rts->cloud_info().placement_zone()) { |
379 | | // Note down that we have found a zone local tserver and continue looking for node |
380 | | // local tserver. |
381 | 15.0k | ret = rts; |
382 | 15.0k | local_zone_ts = true; |
383 | 5.47k | } else if (!local_zone_ts) { |
384 | | // Look for a region local tserver only if we haven't found a zone local tserver yet. |
385 | 4.22k | ret = rts; |
386 | 4.22k | } |
387 | 20.5k | } |
388 | 29.8k | } |
389 | | |
390 | | // If ret is not null here, it should point to the closest replica from the client. |
391 | | |
392 | | // Fallback to a random replica if none are local. |
393 | 11.6k | if (ret == nullptr && !filtered.empty()) { |
394 | 0 | ret = filtered[rand() % filtered.size()]; |
395 | 0 | } |
396 | 11.6k | } |
397 | 11.6k | break; |
398 | 11.6k | } |
399 | 0 | default: |
400 | 0 | FATAL_INVALID_ENUM_VALUE(ReplicaSelection, selection); |
401 | 11.6k | } |
402 | 11.6k | if (PREDICT_FALSE(FLAGS_TEST_assert_local_tablet_server_selected) && !IsTabletServerLocal(*ret)) { |
403 | 0 | LOG(FATAL) << "Selected replica is not the local tablet server"; |
404 | 0 | } |
405 | 11.6k | if (PREDICT_FALSE(!FLAGS_TEST_assert_tablet_server_select_is_in_zone.empty())) { |
406 | 3.26k | if (ret->cloud_info().placement_zone() != FLAGS_TEST_assert_tablet_server_select_is_in_zone) { |
407 | 0 | string msg = Substitute("\nZone placement:\nNumber of candidates: $0\n", candidates->size()); |
408 | 0 | for (RemoteTabletServer* rts : *candidates) { |
409 | 0 | msg += Substitute("Replica: $0 in zone $1\n", |
410 | 0 | rts->ToString(), rts->cloud_info().placement_zone()); |
411 | 0 | } |
412 | 0 | LOG(FATAL) << "Selected replica " << ret->ToString() |
413 | 0 | << " is in zone " << ret->cloud_info().placement_zone() |
414 | 0 | << " instead of the expected zone " |
415 | 0 | << FLAGS_TEST_assert_tablet_server_select_is_in_zone |
416 | 0 | << " Cloud info: " << cloud_info_pb_.ShortDebugString() |
417 | 0 | << " for selection policy " << selection |
418 | 0 | << msg; |
419 | 0 | } |
420 | 3.26k | } |
421 | | |
422 | 11.6k | return ret; |
423 | 11.6k | } |
424 | | |
425 | | Status YBClient::Data::GetTabletServer(YBClient* client, |
426 | | const scoped_refptr<RemoteTablet>& rt, |
427 | | ReplicaSelection selection, |
428 | | const set<string>& blacklist, |
429 | | vector<RemoteTabletServer*>* candidates, |
430 | 0 | RemoteTabletServer** ts) { |
431 | | // TODO: write a proper async version of this for async client. |
432 | 0 | RemoteTabletServer* ret = SelectTServer(rt.get(), selection, blacklist, candidates); |
433 | 0 | if (PREDICT_FALSE(ret == nullptr)) { |
434 | | // Construct a blacklist string if applicable. |
435 | 0 | string blacklist_string = ""; |
436 | 0 | if (!blacklist.empty()) { |
437 | 0 | blacklist_string = Substitute("(blacklist replicas $0)", JoinStrings(blacklist, ", ")); |
438 | 0 | } |
439 | 0 | return STATUS(ServiceUnavailable, |
440 | 0 | Substitute("No $0 for tablet $1 $2", |
441 | 0 | selection == LEADER_ONLY ? "LEADER" : "replicas", |
442 | 0 | rt->tablet_id(), |
443 | 0 | blacklist_string)); |
444 | 0 | } |
445 | 0 | RETURN_NOT_OK(ret->InitProxy(client)); |
446 | |
|
447 | 0 | *ts = ret; |
448 | 0 | return Status::OK(); |
449 | 0 | } |
450 | | |
451 | | Status YBClient::Data::CreateTable(YBClient* client, |
452 | | const CreateTableRequestPB& req, |
453 | | const YBSchema& schema, |
454 | | CoarseTimePoint deadline, |
455 | 3.20k | string* table_id) { |
456 | 3.20k | CreateTableResponsePB resp; |
457 | | |
458 | 3.20k | int attempts = 0; |
459 | 3.20k | Status s = SyncLeaderMasterRpc( |
460 | 3.20k | deadline, req, &resp, "CreateTable", &master::MasterDdlProxy::CreateTableAsync, |
461 | 3.20k | &attempts); |
462 | | // Set the table id even if there was an error. This is useful when the error is IsAlreadyPresent |
463 | | // so that we can wait for the existing table to be available to receive requests. |
464 | 3.20k | *table_id = resp.table_id(); |
465 | | |
466 | | // Handle special cases based on resp.error(). |
467 | 3.20k | if (resp.has_error()) { |
468 | 0 | LOG_IF(DFATAL, s.ok()) << "Expecting error status if response has error: " << |
469 | 0 | resp.error().code() << " Status: " << resp.error().status().ShortDebugString(); |
470 | | |
471 | 14 | if (resp.error().code() == MasterErrorPB::OBJECT_ALREADY_PRESENT && attempts > 1) { |
472 | | // If the table already exists and the number of attempts is > |
473 | | // 1, then it means we may have succeeded in creating the |
474 | | // table, but client didn't receive the successful |
475 | | // response (e.g., due to failure before the successful |
476 | | // response could be sent back, or due to a I/O pause or a |
477 | | // network blip leading to a timeout, etc...) |
478 | 0 | YBTableInfo info; |
479 | 0 | const string keyspace = req.has_namespace_() |
480 | 0 | ? req.namespace_().name() |
481 | 0 | : (req.name() == common::kRedisTableName ? common::kRedisKeyspaceName : ""); |
482 | 0 | const YQLDatabase db_type = req.has_namespace_() && req.namespace_().has_database_type() |
483 | 0 | ? req.namespace_().database_type() |
484 | 0 | : (keyspace.empty() ? YQL_DATABASE_CQL : master::GetDefaultDatabaseType(keyspace)); |
485 | | |
486 | | // Identify the table by name. |
487 | 0 | LOG_IF(DFATAL, keyspace.empty()) << "No keyspace. Request:\n" << req.DebugString(); |
488 | 0 | const YBTableName table_name(db_type, keyspace, req.name()); |
489 | | |
490 | | // A fix for https://yugabyte.atlassian.net/browse/ENG-529: |
491 | | // If we've been retrying table creation, and the table is now in the process is being |
492 | | // created, we can sometimes see an empty schema. Wait until the table is fully created |
493 | | // before we compare the schema. |
494 | 0 | RETURN_NOT_OK_PREPEND( |
495 | 0 | WaitForCreateTableToFinish(client, table_name, resp.table_id(), deadline), |
496 | 0 | Substitute("Failed waiting for table $0 to finish being created", table_name.ToString())); |
497 | |
|
498 | 0 | RETURN_NOT_OK_PREPEND( |
499 | 0 | GetTableSchema(client, table_name, deadline, &info), |
500 | 0 | Substitute("Unable to check the schema of table $0", table_name.ToString())); |
501 | 0 | if (!schema.Equals(info.schema)) { |
502 | 0 | string msg = Format("Table $0 already exists with a different " |
503 | 0 | "schema. Requested schema was: $1, actual schema is: $2", |
504 | 0 | table_name, |
505 | 0 | internal::GetSchema(schema), |
506 | 0 | internal::GetSchema(info.schema)); |
507 | 0 | LOG(ERROR) << msg; |
508 | 0 | return STATUS(AlreadyPresent, msg); |
509 | 0 | } |
510 | | |
511 | | // The partition schema in the request can be empty. |
512 | | // If there are user partition schema in the request - compare it with the received one. |
513 | 0 | if (req.partition_schema().hash_bucket_schemas_size() > 0) { |
514 | 0 | PartitionSchema partition_schema; |
515 | | // We need to use the schema received from the server, because the user-constructed |
516 | | // schema might not have column ids. |
517 | 0 | RETURN_NOT_OK(PartitionSchema::FromPB(req.partition_schema(), |
518 | 0 | internal::GetSchema(info.schema), |
519 | 0 | &partition_schema)); |
520 | 0 | if (!partition_schema.Equals(info.partition_schema)) { |
521 | 0 | string msg = Substitute("Table $0 already exists with a different partition schema. " |
522 | 0 | "Requested partition schema was: $1, actual partition schema is: $2", |
523 | 0 | table_name.ToString(), |
524 | 0 | partition_schema.DebugString(internal::GetSchema(schema)), |
525 | 0 | info.partition_schema.DebugString(internal::GetSchema(info.schema))); |
526 | 0 | LOG(ERROR) << msg; |
527 | 0 | return STATUS(AlreadyPresent, msg); |
528 | 0 | } |
529 | 0 | } |
530 | | |
531 | 0 | return Status::OK(); |
532 | 0 | } |
533 | | |
534 | 14 | return StatusFromPB(resp.error().status()); |
535 | 14 | } |
536 | | |
537 | | // Use the status only if the response has no error. |
538 | 3.18k | return s; |
539 | 3.18k | } |
540 | | |
541 | | Status YBClient::Data::IsCreateTableInProgress(YBClient* client, |
542 | | const YBTableName& table_name, |
543 | | const string& table_id, |
544 | | CoarseTimePoint deadline, |
545 | 15.9k | bool* create_in_progress) { |
546 | 15.9k | DCHECK_ONLY_NOTNULL(create_in_progress); |
547 | 15.9k | IsCreateTableDoneRequestPB req; |
548 | 15.9k | IsCreateTableDoneResponsePB resp; |
549 | 15.9k | if (table_name.has_table()) { |
550 | 118 | table_name.SetIntoTableIdentifierPB(req.mutable_table()); |
551 | 118 | } |
552 | 15.9k | if (!table_id.empty()) { |
553 | 15.8k | req.mutable_table()->set_table_id(table_id); |
554 | 15.8k | } |
555 | 15.9k | if (!req.has_table()) { |
556 | 0 | *create_in_progress = false; |
557 | 0 | return STATUS(InternalError, "Cannot query IsCreateTableInProgress without table info"); |
558 | 0 | } |
559 | | |
560 | 15.9k | RETURN_NOT_OK(SyncLeaderMasterRpc( |
561 | 15.9k | deadline, req, &resp, "IsCreateTableDone", |
562 | 15.9k | &master::MasterDdlProxy::IsCreateTableDoneAsync)); |
563 | | |
564 | 15.9k | *create_in_progress = !resp.done(); |
565 | 15.9k | return Status::OK(); |
566 | 15.9k | } |
567 | | |
568 | | Status YBClient::Data::WaitForCreateTableToFinish(YBClient* client, |
569 | | const YBTableName& table_name, |
570 | | const string& table_id, |
571 | 3.20k | CoarseTimePoint deadline) { |
572 | 3.20k | return RetryFunc( |
573 | 3.20k | deadline, "Waiting on Create Table to be completed", "Timed out waiting for Table Creation", |
574 | 3.20k | std::bind(&YBClient::Data::IsCreateTableInProgress, this, client, |
575 | 3.20k | table_name, table_id, _1, _2)); |
576 | 3.20k | } |
577 | | |
578 | | Status YBClient::Data::DeleteTable(YBClient* client, |
579 | | const YBTableName& table_name, |
580 | | const string& table_id, |
581 | | const bool is_index_table, |
582 | | CoarseTimePoint deadline, |
583 | | YBTableName* indexed_table_name, |
584 | 2.43k | bool wait) { |
585 | 2.43k | DeleteTableRequestPB req; |
586 | 2.43k | DeleteTableResponsePB resp; |
587 | 2.43k | int attempts = 0; |
588 | | |
589 | 2.43k | if (table_name.has_table()) { |
590 | 1.26k | table_name.SetIntoTableIdentifierPB(req.mutable_table()); |
591 | 1.26k | } |
592 | 2.43k | if (!table_id.empty()) { |
593 | 1.17k | req.mutable_table()->set_table_id(table_id); |
594 | 1.17k | } |
595 | 2.43k | req.set_is_index_table(is_index_table); |
596 | 2.43k | const Status status = SyncLeaderMasterRpc( |
597 | 2.43k | deadline, req, &resp, "DeleteTable", &master::MasterDdlProxy::DeleteTableAsync, |
598 | 2.43k | &attempts); |
599 | | |
600 | | // Handle special cases based on resp.error(). |
601 | 2.43k | if (resp.has_error()) { |
602 | 0 | LOG_IF(DFATAL, status.ok()) |
603 | 0 | << "Expecting error status if response has error: " << resp.error().code() |
604 | 0 | << " Status: " << resp.error().status().ShortDebugString(); |
605 | | |
606 | 17 | if (resp.error().code() == MasterErrorPB::OBJECT_NOT_FOUND && attempts > 1) { |
607 | | // A prior attempt to delete the table has succeeded, but |
608 | | // appeared as a failure to the client due to, e.g., an I/O or |
609 | | // network issue. |
610 | | // Good case - go through - to 'return Status::OK()' |
611 | 17 | } else { |
612 | 17 | return status; |
613 | 17 | } |
614 | 2.41k | } else { |
615 | | // Check the status only if the response has no error. |
616 | 2.41k | RETURN_NOT_OK(status); |
617 | 2.41k | } |
618 | | |
619 | | // Spin until the table is fully deleted, if requested. |
620 | 0 | VLOG(3) << "Got response " << yb::ToString(resp); |
621 | 2.41k | if (wait) { |
622 | | // Wait for the deleted tables to be gone. |
623 | 2.41k | if (resp.deleted_table_ids_size() > 0) { |
624 | 2.59k | for (const auto& table_id : resp.deleted_table_ids()) { |
625 | 2.59k | RETURN_NOT_OK(WaitForDeleteTableToFinish(client, table_id, deadline)); |
626 | 0 | VLOG(2) << "Waited for table to be deleted " << table_id; |
627 | 2.59k | } |
628 | 104 | } else if (resp.has_table_id()) { |
629 | | // for backwards compatibility, in case the master is not yet using deleted_table_ids. |
630 | 104 | RETURN_NOT_OK(WaitForDeleteTableToFinish(client, resp.table_id(), deadline)); |
631 | 0 | VLOG(2) << "Waited for table to be deleted " << resp.table_id(); |
632 | 104 | } |
633 | | |
634 | | // In case this table is an index, wait for the indexed table to remove reference to index |
635 | | // table. |
636 | 2.41k | if (resp.has_indexed_table()) { |
637 | 263 | auto res = WaitUntilIndexPermissionsAtLeast( |
638 | 263 | client, |
639 | 263 | resp.indexed_table().table_id(), |
640 | 263 | resp.table_id(), |
641 | 263 | IndexPermissions::INDEX_PERM_NOT_USED, |
642 | 263 | deadline); |
643 | 263 | if (!res && !res.status().IsNotFound()) { |
644 | 0 | LOG(WARNING) << "Waiting for the index to be deleted from the indexed table, got " << res; |
645 | 0 | return res.status(); |
646 | 0 | } |
647 | 2.41k | } |
648 | 2.41k | } |
649 | | |
650 | | // Return indexed table name if requested. |
651 | 2.41k | if (resp.has_indexed_table() && indexed_table_name != nullptr) { |
652 | 245 | indexed_table_name->GetFromTableIdentifierPB(resp.indexed_table()); |
653 | 245 | } |
654 | | |
655 | 1.24k | LOG(INFO) << "Deleted table " << (!table_id.empty() ? table_id : table_name.ToString()); |
656 | 2.41k | return Status::OK(); |
657 | 2.41k | } |
658 | | |
659 | | Status YBClient::Data::IsDeleteTableInProgress(YBClient* client, |
660 | | const std::string& table_id, |
661 | | CoarseTimePoint deadline, |
662 | 5.58k | bool* delete_in_progress) { |
663 | 5.58k | DCHECK_ONLY_NOTNULL(delete_in_progress); |
664 | 5.58k | IsDeleteTableDoneRequestPB req; |
665 | 5.58k | IsDeleteTableDoneResponsePB resp; |
666 | 5.58k | req.set_table_id(table_id); |
667 | | |
668 | 5.58k | auto status = SyncLeaderMasterRpc( |
669 | 5.58k | deadline, req, &resp, "IsDeleteTableDone", |
670 | 5.58k | &master::MasterDdlProxy::IsDeleteTableDoneAsync); |
671 | 5.58k | if (resp.has_error()) { |
672 | 104 | if (resp.error().code() == MasterErrorPB::OBJECT_NOT_FOUND) { |
673 | 104 | *delete_in_progress = false; |
674 | 104 | return Status::OK(); |
675 | 104 | } |
676 | 5.48k | } |
677 | 5.48k | RETURN_NOT_OK(status); |
678 | 5.48k | *delete_in_progress = !resp.done(); |
679 | 5.48k | return Status::OK(); |
680 | 5.48k | } |
681 | | |
682 | | Status YBClient::Data::WaitForDeleteTableToFinish(YBClient* client, |
683 | | const std::string& table_id, |
684 | 2.72k | CoarseTimePoint deadline) { |
685 | 2.72k | return RetryFunc( |
686 | 2.72k | deadline, "Waiting on Delete Table to be completed", "Timed out waiting for Table Deletion", |
687 | 2.72k | std::bind(&YBClient::Data::IsDeleteTableInProgress, this, client, table_id, _1, _2)); |
688 | 2.72k | } |
689 | | |
690 | | Status YBClient::Data::TruncateTables(YBClient* client, |
691 | | const vector<string>& table_ids, |
692 | | CoarseTimePoint deadline, |
693 | 3.05k | bool wait) { |
694 | 3.05k | TruncateTableRequestPB req; |
695 | 3.05k | TruncateTableResponsePB resp; |
696 | | |
697 | 3.05k | for (const auto& table_id : table_ids) { |
698 | 3.05k | req.add_table_ids(table_id); |
699 | 3.05k | } |
700 | 3.05k | RETURN_NOT_OK(SyncLeaderMasterRpc( |
701 | 3.05k | deadline, req, &resp, "TruncateTable", &master::MasterDdlProxy::TruncateTableAsync)); |
702 | | |
703 | | // Spin until the table is fully truncated, if requested. |
704 | 3.05k | if (wait) { |
705 | 3.05k | for (const auto& table_id : table_ids) { |
706 | 3.05k | RETURN_NOT_OK(WaitForTruncateTableToFinish(client, table_id, deadline)); |
707 | 3.05k | } |
708 | 3.05k | } |
709 | | |
710 | 3.05k | LOG(INFO) << "Truncated table(s) " << JoinStrings(table_ids, ","); |
711 | 3.05k | return Status::OK(); |
712 | 3.05k | } |
713 | | |
714 | | Status YBClient::Data::IsTruncateTableInProgress(YBClient* client, |
715 | | const std::string& table_id, |
716 | | CoarseTimePoint deadline, |
717 | 8.89k | bool* truncate_in_progress) { |
718 | 8.89k | DCHECK_ONLY_NOTNULL(truncate_in_progress); |
719 | 8.89k | IsTruncateTableDoneRequestPB req; |
720 | 8.89k | IsTruncateTableDoneResponsePB resp; |
721 | | |
722 | 8.89k | req.set_table_id(table_id); |
723 | 8.89k | RETURN_NOT_OK(SyncLeaderMasterRpc( |
724 | 8.89k | deadline, req, &resp, "IsTruncateTableDone", |
725 | 8.89k | &master::MasterDdlProxy::IsTruncateTableDoneAsync)); |
726 | | |
727 | 8.89k | *truncate_in_progress = !resp.done(); |
728 | 8.89k | return Status::OK(); |
729 | 8.89k | } |
730 | | |
731 | | Status YBClient::Data::WaitForTruncateTableToFinish(YBClient* client, |
732 | | const std::string& table_id, |
733 | 3.05k | CoarseTimePoint deadline) { |
734 | 3.05k | return RetryFunc( |
735 | 3.05k | deadline, "Waiting on Truncate Table to be completed", |
736 | 3.05k | "Timed out waiting for Table Truncation", |
737 | 3.05k | std::bind(&YBClient::Data::IsTruncateTableInProgress, this, client, table_id, _1, _2)); |
738 | 3.05k | } |
739 | | |
740 | | Status YBClient::Data::AlterNamespace(YBClient* client, |
741 | | const AlterNamespaceRequestPB& req, |
742 | 0 | CoarseTimePoint deadline) { |
743 | 0 | AlterNamespaceResponsePB resp; |
744 | 0 | return SyncLeaderMasterRpc( |
745 | 0 | deadline, req, &resp, "AlterNamespace", &master::MasterDdlProxy::AlterNamespaceAsync); |
746 | 0 | } |
747 | | |
748 | | Status YBClient::Data::BackfillIndex(YBClient* client, |
749 | | const YBTableName& index_name, |
750 | | const TableId& index_id, |
751 | | CoarseTimePoint deadline, |
752 | 89 | bool wait) { |
753 | 89 | BackfillIndexRequestPB req; |
754 | 89 | BackfillIndexResponsePB resp; |
755 | | |
756 | 89 | if (index_name.has_table()) { |
757 | 0 | index_name.SetIntoTableIdentifierPB(req.mutable_index_identifier()); |
758 | 0 | } |
759 | 89 | if (!index_id.empty()) { |
760 | 89 | req.mutable_index_identifier()->set_table_id(index_id); |
761 | 89 | } |
762 | | |
763 | 89 | RETURN_NOT_OK((SyncLeaderMasterRpc( |
764 | 89 | deadline, req, &resp, "BackfillIndex", &master::MasterDdlProxy::BackfillIndexAsync))); |
765 | | |
766 | | // Spin until the table is fully backfilled, if requested. |
767 | 89 | if (wait) { |
768 | 89 | RETURN_NOT_OK(WaitForBackfillIndexToFinish( |
769 | 89 | client, |
770 | 89 | resp.table_identifier().table_id(), |
771 | 89 | index_id, |
772 | 89 | deadline)); |
773 | 89 | } |
774 | | |
775 | 88 | LOG(INFO) << "Backfilled index " << req.index_identifier().ShortDebugString(); |
776 | 88 | return Status::OK(); |
777 | 89 | } |
778 | | |
779 | | Status YBClient::Data::IsBackfillIndexInProgress(YBClient* client, |
780 | | const TableId& table_id, |
781 | | const TableId& index_id, |
782 | | CoarseTimePoint deadline, |
783 | 673 | bool* backfill_in_progress) { |
784 | 673 | DCHECK_ONLY_NOTNULL(backfill_in_progress); |
785 | | |
786 | 673 | YBTableInfo yb_table_info; |
787 | 673 | RETURN_NOT_OK(GetTableSchema(client, |
788 | 673 | table_id, |
789 | 673 | deadline, |
790 | 673 | &yb_table_info)); |
791 | 673 | const IndexInfo* index_info = VERIFY_RESULT(yb_table_info.index_map.FindIndex(index_id)); |
792 | | |
793 | 673 | *backfill_in_progress = true; |
794 | 673 | if (!index_info->backfill_error_message().empty()) { |
795 | 1 | *backfill_in_progress = false; |
796 | 1 | return STATUS(Aborted, index_info->backfill_error_message()); |
797 | 672 | } else if (index_info->index_permissions() > IndexPermissions::INDEX_PERM_DO_BACKFILL) { |
798 | 88 | *backfill_in_progress = false; |
799 | 88 | } |
800 | | |
801 | 672 | return Status::OK(); |
802 | 673 | } |
803 | | |
804 | | Status YBClient::Data::WaitForBackfillIndexToFinish( |
805 | | YBClient* client, |
806 | | const TableId& table_id, |
807 | | const TableId& index_id, |
808 | 89 | CoarseTimePoint deadline) { |
809 | 89 | return RetryFunc( |
810 | 89 | deadline, |
811 | 89 | "Waiting on Backfill Index to be completed", |
812 | 89 | "Timed out waiting for Backfill Index", |
813 | 89 | std::bind( |
814 | 89 | &YBClient::Data::IsBackfillIndexInProgress, this, client, table_id, index_id, _1, _2)); |
815 | 89 | } |
816 | | |
817 | | Status YBClient::Data::IsCreateNamespaceInProgress( |
818 | | YBClient* client, |
819 | | const std::string& namespace_name, |
820 | | const boost::optional<YQLDatabase>& database_type, |
821 | | const std::string& namespace_id, |
822 | | CoarseTimePoint deadline, |
823 | 2.03k | bool *create_in_progress) { |
824 | 2.03k | DCHECK_ONLY_NOTNULL(create_in_progress); |
825 | 2.03k | IsCreateNamespaceDoneRequestPB req; |
826 | 2.03k | IsCreateNamespaceDoneResponsePB resp; |
827 | | |
828 | 2.03k | req.mutable_namespace_()->set_name(namespace_name); |
829 | 2.03k | if (database_type) { |
830 | 2.00k | req.mutable_namespace_()->set_database_type(*database_type); |
831 | 2.00k | } |
832 | 2.03k | if (!namespace_id.empty()) { |
833 | 2.01k | req.mutable_namespace_()->set_id(namespace_id); |
834 | 2.01k | } |
835 | | |
836 | | // RETURN_NOT_OK macro can't take templated function call as param, |
837 | | // and SyncLeaderMasterRpc must be explicitly instantiated, else the |
838 | | // compiler complains. |
839 | 2.03k | const Status s = SyncLeaderMasterRpc( |
840 | 2.03k | deadline, req, &resp, "IsCreateNamespaceDone", |
841 | 2.03k | &master::MasterDdlProxy::IsCreateNamespaceDoneAsync); |
842 | | |
843 | | // IsCreate could return a terminal/done state as FAILED. This would result in an error'd Status. |
844 | 2.03k | if (resp.has_done()) { |
845 | 2.03k | *create_in_progress = !resp.done(); |
846 | 2.03k | } |
847 | | |
848 | 2.03k | RETURN_NOT_OK(s); |
849 | 2.03k | if (resp.has_error()) { |
850 | 0 | return StatusFromPB(resp.error().status()); |
851 | 0 | } |
852 | | |
853 | 2.03k | return Status::OK(); |
854 | 2.03k | } |
855 | | |
856 | | Status YBClient::Data::WaitForCreateNamespaceToFinish( |
857 | | YBClient* client, |
858 | | const std::string& namespace_name, |
859 | | const boost::optional<YQLDatabase>& database_type, |
860 | | const std::string& namespace_id, |
861 | 1.82k | CoarseTimePoint deadline) { |
862 | 1.82k | return RetryFunc( |
863 | 1.82k | deadline, |
864 | 1.82k | "Waiting on Create Namespace to be completed", |
865 | 1.82k | "Timed out waiting for Namespace Creation", |
866 | 1.82k | std::bind(&YBClient::Data::IsCreateNamespaceInProgress, this, client, |
867 | 1.82k | namespace_name, database_type, namespace_id, _1, _2)); |
868 | 1.82k | } |
869 | | |
870 | | Status YBClient::Data::IsDeleteNamespaceInProgress(YBClient* client, |
871 | | const std::string& namespace_name, |
872 | | const boost::optional<YQLDatabase>& database_type, |
873 | | const std::string& namespace_id, |
874 | | CoarseTimePoint deadline, |
875 | 1.53k | bool* delete_in_progress) { |
876 | 1.53k | DCHECK_ONLY_NOTNULL(delete_in_progress); |
877 | 1.53k | IsDeleteNamespaceDoneRequestPB req; |
878 | 1.53k | IsDeleteNamespaceDoneResponsePB resp; |
879 | | |
880 | 1.53k | req.mutable_namespace_()->set_name(namespace_name); |
881 | 1.53k | if (database_type) { |
882 | 43 | req.mutable_namespace_()->set_database_type(*database_type); |
883 | 43 | } |
884 | 1.53k | if (!namespace_id.empty()) { |
885 | 41 | req.mutable_namespace_()->set_id(namespace_id); |
886 | 41 | } |
887 | | |
888 | 1.53k | const Status s = SyncLeaderMasterRpc( |
889 | 1.53k | deadline, req, &resp, "IsDeleteNamespaceDone", |
890 | 1.53k | &master::MasterDdlProxy::IsDeleteNamespaceDoneAsync); |
891 | | // RETURN_NOT_OK macro can't take templated function call as param, |
892 | | // and SyncLeaderMasterRpc must be explicitly instantiated, else the |
893 | | // compiler complains. |
894 | 1.53k | if (resp.has_error()) { |
895 | 0 | if (resp.error().code() == MasterErrorPB::OBJECT_NOT_FOUND) { |
896 | 0 | *delete_in_progress = false; |
897 | 0 | return Status::OK(); |
898 | 0 | } |
899 | 0 | return StatusFromPB(resp.error().status()); |
900 | 0 | } |
901 | 1.53k | RETURN_NOT_OK(s); |
902 | | |
903 | 1.53k | *delete_in_progress = !resp.done(); |
904 | 1.53k | return Status::OK(); |
905 | 1.53k | } |
906 | | |
907 | | Status YBClient::Data::WaitForDeleteNamespaceToFinish(YBClient* client, |
908 | | const std::string& namespace_name, |
909 | | const boost::optional<YQLDatabase>& database_type, |
910 | | const std::string& namespace_id, |
911 | 1.51k | CoarseTimePoint deadline) { |
912 | 1.51k | return RetryFunc( |
913 | 1.51k | deadline, |
914 | 1.51k | "Waiting on Delete Namespace to be completed", |
915 | 1.51k | "Timed out waiting for Namespace Deletion", |
916 | 1.51k | std::bind(&YBClient::Data::IsDeleteNamespaceInProgress, this, |
917 | 1.51k | client, namespace_name, database_type, namespace_id, _1, _2)); |
918 | 1.51k | } |
919 | | |
920 | | Status YBClient::Data::AlterTable(YBClient* client, |
921 | | const AlterTableRequestPB& req, |
922 | 322 | CoarseTimePoint deadline) { |
923 | 322 | AlterTableResponsePB resp; |
924 | 322 | return SyncLeaderMasterRpc( |
925 | 322 | deadline, req, &resp, "AlterTable", &master::MasterDdlProxy::AlterTableAsync); |
926 | 322 | } |
927 | | |
928 | | Status YBClient::Data::IsAlterTableInProgress(YBClient* client, |
929 | | const YBTableName& table_name, |
930 | | string table_id, |
931 | | CoarseTimePoint deadline, |
932 | 649 | bool *alter_in_progress) { |
933 | 649 | IsAlterTableDoneRequestPB req; |
934 | 649 | IsAlterTableDoneResponsePB resp; |
935 | | |
936 | 649 | if (table_name.has_table()) { |
937 | 425 | table_name.SetIntoTableIdentifierPB(req.mutable_table()); |
938 | 425 | } |
939 | | |
940 | 649 | if (!table_id.empty()) { |
941 | 308 | (req.mutable_table())->set_table_id(table_id); |
942 | 308 | } |
943 | | |
944 | 649 | RETURN_NOT_OK(SyncLeaderMasterRpc( |
945 | 649 | deadline, req, &resp, "IsAlterTableDone", |
946 | 649 | &master::MasterDdlProxy::IsAlterTableDoneAsync)); |
947 | | |
948 | 649 | *alter_in_progress = !resp.done(); |
949 | 649 | return Status::OK(); |
950 | 649 | } |
951 | | |
952 | | Status YBClient::Data::WaitForAlterTableToFinish(YBClient* client, |
953 | | const YBTableName& alter_name, |
954 | | const string table_id, |
955 | 321 | CoarseTimePoint deadline) { |
956 | 321 | return RetryFunc( |
957 | 321 | deadline, "Waiting on Alter Table to be completed", "Timed out waiting for AlterTable", |
958 | 321 | std::bind(&YBClient::Data::IsAlterTableInProgress, this, client, |
959 | 321 | alter_name, table_id, _1, _2)); |
960 | 321 | } |
961 | | |
962 | | CHECKED_STATUS YBClient::Data::FlushTablesHelper(YBClient* client, |
963 | | const CoarseTimePoint deadline, |
964 | 7 | const FlushTablesRequestPB& req) { |
965 | 7 | FlushTablesResponsePB resp; |
966 | | |
967 | 7 | RETURN_NOT_OK(SyncLeaderMasterRpc( |
968 | 7 | deadline, req, &resp, "FlushTables", &master::MasterAdminProxy::FlushTablesAsync)); |
969 | | |
970 | | // Spin until the table is flushed. |
971 | 7 | if (!resp.flush_request_id().empty()) { |
972 | 7 | RETURN_NOT_OK(WaitForFlushTableToFinish(client, resp.flush_request_id(), deadline)); |
973 | 7 | } |
974 | | |
975 | 7 | LOG(INFO) << (req.is_compaction() ? "Compacted" : "Flushed") |
976 | 7 | << " table " |
977 | 7 | << req.tables(0).ShortDebugString() |
978 | 7 | << (req.add_indexes() ? " and indexes" : ""); |
979 | 7 | return Status::OK(); |
980 | 7 | } |
981 | | |
982 | | CHECKED_STATUS YBClient::Data::FlushTables(YBClient* client, |
983 | | const vector<YBTableName>& table_names, |
984 | | bool add_indexes, |
985 | | const CoarseTimePoint deadline, |
986 | 0 | const bool is_compaction) { |
987 | 0 | FlushTablesRequestPB req; |
988 | 0 | req.set_add_indexes(add_indexes); |
989 | 0 | req.set_is_compaction(is_compaction); |
990 | 0 | for (const auto& table : table_names) { |
991 | 0 | table.SetIntoTableIdentifierPB(req.add_tables()); |
992 | 0 | } |
993 | |
|
994 | 0 | return FlushTablesHelper(client, deadline, req); |
995 | 0 | } |
996 | | |
997 | | CHECKED_STATUS YBClient::Data::FlushTables(YBClient* client, |
998 | | const vector<TableId>& table_ids, |
999 | | bool add_indexes, |
1000 | | const CoarseTimePoint deadline, |
1001 | 7 | const bool is_compaction) { |
1002 | 7 | FlushTablesRequestPB req; |
1003 | 7 | req.set_add_indexes(add_indexes); |
1004 | 7 | req.set_is_compaction(is_compaction); |
1005 | 7 | for (const auto& table : table_ids) { |
1006 | 7 | req.add_tables()->set_table_id(table); |
1007 | 7 | } |
1008 | | |
1009 | 7 | return FlushTablesHelper(client, deadline, req); |
1010 | 7 | } |
1011 | | |
1012 | | Status YBClient::Data::IsFlushTableInProgress(YBClient* client, |
1013 | | const FlushRequestId& flush_id, |
1014 | | const CoarseTimePoint deadline, |
1015 | 19 | bool *flush_in_progress) { |
1016 | 19 | DCHECK_ONLY_NOTNULL(flush_in_progress); |
1017 | 19 | IsFlushTablesDoneRequestPB req; |
1018 | 19 | IsFlushTablesDoneResponsePB resp; |
1019 | | |
1020 | 19 | req.set_flush_request_id(flush_id); |
1021 | 19 | RETURN_NOT_OK(SyncLeaderMasterRpc( |
1022 | 19 | deadline, req, &resp, "IsFlushTableDone", |
1023 | 19 | &master::MasterAdminProxy::IsFlushTablesDoneAsync)); |
1024 | | |
1025 | 19 | *flush_in_progress = !resp.done(); |
1026 | 19 | return Status::OK(); |
1027 | 19 | } |
1028 | | |
1029 | | Status YBClient::Data::WaitForFlushTableToFinish(YBClient* client, |
1030 | | const FlushRequestId& flush_id, |
1031 | 7 | const CoarseTimePoint deadline) { |
1032 | 7 | return RetryFunc( |
1033 | 7 | deadline, "Waiting for FlushTables to be completed", "Timed out waiting for FlushTables", |
1034 | 7 | std::bind(&YBClient::Data::IsFlushTableInProgress, this, client, flush_id, _1, _2)); |
1035 | 7 | } |
1036 | | |
1037 | 22.9k | Status YBClient::Data::InitLocalHostNames() { |
1038 | 22.9k | std::vector<IpAddress> addresses; |
1039 | 22.9k | auto status = GetLocalAddresses(&addresses, AddressFilter::EXTERNAL); |
1040 | 22.9k | if (!status.ok()) { |
1041 | 0 | LOG(WARNING) << "Failed to enumerate network interfaces" << status.ToString(); |
1042 | 0 | } |
1043 | | |
1044 | 22.9k | string hostname; |
1045 | 22.9k | status = GetFQDN(&hostname); |
1046 | | |
1047 | 22.9k | if (status.ok()) { |
1048 | | // We don't want to consider 'localhost' to be local - otherwise if a misconfigured |
1049 | | // server reports its own name as localhost, all clients will hammer it. |
1050 | 22.7k | if (hostname != "localhost" && hostname != "localhost.localdomain") { |
1051 | 22.7k | local_host_names_.insert(hostname); |
1052 | 18.4E | VLOG(1) << "Considering host " << hostname << " local"; |
1053 | 22.7k | } |
1054 | | |
1055 | 22.7k | std::vector<Endpoint> endpoints; |
1056 | 22.7k | status = HostPort(hostname, 0).ResolveAddresses(&endpoints); |
1057 | 22.7k | if (!status.ok()) { |
1058 | 27 | const auto message = Substitute("Could not resolve local host name '$0'", hostname); |
1059 | 27 | LOG(WARNING) << message; |
1060 | 27 | if (addresses.empty()) { |
1061 | 0 | return status.CloneAndPrepend(message); |
1062 | 0 | } |
1063 | 22.7k | } else { |
1064 | 22.7k | addresses.reserve(addresses.size() + endpoints.size()); |
1065 | 45.4k | for (const auto& endpoint : endpoints) { |
1066 | 45.4k | addresses.push_back(endpoint.address()); |
1067 | 45.4k | } |
1068 | 22.7k | } |
1069 | 122 | } else { |
1070 | 122 | LOG(WARNING) << "Failed to get hostname: " << status.ToString(); |
1071 | 122 | if (addresses.empty()) { |
1072 | 0 | return status; |
1073 | 0 | } |
1074 | 22.9k | } |
1075 | | |
1076 | 343k | for (const auto& addr : addresses) { |
1077 | | // Similar to above, ignore local or wildcard addresses. |
1078 | 343k | if (addr.is_unspecified() || addr.is_loopback()) continue; |
1079 | | |
1080 | 18.4E | VLOG(1) << "Considering host " << addr << " local"; |
1081 | 343k | local_host_names_.insert(addr.to_string()); |
1082 | 343k | } |
1083 | | |
1084 | 22.9k | return Status::OK(); |
1085 | 22.9k | } |
1086 | | |
1087 | 0 | bool YBClient::Data::IsLocalHostPort(const HostPort& hp) const { |
1088 | 0 | return ContainsKey(local_host_names_, hp.host()); |
1089 | 0 | } |
1090 | | |
1091 | 33.8k | bool YBClient::Data::IsTabletServerLocal(const RemoteTabletServer& rts) const { |
1092 | | // If the uuid's are same, we are sure the tablet server is local, since if this client is used |
1093 | | // via the CQL proxy, the tablet server's uuid is set in the client. |
1094 | 33.8k | if (uuid_ == rts.permanent_uuid()) { |
1095 | 12.8k | return true; |
1096 | 12.8k | } |
1097 | | |
1098 | 21.0k | return rts.HasHostFrom(local_host_names_); |
1099 | 21.0k | } |
1100 | | |
1101 | | template <class T, class... Args> |
1102 | 175k | rpc::RpcCommandPtr YBClient::Data::StartRpc(Args&&... args) { |
1103 | 175k | auto rpc = std::make_shared<T>(std::forward<Args>(args)...); |
1104 | 175k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); |
1105 | 175k | return rpc; |
1106 | 175k | } _ZN2yb6client8YBClient4Data8StartRpcINS0_8internal17GetTableSchemaRpcEJRPS1_NS_8CallbackIFvRKNS_6StatusEEEERKNS0_11YBTableNameERPNS0_11YBTableInfoERNSt3__16chrono10time_pointINS_15CoarseMonoClockENSL_8durationIxNSK_5ratioILl1ELl1000000000EEEEEEEEEENSK_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ Line | Count | Source | 1102 | 48.2k | rpc::RpcCommandPtr YBClient::Data::StartRpc(Args&&... args) { | 1103 | 48.2k | auto rpc = std::make_shared<T>(std::forward<Args>(args)...); | 1104 | 48.2k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 1105 | 48.2k | return rpc; | 1106 | 48.2k | } |
_ZN2yb6client8YBClient4Data8StartRpcINS0_8internal17GetTableSchemaRpcEJRPS1_NS_8CallbackIFvRKNS_6StatusEEEERKNSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEERPNS0_11YBTableInfoERNSE_6chrono10time_pointINS_15CoarseMonoClockENSQ_8durationIxNSE_5ratioILl1ELl1000000000EEEEEEERPNS_6master24GetTableSchemaResponsePBEEEENSE_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ Line | Count | Source | 1102 | 41.6k | rpc::RpcCommandPtr YBClient::Data::StartRpc(Args&&... args) { | 1103 | 41.6k | auto rpc = std::make_shared<T>(std::forward<Args>(args)...); | 1104 | 41.6k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 1105 | 41.6k | return rpc; | 1106 | 41.6k | } |
Unexecuted instantiation: _ZN2yb6client8YBClient4Data8StartRpcINS0_8internal17GetTableSchemaRpcEJRPS1_RNS_8CallbackIFvRKNS_6StatusEEEERKNSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEPNS0_11YBTableInfoERNSF_6chrono10time_pointINS_15CoarseMonoClockENSQ_8durationIxNSF_5ratioILl1ELl1000000000EEEEEEEDnEEENSF_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ Unexecuted instantiation: _ZN2yb6client8YBClient4Data8StartRpcINS0_8internal22GetTablegroupSchemaRpcEJRPS1_RNS_8CallbackIFvRKNS_6StatusEEEERKNSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEPNSF_6vectorINS0_11YBTableInfoENSJ_ISP_EEEERNSF_6chrono10time_pointINS_15CoarseMonoClockENST_8durationIxNSF_5ratioILl1ELl1000000000EEEEEEEEEENSF_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ Unexecuted instantiation: _ZN2yb6client8YBClient4Data8StartRpcINS0_8internal27GetColocatedTabletSchemaRpcEJRPS1_RNS_8CallbackIFvRKNS_6StatusEEEERKNSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEPNSF_6vectorINS0_11YBTableInfoENSJ_ISP_EEEERNSF_6chrono10time_pointINS_15CoarseMonoClockENST_8durationIxNSF_5ratioILl1ELl1000000000EEEEEEEEEENSF_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ Unexecuted instantiation: _ZN2yb6client8YBClient4Data8StartRpcINS0_8internal18CreateCDCStreamRpcEJRPS1_RNSt3__18functionIFvRKNS_6ResultINS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEEEEEERKSG_RKNS8_13unordered_mapISG_SG_NS8_4hashISG_EENS8_8equal_toISG_EENSE_INS8_4pairISN_SG_EEEEEERNS8_6chrono10time_pointINS_15CoarseMonoClockENS10_8durationIxNS8_5ratioILl1ELl1000000000EEEEEEEEEENS8_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ Unexecuted instantiation: _ZN2yb6client8YBClient4Data8StartRpcINS0_8internal18DeleteCDCStreamRpcEJRPS1_RNS_8CallbackIFvRKNS_6StatusEEEERKNSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEERNSF_6chrono10time_pointINS_15CoarseMonoClockENSO_8durationIxNSF_5ratioILl1ELl1000000000EEEEEEEEEENSF_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ Unexecuted instantiation: _ZN2yb6client8YBClient4Data8StartRpcINS0_8internal21GetCDCDBStreamInfoRpcEJRPS1_RNSt3__18functionIFvRKNS_6StatusEEEERKNS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEPNS8_6vectorINS8_4pairISL_SL_EENSJ_ISQ_EEEERNS8_6chrono10time_pointINS_15CoarseMonoClockENSU_8durationIxNS8_5ratioILl1ELl1000000000EEEEEEEEEENS8_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ Unexecuted instantiation: _ZN2yb6client8YBClient4Data8StartRpcINS0_8internal15GetCDCStreamRpcEJRPS1_RNSt3__18functionIFvRKNS_6StatusEEEERKNS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEPSL_PNS8_13unordered_mapISL_SL_NS8_4hashISL_EENS8_8equal_toISL_EENSJ_INS8_4pairISM_SL_EEEEEERNS8_6chrono10time_pointINS_15CoarseMonoClockENSZ_8durationIxNS8_5ratioILl1ELl1000000000EEEEEEEEEENS8_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ _ZN2yb6client8YBClient4Data8StartRpcINS0_8internal25DeleteNotServingTabletRpcEJRPS1_RKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEERNS8_8functionIFvRKNS_6StatusEEEERNS8_6chrono10time_pointINS_15CoarseMonoClockENSO_8durationIxNS8_5ratioILl1ELl1000000000EEEEEEEEEENS8_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ Line | Count | Source | 1102 | 8 | rpc::RpcCommandPtr YBClient::Data::StartRpc(Args&&... args) { | 1103 | 8 | auto rpc = std::make_shared<T>(std::forward<Args>(args)...); | 1104 | 8 | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 1105 | 8 | return rpc; | 1106 | 8 | } |
_ZN2yb6client8YBClient4Data8StartRpcINS0_8internal20GetTableLocationsRpcEJRPS1_RKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEERKiRKNS_17StronglyTypedBoolI25RequireTabletsRunning_TagEERNS8_8functionIFvRKNS_6ResultIPNS_6master27GetTableLocationsResponsePBEEEEEERKNS8_6chrono10time_pointINS_15CoarseMonoClockENSZ_8durationIxNS8_5ratioILl1ELl1000000000EEEEEEEEEENS8_10shared_ptrINS_3rpc10RpcCommandEEEDpOT0_ Line | Count | Source | 1102 | 85.4k | rpc::RpcCommandPtr YBClient::Data::StartRpc(Args&&... args) { | 1103 | 85.4k | auto rpc = std::make_shared<T>(std::forward<Args>(args)...); | 1104 | 85.4k | rpcs_.RegisterAndStart(rpc, rpc->RpcHandle()); | 1105 | 85.4k | return rpc; | 1106 | 85.4k | } |
|
1107 | | |
1108 | | namespace internal { |
1109 | | |
1110 | | // Gets a table's schema from the leader master. See ClientMasterRpc. |
1111 | | class GetTableSchemaRpc |
1112 | | : public ClientMasterRpc<GetTableSchemaRequestPB, GetTableSchemaResponsePB> { |
1113 | | public: |
1114 | | GetTableSchemaRpc(YBClient* client, |
1115 | | StatusCallback user_cb, |
1116 | | const YBTableName& table_name, |
1117 | | YBTableInfo* info, |
1118 | | CoarseTimePoint deadline); |
1119 | | GetTableSchemaRpc(YBClient* client, |
1120 | | StatusCallback user_cb, |
1121 | | const TableId& table_id, |
1122 | | YBTableInfo* info, |
1123 | | CoarseTimePoint deadline, |
1124 | | master::GetTableSchemaResponsePB* resp_copy); |
1125 | | |
1126 | | std::string ToString() const override; |
1127 | | |
1128 | | virtual ~GetTableSchemaRpc(); |
1129 | | |
1130 | | private: |
1131 | | GetTableSchemaRpc(YBClient* client, |
1132 | | StatusCallback user_cb, |
1133 | | const master::TableIdentifierPB& table_identifier, |
1134 | | YBTableInfo* info, |
1135 | | CoarseTimePoint deadline, |
1136 | | master::GetTableSchemaResponsePB* resp_copy = nullptr); |
1137 | | |
1138 | | void CallRemoteMethod() override; |
1139 | | void ProcessResponse(const Status& status) override; |
1140 | | |
1141 | | StatusCallback user_cb_; |
1142 | | master::TableIdentifierPB table_identifier_; |
1143 | | YBTableInfo* info_; |
1144 | | master::GetTableSchemaResponsePB* resp_copy_; |
1145 | | }; |
1146 | | |
1147 | | // Gets all table schemas for a tablegroup from the leader master. See ClientMasterRpc. |
1148 | | class GetTablegroupSchemaRpc |
1149 | | : public ClientMasterRpc<GetTablegroupSchemaRequestPB, GetTablegroupSchemaResponsePB> { |
1150 | | public: |
1151 | | GetTablegroupSchemaRpc(YBClient* client, |
1152 | | StatusCallback user_cb, |
1153 | | const TablegroupId& parent_tablegroup_table_id, |
1154 | | vector<YBTableInfo>* info, |
1155 | | CoarseTimePoint deadline); |
1156 | | |
1157 | | std::string ToString() const override; |
1158 | | |
1159 | | virtual ~GetTablegroupSchemaRpc(); |
1160 | | |
1161 | | private: |
1162 | | GetTablegroupSchemaRpc(YBClient* client, |
1163 | | StatusCallback user_cb, |
1164 | | const master::TablegroupIdentifierPB& parent_tablegroup, |
1165 | | vector<YBTableInfo>* info, |
1166 | | CoarseTimePoint deadline); |
1167 | | |
1168 | | void CallRemoteMethod() override; |
1169 | | void ProcessResponse(const Status& status) override; |
1170 | | |
1171 | | StatusCallback user_cb_; |
1172 | | master::TablegroupIdentifierPB tablegroup_identifier_; |
1173 | | vector<YBTableInfo>* info_; |
1174 | | }; |
1175 | | |
1176 | | // Gets all table schemas for a colocated tablet from the leader master. See ClientMasterRpc. |
1177 | | class GetColocatedTabletSchemaRpc : public ClientMasterRpc<GetColocatedTabletSchemaRequestPB, |
1178 | | GetColocatedTabletSchemaResponsePB> { |
1179 | | public: |
1180 | | GetColocatedTabletSchemaRpc(YBClient* client, |
1181 | | StatusCallback user_cb, |
1182 | | const YBTableName& parent_colocated_table, |
1183 | | vector<YBTableInfo>* info, |
1184 | | CoarseTimePoint deadline); |
1185 | | GetColocatedTabletSchemaRpc(YBClient* client, |
1186 | | StatusCallback user_cb, |
1187 | | const TableId& parent_colocated_table_id, |
1188 | | vector<YBTableInfo>* info, |
1189 | | CoarseTimePoint deadline); |
1190 | | |
1191 | | std::string ToString() const override; |
1192 | | |
1193 | | virtual ~GetColocatedTabletSchemaRpc(); |
1194 | | |
1195 | | private: |
1196 | | GetColocatedTabletSchemaRpc(YBClient* client, |
1197 | | StatusCallback user_cb, |
1198 | | const master::TableIdentifierPB& parent_colocated_table_identifier, |
1199 | | vector<YBTableInfo>* info, |
1200 | | CoarseTimePoint deadline); |
1201 | | |
1202 | | void CallRemoteMethod() override; |
1203 | | void ProcessResponse(const Status& status) override; |
1204 | | |
1205 | | StatusCallback user_cb_; |
1206 | | master::TableIdentifierPB table_identifier_; |
1207 | | vector<YBTableInfo>* info_; |
1208 | | }; |
1209 | | |
1210 | | namespace { |
1211 | | |
1212 | 48.2k | master::TableIdentifierPB ToTableIdentifierPB(const YBTableName& table_name) { |
1213 | 48.2k | master::TableIdentifierPB id; |
1214 | 48.2k | table_name.SetIntoTableIdentifierPB(&id); |
1215 | 48.2k | return id; |
1216 | 48.2k | } |
1217 | | |
1218 | 41.6k | master::TableIdentifierPB ToTableIdentifierPB(const TableId& table_id) { |
1219 | 41.6k | master::TableIdentifierPB id; |
1220 | 41.6k | id.set_table_id(table_id); |
1221 | 41.6k | return id; |
1222 | 41.6k | } |
1223 | | |
1224 | 0 | master::TablegroupIdentifierPB ToTablegroupIdentifierPB(const TablegroupId& tablegroup_id) { |
1225 | 0 | master::TablegroupIdentifierPB id; |
1226 | 0 | id.set_id(tablegroup_id); |
1227 | 0 | return id; |
1228 | 0 | } |
1229 | | |
1230 | | } // namespace |
1231 | | } // namespace internal |
1232 | | |
1233 | | // Helper function to create YBTableInfo from GetTableSchemaResponsePB. |
1234 | 152k | Status CreateTableInfoFromTableSchemaResp(const GetTableSchemaResponsePB& resp, YBTableInfo* info) { |
1235 | 152k | std::unique_ptr<Schema> schema = std::make_unique<Schema>(Schema()); |
1236 | 152k | RETURN_NOT_OK(SchemaFromPB(resp.schema(), schema.get())); |
1237 | 152k | info->schema.Reset(std::move(schema)); |
1238 | 152k | info->schema.set_version(resp.version()); |
1239 | 152k | info->schema.set_is_compatible_with_previous_version( |
1240 | 152k | resp.is_compatible_with_previous_version()); |
1241 | 152k | RETURN_NOT_OK(PartitionSchema::FromPB(resp.partition_schema(), |
1242 | 152k | internal::GetSchema(&info->schema), |
1243 | 152k | &info->partition_schema)); |
1244 | | |
1245 | 152k | info->table_name.GetFromTableIdentifierPB(resp.identifier()); |
1246 | 152k | info->table_id = resp.identifier().table_id(); |
1247 | 152k | info->table_type = VERIFY_RESULT(PBToClientTableType(resp.table_type())); |
1248 | 152k | info->index_map.FromPB(resp.indexes()); |
1249 | 152k | if (resp.has_index_info()) { |
1250 | 38.3k | info->index_info.emplace(resp.index_info()); |
1251 | 38.3k | } |
1252 | 152k | if (resp.has_replication_info()) { |
1253 | 2 | info->replication_info.emplace(resp.replication_info()); |
1254 | 2 | } |
1255 | 152k | if (resp.has_wal_retention_secs()) { |
1256 | 2.39k | info->wal_retention_secs = resp.wal_retention_secs(); |
1257 | 2.39k | } |
1258 | 152k | SCHECK_GT(info->table_id.size(), 0U, IllegalState, "Running against a too-old master"); |
1259 | 152k | info->colocated = resp.colocated(); |
1260 | | |
1261 | 152k | return Status::OK(); |
1262 | 152k | } |
1263 | | |
1264 | | namespace internal { |
1265 | | |
1266 | | GetTableSchemaRpc::GetTableSchemaRpc(YBClient* client, |
1267 | | StatusCallback user_cb, |
1268 | | const YBTableName& table_name, |
1269 | | YBTableInfo* info, |
1270 | | CoarseTimePoint deadline) |
1271 | | : GetTableSchemaRpc( |
1272 | 48.2k | client, user_cb, ToTableIdentifierPB(table_name), info, deadline) { |
1273 | 48.2k | } Unexecuted instantiation: _ZN2yb6client8internal17GetTableSchemaRpcC2EPNS0_8YBClientENS_8CallbackIFvRKNS_6StatusEEEERKNS0_11YBTableNameEPNS0_11YBTableInfoENSt3__16chrono10time_pointINS_15CoarseMonoClockENSH_8durationIxNSG_5ratioILl1ELl1000000000EEEEEEE _ZN2yb6client8internal17GetTableSchemaRpcC1EPNS0_8YBClientENS_8CallbackIFvRKNS_6StatusEEEERKNS0_11YBTableNameEPNS0_11YBTableInfoENSt3__16chrono10time_pointINS_15CoarseMonoClockENSH_8durationIxNSG_5ratioILl1ELl1000000000EEEEEEE Line | Count | Source | 1272 | 48.2k | client, user_cb, ToTableIdentifierPB(table_name), info, deadline) { | 1273 | 48.2k | } |
|
1274 | | |
1275 | | GetTableSchemaRpc::GetTableSchemaRpc(YBClient* client, |
1276 | | StatusCallback user_cb, |
1277 | | const TableId& table_id, |
1278 | | YBTableInfo* info, |
1279 | | CoarseTimePoint deadline, |
1280 | | master::GetTableSchemaResponsePB* resp_copy) |
1281 | | : GetTableSchemaRpc( |
1282 | 41.6k | client, user_cb, ToTableIdentifierPB(table_id), info, deadline, resp_copy) {} Unexecuted instantiation: _ZN2yb6client8internal17GetTableSchemaRpcC2EPNS0_8YBClientENS_8CallbackIFvRKNS_6StatusEEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEEPNS0_11YBTableInfoENSB_6chrono10time_pointINS_15CoarseMonoClockENSM_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPNS_6master24GetTableSchemaResponsePBE _ZN2yb6client8internal17GetTableSchemaRpcC1EPNS0_8YBClientENS_8CallbackIFvRKNS_6StatusEEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEEPNS0_11YBTableInfoENSB_6chrono10time_pointINS_15CoarseMonoClockENSM_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEEPNS_6master24GetTableSchemaResponsePBE Line | Count | Source | 1282 | 41.6k | client, user_cb, ToTableIdentifierPB(table_id), info, deadline, resp_copy) {} |
|
1283 | | |
1284 | | GetTableSchemaRpc::GetTableSchemaRpc(YBClient* client, |
1285 | | StatusCallback user_cb, |
1286 | | const master::TableIdentifierPB& table_identifier, |
1287 | | YBTableInfo* info, |
1288 | | CoarseTimePoint deadline, |
1289 | | master::GetTableSchemaResponsePB* resp_copy) |
1290 | | : ClientMasterRpc(client, deadline), |
1291 | | user_cb_(std::move(user_cb)), |
1292 | | table_identifier_(table_identifier), |
1293 | | info_(DCHECK_NOTNULL(info)), |
1294 | 89.6k | resp_copy_(resp_copy) { |
1295 | 89.6k | req_.mutable_table()->CopyFrom(table_identifier_); |
1296 | 89.6k | } |
1297 | | |
1298 | 89.8k | GetTableSchemaRpc::~GetTableSchemaRpc() { |
1299 | 89.8k | } |
1300 | | |
1301 | 89.9k | void GetTableSchemaRpc::CallRemoteMethod() { |
1302 | 89.9k | master_ddl_proxy()->GetTableSchemaAsync( |
1303 | 89.9k | req_, &resp_, mutable_retrier()->mutable_controller(), |
1304 | 89.9k | std::bind(&GetTableSchemaRpc::Finished, this, Status::OK())); |
1305 | 89.9k | } |
1306 | | |
1307 | 4.80k | string GetTableSchemaRpc::ToString() const { |
1308 | 4.80k | return Substitute("GetTableSchemaRpc(table_identifier: $0, num_attempts: $1)", |
1309 | 4.80k | table_identifier_.ShortDebugString(), num_attempts()); |
1310 | 4.80k | } |
1311 | | |
1312 | 89.9k | void GetTableSchemaRpc::ProcessResponse(const Status& status) { |
1313 | 89.9k | auto new_status = status; |
1314 | 89.9k | if (new_status.ok()) { |
1315 | 87.5k | new_status = CreateTableInfoFromTableSchemaResp(resp_, info_); |
1316 | 87.5k | if (resp_copy_) { |
1317 | 35.9k | resp_copy_->Swap(&resp_); |
1318 | 35.9k | } |
1319 | 87.5k | } |
1320 | 89.9k | if (!new_status.ok()) { |
1321 | 2.39k | LOG(WARNING) << ToString() << " failed: " << new_status.ToString(); |
1322 | 2.39k | } |
1323 | 89.9k | user_cb_.Run(new_status); |
1324 | 89.9k | } |
1325 | | |
1326 | | GetTablegroupSchemaRpc::GetTablegroupSchemaRpc( |
1327 | | YBClient* client, |
1328 | | StatusCallback user_cb, |
1329 | | const TablegroupId& tablegroup_id, |
1330 | | vector<YBTableInfo>* info, |
1331 | | CoarseTimePoint deadline) |
1332 | | : ClientMasterRpc(client, deadline), |
1333 | | user_cb_(std::move(user_cb)), |
1334 | | tablegroup_identifier_(ToTablegroupIdentifierPB(tablegroup_id)), |
1335 | 0 | info_(DCHECK_NOTNULL(info)) { |
1336 | 0 | req_.mutable_parent_tablegroup()->CopyFrom(tablegroup_identifier_); |
1337 | 0 | } |
1338 | | |
1339 | | GetTablegroupSchemaRpc::GetTablegroupSchemaRpc( |
1340 | | YBClient* client, |
1341 | | StatusCallback user_cb, |
1342 | | const master::TablegroupIdentifierPB& tablegroup_identifier, |
1343 | | vector<YBTableInfo>* info, |
1344 | | CoarseTimePoint deadline) |
1345 | | : ClientMasterRpc(client, deadline), |
1346 | | user_cb_(std::move(user_cb)), |
1347 | | tablegroup_identifier_(tablegroup_identifier), |
1348 | 0 | info_(DCHECK_NOTNULL(info)) { |
1349 | 0 | req_.mutable_parent_tablegroup()->CopyFrom(tablegroup_identifier_); |
1350 | 0 | } |
1351 | | |
1352 | 0 | GetTablegroupSchemaRpc::~GetTablegroupSchemaRpc() { |
1353 | 0 | } |
1354 | | |
1355 | 0 | void GetTablegroupSchemaRpc::CallRemoteMethod() { |
1356 | 0 | master_ddl_proxy()->GetTablegroupSchemaAsync( |
1357 | 0 | req_, &resp_, mutable_retrier()->mutable_controller(), |
1358 | 0 | std::bind(&GetTablegroupSchemaRpc::Finished, this, Status::OK())); |
1359 | 0 | } |
1360 | | |
1361 | 0 | string GetTablegroupSchemaRpc::ToString() const { |
1362 | 0 | return Substitute("GetTablegroupSchemaRpc(table_identifier: $0, num_attempts: $1", |
1363 | 0 | tablegroup_identifier_.ShortDebugString(), num_attempts()); |
1364 | 0 | } |
1365 | | |
1366 | 0 | void GetTablegroupSchemaRpc::ProcessResponse(const Status& status) { |
1367 | 0 | auto new_status = status; |
1368 | 0 | if (new_status.ok()) { |
1369 | 0 | for (const auto& resp : resp_.get_table_schema_response_pbs()) { |
1370 | 0 | info_->emplace_back(); |
1371 | 0 | new_status = CreateTableInfoFromTableSchemaResp(resp, &info_->back()); |
1372 | 0 | if (!new_status.ok()) { |
1373 | 0 | break; |
1374 | 0 | } |
1375 | 0 | } |
1376 | 0 | } |
1377 | 0 | if (!new_status.ok()) { |
1378 | 0 | LOG(WARNING) << ToString() << " failed: " << new_status.ToString(); |
1379 | 0 | } |
1380 | 0 | user_cb_.Run(new_status); |
1381 | 0 | } |
1382 | | |
1383 | | GetColocatedTabletSchemaRpc::GetColocatedTabletSchemaRpc(YBClient* client, |
1384 | | StatusCallback user_cb, |
1385 | | const YBTableName& table_name, |
1386 | | vector<YBTableInfo>* info, |
1387 | | CoarseTimePoint deadline) |
1388 | | : GetColocatedTabletSchemaRpc( |
1389 | 0 | client, user_cb, ToTableIdentifierPB(table_name), info, deadline) { |
1390 | 0 | } Unexecuted instantiation: _ZN2yb6client8internal27GetColocatedTabletSchemaRpcC2EPNS0_8YBClientENS_8CallbackIFvRKNS_6StatusEEEERKNS0_11YBTableNameEPNSt3__16vectorINS0_11YBTableInfoENSE_9allocatorISG_EEEENSE_6chrono10time_pointINS_15CoarseMonoClockENSL_8durationIxNSE_5ratioILl1ELl1000000000EEEEEEE Unexecuted instantiation: _ZN2yb6client8internal27GetColocatedTabletSchemaRpcC1EPNS0_8YBClientENS_8CallbackIFvRKNS_6StatusEEEERKNS0_11YBTableNameEPNSt3__16vectorINS0_11YBTableInfoENSE_9allocatorISG_EEEENSE_6chrono10time_pointINS_15CoarseMonoClockENSL_8durationIxNSE_5ratioILl1ELl1000000000EEEEEEE |
1391 | | |
1392 | | GetColocatedTabletSchemaRpc::GetColocatedTabletSchemaRpc(YBClient* client, |
1393 | | StatusCallback user_cb, |
1394 | | const TableId& table_id, |
1395 | | vector<YBTableInfo>* info, |
1396 | | CoarseTimePoint deadline) |
1397 | | : GetColocatedTabletSchemaRpc( |
1398 | 0 | client, user_cb, ToTableIdentifierPB(table_id), info, deadline) {} Unexecuted instantiation: _ZN2yb6client8internal27GetColocatedTabletSchemaRpcC2EPNS0_8YBClientENS_8CallbackIFvRKNS_6StatusEEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEEPNSB_6vectorINS0_11YBTableInfoENSF_ISL_EEEENSB_6chrono10time_pointINS_15CoarseMonoClockENSP_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEE Unexecuted instantiation: _ZN2yb6client8internal27GetColocatedTabletSchemaRpcC1EPNS0_8YBClientENS_8CallbackIFvRKNS_6StatusEEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEEPNSB_6vectorINS0_11YBTableInfoENSF_ISL_EEEENSB_6chrono10time_pointINS_15CoarseMonoClockENSP_8durationIxNSB_5ratioILl1ELl1000000000EEEEEEE |
1399 | | |
1400 | | GetColocatedTabletSchemaRpc::GetColocatedTabletSchemaRpc( |
1401 | | YBClient* client, |
1402 | | StatusCallback user_cb, |
1403 | | const master::TableIdentifierPB& table_identifier, |
1404 | | vector<YBTableInfo>* info, |
1405 | | CoarseTimePoint deadline) |
1406 | | : ClientMasterRpc(client, deadline), |
1407 | | user_cb_(std::move(user_cb)), |
1408 | | table_identifier_(table_identifier), |
1409 | 0 | info_(DCHECK_NOTNULL(info)) { |
1410 | 0 | req_.mutable_parent_colocated_table()->CopyFrom(table_identifier_); |
1411 | 0 | } |
1412 | | |
1413 | 0 | GetColocatedTabletSchemaRpc::~GetColocatedTabletSchemaRpc() { |
1414 | 0 | } |
1415 | | |
1416 | 0 | void GetColocatedTabletSchemaRpc::CallRemoteMethod() { |
1417 | 0 | master_ddl_proxy()->GetColocatedTabletSchemaAsync( |
1418 | 0 | req_, &resp_, mutable_retrier()->mutable_controller(), |
1419 | 0 | std::bind(&GetColocatedTabletSchemaRpc::Finished, this, Status::OK())); |
1420 | 0 | } |
1421 | | |
1422 | 0 | string GetColocatedTabletSchemaRpc::ToString() const { |
1423 | 0 | return Substitute("GetColocatedTabletSchemaRpc(table_identifier: $0, num_attempts: $1)", |
1424 | 0 | table_identifier_.ShortDebugString(), num_attempts()); |
1425 | 0 | } |
1426 | | |
1427 | 0 | void GetColocatedTabletSchemaRpc::ProcessResponse(const Status& status) { |
1428 | 0 | auto new_status = status; |
1429 | 0 | if (new_status.ok()) { |
1430 | 0 | for (const auto& resp : resp_.get_table_schema_response_pbs()) { |
1431 | 0 | info_->emplace_back(); |
1432 | 0 | new_status = CreateTableInfoFromTableSchemaResp(resp, &info_->back()); |
1433 | 0 | if (!new_status.ok()) { |
1434 | 0 | break; |
1435 | 0 | } |
1436 | 0 | } |
1437 | 0 | } |
1438 | 0 | if (!new_status.ok()) { |
1439 | 0 | LOG(WARNING) << ToString() << " failed: " << new_status.ToString(); |
1440 | 0 | } |
1441 | 0 | user_cb_.Run(new_status); |
1442 | 0 | } |
1443 | | |
1444 | | class CreateCDCStreamRpc |
1445 | | : public ClientMasterRpc<CreateCDCStreamRequestPB, CreateCDCStreamResponsePB> { |
1446 | | public: |
1447 | | CreateCDCStreamRpc(YBClient* client, |
1448 | | CreateCDCStreamCallback user_cb, |
1449 | | const TableId& table_id, |
1450 | | const std::unordered_map<std::string, std::string>& options, |
1451 | | CoarseTimePoint deadline); |
1452 | | |
1453 | | string ToString() const override; |
1454 | | |
1455 | | virtual ~CreateCDCStreamRpc(); |
1456 | | |
1457 | | private: |
1458 | | void CallRemoteMethod() override; |
1459 | | void ProcessResponse(const Status& status) override; |
1460 | | |
1461 | | CreateCDCStreamCallback user_cb_; |
1462 | | std::string table_id_; |
1463 | | std::unordered_map<std::string, std::string> options_; |
1464 | | }; |
1465 | | |
1466 | | CreateCDCStreamRpc::CreateCDCStreamRpc(YBClient* client, |
1467 | | CreateCDCStreamCallback user_cb, |
1468 | | const TableId& table_id, |
1469 | | const std::unordered_map<std::string, std::string>& options, |
1470 | | CoarseTimePoint deadline) |
1471 | | : ClientMasterRpc(client, deadline), |
1472 | | user_cb_(std::move(user_cb)), |
1473 | | table_id_(table_id), |
1474 | 0 | options_(options) { |
1475 | 0 | req_.set_table_id(table_id_); |
1476 | 0 | req_.mutable_options()->Reserve(narrow_cast<int>(options_.size())); |
1477 | 0 | for (const auto& option : options_) { |
1478 | 0 | auto* op = req_.add_options(); |
1479 | 0 | op->set_key(option.first); |
1480 | 0 | op->set_value(option.second); |
1481 | 0 | } |
1482 | 0 | } |
1483 | | |
1484 | 0 | CreateCDCStreamRpc::~CreateCDCStreamRpc() { |
1485 | 0 | } |
1486 | | |
1487 | 0 | void CreateCDCStreamRpc::CallRemoteMethod() { |
1488 | 0 | master_replication_proxy()->CreateCDCStreamAsync( |
1489 | 0 | req_, &resp_, mutable_retrier()->mutable_controller(), |
1490 | 0 | std::bind(&CreateCDCStreamRpc::Finished, this, Status::OK())); |
1491 | 0 | } |
1492 | | |
1493 | 0 | string CreateCDCStreamRpc::ToString() const { |
1494 | 0 | return Substitute("CreateCDCStream(table_id: $0, num_attempts: $1)", table_id_, num_attempts()); |
1495 | 0 | } |
1496 | | |
1497 | 0 | void CreateCDCStreamRpc::ProcessResponse(const Status& status) { |
1498 | 0 | if (status.ok()) { |
1499 | 0 | user_cb_(resp_.stream_id()); |
1500 | 0 | } else { |
1501 | 0 | LOG(WARNING) << ToString() << " failed: " << status.ToString(); |
1502 | 0 | user_cb_(status); |
1503 | 0 | } |
1504 | 0 | } |
1505 | | |
1506 | | class DeleteCDCStreamRpc |
1507 | | : public ClientMasterRpc<DeleteCDCStreamRequestPB, DeleteCDCStreamResponsePB> { |
1508 | | public: |
1509 | | DeleteCDCStreamRpc(YBClient* client, |
1510 | | StatusCallback user_cb, |
1511 | | const CDCStreamId& stream_id, |
1512 | | CoarseTimePoint deadline); |
1513 | | |
1514 | | string ToString() const override; |
1515 | | |
1516 | | virtual ~DeleteCDCStreamRpc(); |
1517 | | |
1518 | | private: |
1519 | | void CallRemoteMethod() override; |
1520 | | void ProcessResponse(const Status& status) override; |
1521 | | |
1522 | | StatusCallback user_cb_; |
1523 | | std::string stream_id_; |
1524 | | }; |
1525 | | |
1526 | | DeleteCDCStreamRpc::DeleteCDCStreamRpc(YBClient* client, |
1527 | | StatusCallback user_cb, |
1528 | | const CDCStreamId& stream_id, |
1529 | | CoarseTimePoint deadline) |
1530 | | : ClientMasterRpc(client, deadline), |
1531 | | user_cb_(std::move(user_cb)), |
1532 | 0 | stream_id_(stream_id) { |
1533 | 0 | req_.add_stream_id(stream_id_); |
1534 | 0 | } |
1535 | | |
1536 | 0 | DeleteCDCStreamRpc::~DeleteCDCStreamRpc() { |
1537 | 0 | } |
1538 | | |
1539 | 0 | void DeleteCDCStreamRpc::CallRemoteMethod() { |
1540 | 0 | master_replication_proxy()->DeleteCDCStreamAsync( |
1541 | 0 | req_, &resp_, mutable_retrier()->mutable_controller(), |
1542 | 0 | std::bind(&DeleteCDCStreamRpc::Finished, this, Status::OK())); |
1543 | 0 | } |
1544 | | |
1545 | 0 | string DeleteCDCStreamRpc::ToString() const { |
1546 | 0 | return Substitute("DeleteCDCStream(stream_id: $0, num_attempts: $1)", |
1547 | 0 | stream_id_, num_attempts()); |
1548 | 0 | } |
1549 | | |
1550 | 0 | void DeleteCDCStreamRpc::ProcessResponse(const Status& status) { |
1551 | 0 | if (!status.ok()) { |
1552 | 0 | LOG(WARNING) << ToString() << " failed: " << status.ToString(); |
1553 | 0 | } |
1554 | 0 | user_cb_.Run(status); |
1555 | 0 | } |
1556 | | |
1557 | | class GetCDCDBStreamInfoRpc : public ClientMasterRpc<GetCDCDBStreamInfoRequestPB, |
1558 | | GetCDCDBStreamInfoResponsePB> { |
1559 | | public: |
1560 | | GetCDCDBStreamInfoRpc(YBClient* client, |
1561 | | StdStatusCallback user_cb, |
1562 | | const std::string& db_stream_id, |
1563 | | std::vector<pair<std::string, std::string>>* db_stream_info, |
1564 | | CoarseTimePoint deadline); |
1565 | | |
1566 | | std::string ToString() const override; |
1567 | | |
1568 | 0 | virtual ~GetCDCDBStreamInfoRpc() = default; |
1569 | | |
1570 | | private: |
1571 | | void CallRemoteMethod() override; |
1572 | | void ProcessResponse(const Status& status) override; |
1573 | | |
1574 | | StdStatusCallback user_cb_; |
1575 | | std::string db_stream_id_; |
1576 | | std::vector<pair<std::string, std::string>>* db_stream_info_; |
1577 | | }; |
1578 | | |
1579 | | GetCDCDBStreamInfoRpc::GetCDCDBStreamInfoRpc(YBClient *client, |
1580 | | StdStatusCallback user_cb, |
1581 | | const std::string &db_stream_id, |
1582 | | std::vector<pair<std::string, std::string>> *db_stream_info, |
1583 | | CoarseTimePoint deadline) |
1584 | | : ClientMasterRpc(client, deadline), |
1585 | | user_cb_(std::move(user_cb)), |
1586 | | db_stream_id_(db_stream_id), |
1587 | 0 | db_stream_info_(DCHECK_NOTNULL(db_stream_info)) { |
1588 | 0 | req_.set_db_stream_id(db_stream_id_); |
1589 | 0 | } |
1590 | | |
1591 | 0 | void GetCDCDBStreamInfoRpc::CallRemoteMethod() { |
1592 | 0 | master_replication_proxy()->GetCDCDBStreamInfoAsync( |
1593 | 0 | req_, &resp_, mutable_retrier()->mutable_controller(), |
1594 | 0 | std::bind(&GetCDCDBStreamInfoRpc::Finished, this, Status::OK())); |
1595 | 0 | } |
1596 | | |
1597 | 0 | string GetCDCDBStreamInfoRpc::ToString() const { |
1598 | 0 | return Substitute("GetCDCDBStreamInfo(db_stream_id: $0, num_attempts: $1)", |
1599 | 0 | db_stream_id_, num_attempts()); |
1600 | 0 | } |
1601 | | |
1602 | 0 | void GetCDCDBStreamInfoRpc::ProcessResponse(const Status& status) { |
1603 | 0 | if (!status.ok()) { |
1604 | 0 | LOG(WARNING) << ToString() << " failed: " << status.ToString(); |
1605 | 0 | } else { |
1606 | 0 | db_stream_info_->clear(); |
1607 | 0 | db_stream_info_->reserve(resp_.table_info_size()); |
1608 | 0 | for (const auto& table_info : resp_.table_info()) { |
1609 | 0 | db_stream_info_->push_back(std::make_pair(table_info.stream_id(), table_info.table_id())); |
1610 | 0 | } |
1611 | 0 | } |
1612 | 0 | user_cb_(status); |
1613 | 0 | } |
1614 | | |
1615 | | class GetCDCStreamRpc : public ClientMasterRpc<GetCDCStreamRequestPB, GetCDCStreamResponsePB> { |
1616 | | public: |
1617 | | GetCDCStreamRpc(YBClient* client, |
1618 | | StdStatusCallback user_cb, |
1619 | | const CDCStreamId& stream_id, |
1620 | | ObjectId* object_id, |
1621 | | std::unordered_map<std::string, std::string>* options, |
1622 | | CoarseTimePoint deadline); |
1623 | | |
1624 | | std::string ToString() const override; |
1625 | | |
1626 | | virtual ~GetCDCStreamRpc(); |
1627 | | |
1628 | | private: |
1629 | | void CallRemoteMethod() override; |
1630 | | void ProcessResponse(const Status& status) override; |
1631 | | |
1632 | | StdStatusCallback user_cb_; |
1633 | | std::string stream_id_; |
1634 | | ObjectId* object_id_; |
1635 | | std::unordered_map<std::string, std::string>* options_; |
1636 | | }; |
1637 | | |
1638 | | GetCDCStreamRpc::GetCDCStreamRpc(YBClient* client, |
1639 | | StdStatusCallback user_cb, |
1640 | | const CDCStreamId& stream_id, |
1641 | | TableId* object_id, |
1642 | | std::unordered_map<std::string, std::string>* options, |
1643 | | CoarseTimePoint deadline) |
1644 | | : ClientMasterRpc(client, deadline), |
1645 | | user_cb_(std::move(user_cb)), |
1646 | | stream_id_(stream_id), |
1647 | | object_id_(DCHECK_NOTNULL(object_id)), |
1648 | 0 | options_(DCHECK_NOTNULL(options)) { |
1649 | 0 | req_.set_stream_id(stream_id_); |
1650 | 0 | } |
1651 | | |
1652 | 0 | GetCDCStreamRpc::~GetCDCStreamRpc() { |
1653 | 0 | } |
1654 | | |
1655 | 0 | void GetCDCStreamRpc::CallRemoteMethod() { |
1656 | 0 | master_replication_proxy()->GetCDCStreamAsync( |
1657 | 0 | req_, &resp_, mutable_retrier()->mutable_controller(), |
1658 | 0 | std::bind(&GetCDCStreamRpc::Finished, this, Status::OK())); |
1659 | 0 | } |
1660 | | |
1661 | 0 | string GetCDCStreamRpc::ToString() const { |
1662 | 0 | return Substitute("GetCDCStream(stream_id: $0, num_attempts: $1)", |
1663 | 0 | stream_id_, num_attempts()); |
1664 | 0 | } |
1665 | | |
1666 | 0 | void GetCDCStreamRpc::ProcessResponse(const Status& status) { |
1667 | 0 | if (!status.ok()) { |
1668 | 0 | LOG(WARNING) << ToString() << " failed: " << status.ToString(); |
1669 | 0 | } else { |
1670 | 0 | if (resp_.stream().has_namespace_id()) { |
1671 | 0 | *object_id_ = resp_.stream().namespace_id(); |
1672 | 0 | } else { |
1673 | 0 | *object_id_ = resp_.stream().table_id().Get(0); |
1674 | 0 | } |
1675 | |
|
1676 | 0 | options_->clear(); |
1677 | 0 | options_->reserve(resp_.stream().options_size()); |
1678 | 0 | for (const auto& option : resp_.stream().options()) { |
1679 | 0 | options_->emplace(option.key(), option.value()); |
1680 | 0 | } |
1681 | 0 | } |
1682 | 0 | user_cb_(status); |
1683 | 0 | } |
1684 | | |
1685 | | class DeleteNotServingTabletRpc |
1686 | | : public ClientMasterRpc< |
1687 | | master::DeleteNotServingTabletRequestPB, master::DeleteNotServingTabletResponsePB> { |
1688 | | public: |
1689 | | DeleteNotServingTabletRpc( |
1690 | | YBClient* client, |
1691 | | const TabletId& tablet_id, |
1692 | | StdStatusCallback user_cb, |
1693 | | CoarseTimePoint deadline) |
1694 | | : ClientMasterRpc(client, deadline), |
1695 | 8 | user_cb_(std::move(user_cb)) { |
1696 | 8 | req_.set_tablet_id(tablet_id); |
1697 | 8 | } |
1698 | | |
1699 | 2 | std::string ToString() const override { |
1700 | 2 | return Format( |
1701 | 2 | "DeleteNotServingTabletRpc(tablet_id: $0, num_attempts: $1)", req_.tablet_id(), |
1702 | 2 | num_attempts()); |
1703 | 2 | } |
1704 | | |
1705 | 8 | virtual ~DeleteNotServingTabletRpc() = default; |
1706 | | |
1707 | | private: |
1708 | 8 | void CallRemoteMethod() override { |
1709 | 8 | master_admin_proxy()->DeleteNotServingTabletAsync( |
1710 | 8 | req_, &resp_, mutable_retrier()->mutable_controller(), |
1711 | 8 | std::bind(&DeleteNotServingTabletRpc::Finished, this, Status::OK())); |
1712 | 8 | } |
1713 | | |
1714 | 8 | void ProcessResponse(const Status& status) override { |
1715 | 8 | if (!status.ok()) { |
1716 | 1 | LOG(WARNING) << ToString() << " failed: " << status.ToString(); |
1717 | 1 | } |
1718 | 8 | user_cb_(status); |
1719 | 8 | } |
1720 | | |
1721 | | StdStatusCallback user_cb_; |
1722 | | }; |
1723 | | |
1724 | | class GetTableLocationsRpc |
1725 | | : public ClientMasterRpc< |
1726 | | master::GetTableLocationsRequestPB, master::GetTableLocationsResponsePB> { |
1727 | | public: |
1728 | | GetTableLocationsRpc( |
1729 | | YBClient* client, const TableId& table_id, int32_t max_tablets, |
1730 | | RequireTabletsRunning require_tablets_running, GetTableLocationsCallback user_cb, |
1731 | | CoarseTimePoint deadline) |
1732 | 85.4k | : ClientMasterRpc(client, deadline), user_cb_(std::move(user_cb)) { |
1733 | 85.4k | req_.mutable_table()->set_table_id(table_id); |
1734 | 85.4k | req_.set_max_returned_locations(max_tablets); |
1735 | 85.4k | req_.set_require_tablets_running(require_tablets_running); |
1736 | 85.4k | } |
1737 | | |
1738 | 8.92k | std::string ToString() const override { |
1739 | 8.92k | return Format( |
1740 | 8.92k | "GetTableLocationsRpc(table_id: $0, max_tablets: $1, require_tablets_running: $2, " |
1741 | 8.92k | "num_attempts: $3)", req_.table().table_id(), req_.max_returned_locations(), |
1742 | 8.92k | req_.require_tablets_running(), num_attempts()); |
1743 | 8.92k | } |
1744 | | |
1745 | 85.5k | virtual ~GetTableLocationsRpc() = default; |
1746 | | |
1747 | | private: |
1748 | 94.1k | void CallRemoteMethod() override { |
1749 | 94.1k | master_client_proxy()->GetTableLocationsAsync( |
1750 | 94.1k | req_, &resp_, mutable_retrier()->mutable_controller(), |
1751 | 94.1k | std::bind(&GetTableLocationsRpc::Finished, this, Status::OK())); |
1752 | 94.1k | } |
1753 | | |
1754 | 94.1k | bool ShouldRetry(const Status& status) override { |
1755 | 94.1k | if (status.IsShutdownInProgress() || status.IsNotFound() || status.IsAborted()) { |
1756 | | // Return without retry in case of permanent errors. |
1757 | | // We can get: |
1758 | | // - ShutdownInProgress when catalog manager is in process of shutting down. |
1759 | | // - Aborted when client is shutting down. |
1760 | | // - NotFound when table has been deleted. |
1761 | 43 | LOG(WARNING) << ToString() << " failed: " << status; |
1762 | 43 | return false; |
1763 | 43 | } |
1764 | 94.0k | if (!status.ok()) { |
1765 | 8.67k | YB_LOG_EVERY_N_SECS(WARNING, 10) |
1766 | 174 | << ToString() << ": error getting table locations: " << status << ", retrying."; |
1767 | 8.67k | return true; |
1768 | 8.67k | } |
1769 | 85.4k | if (resp_.tablet_locations_size() > 0) { |
1770 | 85.4k | return false; |
1771 | 85.4k | } |
1772 | | |
1773 | 18.4E | YB_LOG_EVERY_N_SECS(WARNING, 10) << ToString() << ": got zero table locations, retrying."; |
1774 | 18.4E | return true; |
1775 | 18.4E | } |
1776 | | |
1777 | 85.5k | void ProcessResponse(const Status& status) override { |
1778 | 85.5k | if (status.ok()) { |
1779 | 85.4k | user_cb_(&resp_); |
1780 | 43 | } else { |
1781 | 43 | user_cb_(status); |
1782 | 43 | } |
1783 | 85.5k | } |
1784 | | |
1785 | | GetTableLocationsCallback user_cb_; |
1786 | | }; |
1787 | | |
1788 | | } // namespace internal |
1789 | | |
1790 | | Status YBClient::Data::GetTableSchema(YBClient* client, |
1791 | | const YBTableName& table_name, |
1792 | | CoarseTimePoint deadline, |
1793 | 48.2k | YBTableInfo* info) { |
1794 | 48.2k | Synchronizer sync; |
1795 | 48.2k | auto rpc = StartRpc<GetTableSchemaRpc>( |
1796 | 48.2k | client, |
1797 | 48.2k | sync.AsStatusCallback(), |
1798 | 48.2k | table_name, |
1799 | 48.2k | info, |
1800 | 48.2k | deadline); |
1801 | 48.2k | return sync.Wait(); |
1802 | 48.2k | } |
1803 | | |
1804 | | Status YBClient::Data::GetTableSchema(YBClient* client, |
1805 | | const TableId& table_id, |
1806 | | CoarseTimePoint deadline, |
1807 | | YBTableInfo* info, |
1808 | 41.6k | master::GetTableSchemaResponsePB* resp) { |
1809 | 41.6k | Synchronizer sync; |
1810 | 41.6k | auto rpc = StartRpc<GetTableSchemaRpc>( |
1811 | 41.6k | client, |
1812 | 41.6k | sync.AsStatusCallback(), |
1813 | 41.6k | table_id, |
1814 | 41.6k | info, |
1815 | 41.6k | deadline, |
1816 | 41.6k | resp); |
1817 | 41.6k | return sync.Wait(); |
1818 | 41.6k | } |
1819 | | |
1820 | | Status YBClient::Data::GetTableSchemaById(YBClient* client, |
1821 | | const TableId& table_id, |
1822 | | CoarseTimePoint deadline, |
1823 | | std::shared_ptr<YBTableInfo> info, |
1824 | 0 | StatusCallback callback) { |
1825 | 0 | auto rpc = StartRpc<GetTableSchemaRpc>( |
1826 | 0 | client, |
1827 | 0 | callback, |
1828 | 0 | table_id, |
1829 | 0 | info.get(), |
1830 | 0 | deadline, |
1831 | 0 | nullptr); |
1832 | 0 | return Status::OK(); |
1833 | 0 | } |
1834 | | |
1835 | | Status YBClient::Data::GetTablegroupSchemaById( |
1836 | | YBClient* client, |
1837 | | const TablegroupId& parent_tablegroup_table_id, |
1838 | | CoarseTimePoint deadline, |
1839 | | std::shared_ptr<std::vector<YBTableInfo>> info, |
1840 | 0 | StatusCallback callback) { |
1841 | 0 | auto rpc = StartRpc<GetTablegroupSchemaRpc>( |
1842 | 0 | client, |
1843 | 0 | callback, |
1844 | 0 | parent_tablegroup_table_id, |
1845 | 0 | info.get(), |
1846 | 0 | deadline); |
1847 | 0 | return Status::OK(); |
1848 | 0 | } |
1849 | | |
1850 | | Status YBClient::Data::GetColocatedTabletSchemaById( |
1851 | | YBClient* client, |
1852 | | const TableId& parent_colocated_table_id, |
1853 | | CoarseTimePoint deadline, |
1854 | | std::shared_ptr<std::vector<YBTableInfo>> info, |
1855 | 0 | StatusCallback callback) { |
1856 | 0 | auto rpc = StartRpc<GetColocatedTabletSchemaRpc>( |
1857 | 0 | client, |
1858 | 0 | callback, |
1859 | 0 | parent_colocated_table_id, |
1860 | 0 | info.get(), |
1861 | 0 | deadline); |
1862 | 0 | return Status::OK(); |
1863 | 0 | } |
1864 | | |
1865 | | Result<IndexPermissions> YBClient::Data::GetIndexPermissions( |
1866 | | YBClient* client, |
1867 | | const TableId& table_id, |
1868 | | const TableId& index_id, |
1869 | 434 | const CoarseTimePoint deadline) { |
1870 | 434 | YBTableInfo yb_table_info; |
1871 | | |
1872 | 434 | RETURN_NOT_OK(GetTableSchema(client, |
1873 | 434 | table_id, |
1874 | 434 | deadline, |
1875 | 434 | &yb_table_info)); |
1876 | | |
1877 | 434 | const IndexInfo* index_info = VERIFY_RESULT(yb_table_info.index_map.FindIndex(index_id)); |
1878 | 171 | return index_info->index_permissions(); |
1879 | 434 | } |
1880 | | |
1881 | | Result<IndexPermissions> YBClient::Data::GetIndexPermissions( |
1882 | | YBClient* client, |
1883 | | const YBTableName& table_name, |
1884 | | const TableId& index_id, |
1885 | 862 | const CoarseTimePoint deadline) { |
1886 | 862 | YBTableInfo yb_table_info; |
1887 | | |
1888 | 862 | RETURN_NOT_OK(GetTableSchema(client, |
1889 | 862 | table_name, |
1890 | 862 | deadline, |
1891 | 862 | &yb_table_info)); |
1892 | | |
1893 | 862 | const IndexInfo* index_info = VERIFY_RESULT(yb_table_info.index_map.FindIndex(index_id)); |
1894 | 858 | return index_info->index_permissions(); |
1895 | 862 | } |
1896 | | |
1897 | | Result<IndexPermissions> YBClient::Data::WaitUntilIndexPermissionsAtLeast( |
1898 | | YBClient* client, |
1899 | | const TableId& table_id, |
1900 | | const TableId& index_id, |
1901 | | const IndexPermissions& target_index_permissions, |
1902 | | const CoarseTimePoint deadline, |
1903 | 263 | const CoarseDuration max_wait) { |
1904 | 263 | const bool retry_on_not_found = (target_index_permissions != INDEX_PERM_NOT_USED); |
1905 | 263 | IndexPermissions actual_index_permissions = INDEX_PERM_NOT_USED; |
1906 | 263 | RETURN_NOT_OK(RetryFunc( |
1907 | 263 | deadline, |
1908 | 263 | "Waiting for index to have desired permissions", |
1909 | 263 | "Timed out waiting for proper index permissions", |
1910 | 263 | [&](CoarseTimePoint deadline, bool* retry) -> Status { |
1911 | 263 | Result<IndexPermissions> result = GetIndexPermissions(client, table_id, index_id, deadline); |
1912 | 263 | if (!result) { |
1913 | 263 | *retry = retry_on_not_found; |
1914 | 263 | return result.status(); |
1915 | 263 | } |
1916 | 263 | actual_index_permissions = *result; |
1917 | 263 | *retry = actual_index_permissions < target_index_permissions; |
1918 | 263 | return Status::OK(); |
1919 | 263 | }, |
1920 | 263 | max_wait)); |
1921 | | // Now, the index permissions are guaranteed to be at (or beyond) the target. |
1922 | 0 | return actual_index_permissions; |
1923 | 263 | } |
1924 | | |
1925 | | Result<IndexPermissions> YBClient::Data::WaitUntilIndexPermissionsAtLeast( |
1926 | | YBClient* client, |
1927 | | const YBTableName& table_name, |
1928 | | const YBTableName& index_name, |
1929 | | const IndexPermissions& target_index_permissions, |
1930 | | const CoarseTimePoint deadline, |
1931 | 65 | const CoarseDuration max_wait) { |
1932 | 65 | const bool retry_on_not_found = (target_index_permissions != INDEX_PERM_NOT_USED); |
1933 | 65 | IndexPermissions actual_index_permissions = INDEX_PERM_NOT_USED; |
1934 | 65 | YBTableInfo yb_index_info; |
1935 | 65 | RETURN_NOT_OK(RetryFunc( |
1936 | 65 | deadline, |
1937 | 65 | "Waiting for index table schema", |
1938 | 65 | "Timed out waiting for index table schema", |
1939 | 65 | [&](CoarseTimePoint deadline, bool* retry) -> Status { |
1940 | 65 | Status status = GetTableSchema(client, |
1941 | 65 | index_name, |
1942 | 65 | deadline, |
1943 | 65 | &yb_index_info); |
1944 | 65 | if (!status.ok()) { |
1945 | 65 | *retry = retry_on_not_found; |
1946 | 65 | return status; |
1947 | 65 | } |
1948 | 65 | *retry = false; |
1949 | 65 | return Status::OK(); |
1950 | 65 | }, |
1951 | 65 | max_wait)); |
1952 | 53 | RETURN_NOT_OK(RetryFunc( |
1953 | 53 | deadline, |
1954 | 53 | "Waiting for index to have desired permissions", |
1955 | 53 | "Timed out waiting for proper index permissions", |
1956 | 53 | [&](CoarseTimePoint deadline, bool* retry) -> Status { |
1957 | 53 | Result<IndexPermissions> result = GetIndexPermissions( |
1958 | 53 | client, |
1959 | 53 | table_name, |
1960 | 53 | yb_index_info.table_id, |
1961 | 53 | deadline); |
1962 | 53 | if (!result) { |
1963 | 53 | *retry = retry_on_not_found; |
1964 | 53 | return result.status(); |
1965 | 53 | } |
1966 | 53 | actual_index_permissions = *result; |
1967 | 53 | *retry = actual_index_permissions < target_index_permissions; |
1968 | 53 | return Status::OK(); |
1969 | 53 | }, |
1970 | 53 | max_wait)); |
1971 | | // Now, the index permissions are guaranteed to be at (or beyond) the target. |
1972 | 49 | return actual_index_permissions; |
1973 | 53 | } |
1974 | | |
1975 | | void YBClient::Data::CreateCDCStream(YBClient* client, |
1976 | | const TableId& table_id, |
1977 | | const std::unordered_map<std::string, std::string>& options, |
1978 | | CoarseTimePoint deadline, |
1979 | 0 | CreateCDCStreamCallback callback) { |
1980 | 0 | auto rpc = StartRpc<internal::CreateCDCStreamRpc>( |
1981 | 0 | client, callback, table_id, options, deadline); |
1982 | 0 | } |
1983 | | |
1984 | | void YBClient::Data::DeleteCDCStream(YBClient* client, |
1985 | | const CDCStreamId& stream_id, |
1986 | | CoarseTimePoint deadline, |
1987 | 0 | StatusCallback callback) { |
1988 | 0 | auto rpc = StartRpc<internal::DeleteCDCStreamRpc>( |
1989 | 0 | client, callback, stream_id, deadline); |
1990 | 0 | } |
1991 | | |
1992 | | void YBClient::Data::GetCDCDBStreamInfo( |
1993 | | YBClient* client, |
1994 | | const std::string& db_stream_id, |
1995 | | std::shared_ptr<std::vector<pair<std::string, std::string>>> db_stream_info, |
1996 | | CoarseTimePoint deadline, |
1997 | 0 | StdStatusCallback callback) { |
1998 | 0 | auto rpc = StartRpc<internal::GetCDCDBStreamInfoRpc>( |
1999 | 0 | client, callback, db_stream_id, db_stream_info.get(), deadline); |
2000 | 0 | } |
2001 | | |
2002 | | void YBClient::Data::GetCDCStream( |
2003 | | YBClient* client, |
2004 | | const CDCStreamId& stream_id, |
2005 | | std::shared_ptr<ObjectId> object_id, |
2006 | | std::shared_ptr<std::unordered_map<std::string, std::string>> options, |
2007 | | CoarseTimePoint deadline, |
2008 | 0 | StdStatusCallback callback) { |
2009 | 0 | auto rpc = StartRpc<internal::GetCDCStreamRpc>( |
2010 | 0 | client, |
2011 | 0 | callback, |
2012 | 0 | stream_id, |
2013 | 0 | object_id.get(), |
2014 | 0 | options.get(), |
2015 | 0 | deadline); |
2016 | 0 | } |
2017 | | |
2018 | | void YBClient::Data::DeleteNotServingTablet( |
2019 | | YBClient* client, const TabletId& tablet_id, CoarseTimePoint deadline, |
2020 | 8 | StdStatusCallback callback) { |
2021 | 8 | auto rpc = StartRpc<internal::DeleteNotServingTabletRpc>( |
2022 | 8 | client, tablet_id, callback, deadline); |
2023 | 8 | } |
2024 | | |
2025 | | void YBClient::Data::GetTableLocations( |
2026 | | YBClient* client, const TableId& table_id, const int32_t max_tablets, |
2027 | | const RequireTabletsRunning require_tablets_running, const CoarseTimePoint deadline, |
2028 | 85.4k | GetTableLocationsCallback callback) { |
2029 | 85.4k | auto rpc = StartRpc<internal::GetTableLocationsRpc>( |
2030 | 85.4k | client, table_id, max_tablets, require_tablets_running, callback, deadline); |
2031 | 85.4k | } |
2032 | | |
2033 | | void YBClient::Data::LeaderMasterDetermined(const Status& status, |
2034 | 31.1k | const HostPort& host_port) { |
2035 | 18.4E | VLOG(4) << "YBClient: Leader master determined: status=" |
2036 | 18.4E | << status.ToString() << ", host port =" |
2037 | 18.4E | << host_port.ToString(); |
2038 | 31.1k | std::vector<StdStatusCallback> callbacks; |
2039 | 31.1k | { |
2040 | 31.1k | std::lock_guard<simple_spinlock> l(leader_master_lock_); |
2041 | 31.1k | callbacks.swap(leader_master_callbacks_); |
2042 | | |
2043 | 31.1k | if (status.ok()) { |
2044 | 23.3k | leader_master_hostport_ = host_port; |
2045 | 23.3k | master_admin_proxy_ = std::make_shared<master::MasterAdminProxy>( |
2046 | 23.3k | proxy_cache_.get(), host_port); |
2047 | 23.3k | master_client_proxy_ = std::make_shared<master::MasterClientProxy>( |
2048 | 23.3k | proxy_cache_.get(), host_port); |
2049 | 23.3k | master_cluster_proxy_ = std::make_shared<master::MasterClusterProxy>( |
2050 | 23.3k | proxy_cache_.get(), host_port); |
2051 | 23.3k | master_dcl_proxy_ = std::make_shared<master::MasterDclProxy>( |
2052 | 23.3k | proxy_cache_.get(), host_port); |
2053 | 23.3k | master_ddl_proxy_ = std::make_shared<master::MasterDdlProxy>( |
2054 | 23.3k | proxy_cache_.get(), host_port); |
2055 | 23.3k | master_replication_proxy_ = std::make_shared<master::MasterReplicationProxy>( |
2056 | 23.3k | proxy_cache_.get(), host_port); |
2057 | 23.3k | } |
2058 | | |
2059 | 31.1k | rpcs_.Unregister(&leader_master_rpc_); |
2060 | 31.1k | } |
2061 | | |
2062 | 31.1k | for (const auto& callback : callbacks) { |
2063 | 31.1k | callback(status); |
2064 | 31.1k | } |
2065 | 31.1k | } |
2066 | | |
2067 | | Status YBClient::Data::SetMasterServerProxy(CoarseTimePoint deadline, |
2068 | | bool skip_resolution, |
2069 | 31.9k | bool wait_for_leader_election) { |
2070 | | |
2071 | 31.9k | Synchronizer sync; |
2072 | 31.9k | SetMasterServerProxyAsync(deadline, skip_resolution, |
2073 | 31.9k | wait_for_leader_election, sync.AsStdStatusCallback()); |
2074 | 31.9k | return sync.Wait(); |
2075 | 31.9k | } |
2076 | | |
2077 | | void YBClient::Data::SetMasterServerProxyAsync(CoarseTimePoint deadline, |
2078 | | bool skip_resolution, |
2079 | | bool wait_for_leader_election, |
2080 | | const StdStatusCallback& callback) |
2081 | 32.8k | EXCLUDES(leader_master_lock_) { |
2082 | 32.8k | DCHECK(deadline != CoarseTimePoint::max()); |
2083 | | |
2084 | 32.8k | bool was_empty; |
2085 | 32.8k | { |
2086 | 32.8k | std::lock_guard<simple_spinlock> l(leader_master_lock_); |
2087 | 32.8k | was_empty = leader_master_callbacks_.empty(); |
2088 | 32.8k | leader_master_callbacks_.push_back(callback); |
2089 | 32.8k | } |
2090 | | |
2091 | | // It is the first callback, so we should trigger actual action. |
2092 | 32.9k | if (was_empty) { |
2093 | 32.9k | auto functor = std::bind( |
2094 | 32.9k | &Data::DoSetMasterServerProxy, this, deadline, skip_resolution, wait_for_leader_election); |
2095 | 32.9k | auto submit_status = threadpool_->SubmitFunc(functor); |
2096 | 32.9k | if (!submit_status.ok()) { |
2097 | 0 | callback(submit_status); |
2098 | 0 | } |
2099 | 32.9k | } |
2100 | 32.8k | } |
2101 | | |
2102 | | Result<server::MasterAddresses> YBClient::Data::ParseMasterAddresses( |
2103 | 33.0k | const Status& reinit_status) EXCLUDES(master_server_addrs_lock_) { |
2104 | 33.0k | server::MasterAddresses result; |
2105 | 33.0k | std::lock_guard<simple_spinlock> l(master_server_addrs_lock_); |
2106 | 33.0k | if (!reinit_status.ok() && full_master_server_addrs_.empty()) { |
2107 | 1.24k | return reinit_status; |
2108 | 1.24k | } |
2109 | 51.6k | for (const std::string &master_server_addr : full_master_server_addrs_) { |
2110 | 51.6k | std::vector<HostPort> addrs; |
2111 | | // TODO: Do address resolution asynchronously as well. |
2112 | 51.6k | RETURN_NOT_OK(HostPort::ParseStrings(master_server_addr, master::kMasterDefaultPort, &addrs)); |
2113 | 51.6k | if (addrs.empty()) { |
2114 | 0 | return STATUS_FORMAT( |
2115 | 0 | InvalidArgument, |
2116 | 0 | "No master address specified by '$0' (all master server addresses: $1)", |
2117 | 0 | master_server_addr, full_master_server_addrs_); |
2118 | 0 | } |
2119 | | |
2120 | 51.6k | result.push_back(std::move(addrs)); |
2121 | 51.6k | } |
2122 | | |
2123 | 31.8k | return result; |
2124 | 31.8k | } |
2125 | | |
2126 | | void YBClient::Data::DoSetMasterServerProxy(CoarseTimePoint deadline, |
2127 | | bool skip_resolution, |
2128 | 32.9k | bool wait_for_leader_election) { |
2129 | | // Refresh the value of 'master_server_addrs_' if needed. |
2130 | 32.9k | auto master_addrs = ParseMasterAddresses(ReinitializeMasterAddresses()); |
2131 | | |
2132 | 32.9k | if (!master_addrs.ok()) { |
2133 | 1.24k | LeaderMasterDetermined(master_addrs.status(), HostPort()); |
2134 | 1.24k | return; |
2135 | 1.24k | } |
2136 | | |
2137 | | // Finding a new master involves a fan-out RPC to each master. A single |
2138 | | // RPC timeout's worth of time should be sufficient, though we'll use |
2139 | | // the provided deadline if it's sooner. |
2140 | 31.6k | auto leader_master_deadline = CoarseMonoClock::Now() + default_rpc_timeout_; |
2141 | 31.6k | auto actual_deadline = std::min(deadline, leader_master_deadline); |
2142 | | |
2143 | 31.6k | if (skip_resolution && !master_addrs->empty() && !master_addrs->front().empty()) { |
2144 | 2.52k | LeaderMasterDetermined(Status::OK(), master_addrs->front().front()); |
2145 | 2.52k | return; |
2146 | 2.52k | } |
2147 | | |
2148 | 29.1k | rpcs_.Register( |
2149 | 29.1k | std::make_shared<GetLeaderMasterRpc>( |
2150 | 29.1k | Bind(&YBClient::Data::LeaderMasterDetermined, Unretained(this)), |
2151 | 29.1k | *master_addrs, |
2152 | 29.1k | actual_deadline, |
2153 | 29.1k | messenger_, |
2154 | 29.1k | proxy_cache_.get(), |
2155 | 29.1k | &rpcs_, |
2156 | 29.1k | false /*should timeout to follower*/, |
2157 | 29.1k | wait_for_leader_election), |
2158 | 29.1k | &leader_master_rpc_); |
2159 | 29.1k | (**leader_master_rpc_).SendRpc(); |
2160 | 29.1k | } |
2161 | | |
2162 | | // API to clear and reset master addresses, used during master config change. |
2163 | 0 | Status YBClient::Data::SetMasterAddresses(const string& addrs) { |
2164 | 0 | std::lock_guard<simple_spinlock> l(master_server_addrs_lock_); |
2165 | 0 | if (addrs.empty()) { |
2166 | 0 | std::ostringstream out; |
2167 | 0 | out.str("Invalid empty master address cannot be set. Current list is: "); |
2168 | 0 | for (const string& master_server_addr : master_server_addrs_) { |
2169 | 0 | out.str(master_server_addr); |
2170 | 0 | out.str(" "); |
2171 | 0 | } |
2172 | 0 | LOG(ERROR) << out.str(); |
2173 | 0 | return STATUS(InvalidArgument, "master addresses cannot be empty"); |
2174 | 0 | } |
2175 | | |
2176 | 0 | master_server_addrs_.clear(); |
2177 | 0 | master_server_addrs_.push_back(addrs); |
2178 | |
|
2179 | 0 | return Status::OK(); |
2180 | 0 | } |
2181 | | |
2182 | | // Add a given master to the master address list. |
2183 | 0 | Status YBClient::Data::AddMasterAddress(const HostPort& addr) { |
2184 | 0 | std::lock_guard<simple_spinlock> l(master_server_addrs_lock_); |
2185 | 0 | master_server_addrs_.push_back(addr.ToString()); |
2186 | 0 | return Status::OK(); |
2187 | 0 | } |
2188 | | |
2189 | | namespace { |
2190 | | |
2191 | | Result<std::string> ReadMasterAddressesFromFlagFile( |
2192 | 28.1k | const std::string& flag_file_path, const std::string& flag_name) { |
2193 | 28.1k | std::ifstream input_file(flag_file_path); |
2194 | 28.1k | if (!input_file) { |
2195 | 1 | return STATUS_FORMAT(IOError, "Unable to open flag file '$0': $1", |
2196 | 1 | flag_file_path, strerror(errno)); |
2197 | 1 | } |
2198 | 28.1k | std::string line; |
2199 | | |
2200 | 28.1k | std::string master_addrs; |
2201 | 140k | while (input_file.good() && std::getline(input_file, line)) { |
2202 | 112k | const std::string flag_prefix = "--" + flag_name + "="; |
2203 | 112k | if (boost::starts_with(line, flag_prefix)) { |
2204 | 11.5k | master_addrs = line.c_str() + flag_prefix.size(); |
2205 | 11.5k | } |
2206 | 112k | } |
2207 | | |
2208 | 28.1k | if (input_file.bad()) { |
2209 | | // Do not check input_file.fail() here, reaching EOF may set that. |
2210 | 0 | return STATUS_FORMAT(IOError, "Failed reading flag file '$0': $1", |
2211 | 0 | flag_file_path, strerror(errno)); |
2212 | 0 | } |
2213 | 28.1k | return master_addrs; |
2214 | 28.1k | } |
2215 | | |
2216 | | } // anonymous namespace |
2217 | | |
2218 | | // Read the master addresses (from a remote endpoint or a file depending on which is specified), and |
2219 | | // re-initialize the 'master_server_addrs_' variable. |
2220 | 32.8k | Status YBClient::Data::ReinitializeMasterAddresses() { |
2221 | 32.8k | Status result; |
2222 | 32.8k | std::lock_guard<simple_spinlock> l(master_server_addrs_lock_); |
2223 | 32.8k | if (!FLAGS_flagfile.empty() && !skip_master_flagfile_) { |
2224 | 27.6k | LOG(INFO) << "Reinitialize master addresses from file: " << FLAGS_flagfile; |
2225 | 27.6k | auto master_addrs = ReadMasterAddressesFromFlagFile( |
2226 | 27.6k | FLAGS_flagfile, master_address_flag_name_); |
2227 | | |
2228 | 27.6k | if (!master_addrs.ok()) { |
2229 | 1 | LOG(WARNING) << "Failure reading flagfile " << FLAGS_flagfile << ": " |
2230 | 1 | << master_addrs.status(); |
2231 | 1 | result = master_addrs.status(); |
2232 | 27.6k | } else if (master_addrs->empty()) { |
2233 | 16.5k | LOG(WARNING) << "Couldn't find flag " << master_address_flag_name_ << " in flagfile " |
2234 | 16.5k | << FLAGS_flagfile; |
2235 | 11.1k | } else { |
2236 | 11.1k | master_server_addrs_.clear(); |
2237 | 11.1k | master_server_addrs_.push_back(*master_addrs); |
2238 | 11.1k | } |
2239 | 5.22k | } else { |
2240 | 270 | VLOG(1) << "Skipping reinitialize of master addresses, no REST endpoint or file specified"; |
2241 | 5.22k | } |
2242 | 32.8k | full_master_server_addrs_.clear(); |
2243 | 32.9k | for (const auto& address : master_server_addrs_) { |
2244 | 32.9k | if (!address.empty()) { |
2245 | 31.5k | full_master_server_addrs_.push_back(address); |
2246 | 31.5k | } |
2247 | 32.9k | } |
2248 | 18.6k | for (const auto& source : master_address_sources_) { |
2249 | 18.6k | auto current = source(); |
2250 | 18.6k | full_master_server_addrs_.insert( |
2251 | 18.6k | full_master_server_addrs_.end(), current.begin(), current.end()); |
2252 | 18.6k | } |
2253 | 32.8k | LOG(INFO) << "New master addresses: " << AsString(full_master_server_addrs_); |
2254 | | |
2255 | 32.8k | if (full_master_server_addrs_.empty()) { |
2256 | 1.24k | return result.ok() ? STATUS(IllegalState, "Unable to determine master addresses") : result; |
2257 | 1.24k | } |
2258 | 31.6k | return Status::OK(); |
2259 | 31.6k | } |
2260 | | |
2261 | | // Remove a given master from the list of master_server_addrs_. |
2262 | 0 | Status YBClient::Data::RemoveMasterAddress(const HostPort& addr) { |
2263 | |
|
2264 | 0 | { |
2265 | 0 | auto str = addr.ToString(); |
2266 | 0 | std::lock_guard<simple_spinlock> l(master_server_addrs_lock_); |
2267 | 0 | auto it = std::find(master_server_addrs_.begin(), master_server_addrs_.end(), str); |
2268 | 0 | if (it != master_server_addrs_.end()) { |
2269 | 0 | master_server_addrs_.erase(it, it + str.size()); |
2270 | 0 | } |
2271 | 0 | } |
2272 | |
|
2273 | 0 | return Status::OK(); |
2274 | 0 | } |
2275 | | |
2276 | | Status YBClient::Data::SetReplicationInfo( |
2277 | | YBClient* client, const master::ReplicationInfoPB& replication_info, CoarseTimePoint deadline, |
2278 | 8 | bool* retry) { |
2279 | | // If retry was not set, we'll wrap around in a retryable function. |
2280 | 8 | if (!retry) { |
2281 | 4 | return RetryFunc( |
2282 | 4 | deadline, "Other clients changed the config. Retrying.", |
2283 | 4 | "Timed out retrying the config change. Probably too many concurrent attempts.", |
2284 | 4 | std::bind(&YBClient::Data::SetReplicationInfo, this, client, replication_info, _1, _2)); |
2285 | 4 | } |
2286 | | |
2287 | | // Get the current config. |
2288 | 4 | GetMasterClusterConfigRequestPB get_req; |
2289 | 4 | GetMasterClusterConfigResponsePB get_resp; |
2290 | 4 | RETURN_NOT_OK(SyncLeaderMasterRpc( |
2291 | 4 | deadline, get_req, &get_resp, "GetMasterClusterConfig", |
2292 | 4 | &master::MasterClusterProxy::GetMasterClusterConfigAsync)); |
2293 | | |
2294 | 4 | ChangeMasterClusterConfigRequestPB change_req; |
2295 | 4 | ChangeMasterClusterConfigResponsePB change_resp; |
2296 | | |
2297 | | // Update the list with the new replication info. |
2298 | 4 | change_req.mutable_cluster_config()->CopyFrom(get_resp.cluster_config()); |
2299 | 4 | auto new_ri = change_req.mutable_cluster_config()->mutable_replication_info(); |
2300 | 4 | new_ri->CopyFrom(replication_info); |
2301 | | |
2302 | | // Try to update it on the live cluster. |
2303 | 4 | auto status = SyncLeaderMasterRpc( |
2304 | 4 | deadline, change_req, &change_resp, "ChangeMasterClusterConfig", |
2305 | 4 | &master::MasterClusterProxy::ChangeMasterClusterConfigAsync); |
2306 | 4 | if (change_resp.has_error()) { |
2307 | | // Retry on config mismatch. |
2308 | 0 | *retry = change_resp.error().code() == MasterErrorPB::CONFIG_VERSION_MISMATCH; |
2309 | 0 | } |
2310 | 4 | RETURN_NOT_OK(status); |
2311 | 4 | *retry = false; |
2312 | 4 | return Status::OK(); |
2313 | 4 | } |
2314 | | |
2315 | | Status YBClient::Data::ValidateReplicationInfo( |
2316 | 0 | const master::ReplicationInfoPB& replication_info, CoarseTimePoint deadline) { |
2317 | | // Validate the request config. |
2318 | 0 | ValidateReplicationInfoRequestPB req; |
2319 | 0 | ValidateReplicationInfoResponsePB resp; |
2320 | 0 | auto new_ri = req.mutable_replication_info(); |
2321 | 0 | new_ri->CopyFrom(replication_info); |
2322 | 0 | Status status = SyncLeaderMasterRpc( |
2323 | 0 | deadline, req, &resp, "ValidateReplicationInfo", |
2324 | 0 | &master::MasterReplicationProxy::ValidateReplicationInfoAsync); |
2325 | 0 | RETURN_NOT_OK(status); |
2326 | |
|
2327 | 0 | if (resp.has_error()) { |
2328 | 0 | return StatusFromPB(resp.error().status()); |
2329 | 0 | } |
2330 | | |
2331 | 0 | return Status::OK(); |
2332 | 0 | } |
2333 | | |
2334 | 647 | HostPort YBClient::Data::leader_master_hostport() const { |
2335 | 647 | std::lock_guard<simple_spinlock> l(leader_master_lock_); |
2336 | 647 | return leader_master_hostport_; |
2337 | 647 | } |
2338 | | |
2339 | 34 | shared_ptr<master::MasterAdminProxy> YBClient::Data::master_admin_proxy() const { |
2340 | 34 | std::lock_guard<simple_spinlock> l(leader_master_lock_); |
2341 | 34 | return master_admin_proxy_; |
2342 | 34 | } |
2343 | | |
2344 | 156k | shared_ptr<master::MasterClientProxy> YBClient::Data::master_client_proxy() const { |
2345 | 156k | std::lock_guard<simple_spinlock> l(leader_master_lock_); |
2346 | 156k | return master_client_proxy_; |
2347 | 156k | } |
2348 | | |
2349 | 5.32k | shared_ptr<master::MasterClusterProxy> YBClient::Data::master_cluster_proxy() const { |
2350 | 5.32k | std::lock_guard<simple_spinlock> l(leader_master_lock_); |
2351 | 5.32k | return master_cluster_proxy_; |
2352 | 5.32k | } |
2353 | | |
2354 | 120k | shared_ptr<master::MasterDclProxy> YBClient::Data::master_dcl_proxy() const { |
2355 | 120k | std::lock_guard<simple_spinlock> l(leader_master_lock_); |
2356 | 120k | return master_dcl_proxy_; |
2357 | 120k | } |
2358 | | |
2359 | 143k | shared_ptr<master::MasterDdlProxy> YBClient::Data::master_ddl_proxy() const { |
2360 | 143k | std::lock_guard<simple_spinlock> l(leader_master_lock_); |
2361 | 143k | return master_ddl_proxy_; |
2362 | 143k | } |
2363 | | |
2364 | 2.69k | shared_ptr<master::MasterReplicationProxy> YBClient::Data::master_replication_proxy() const { |
2365 | 2.69k | std::lock_guard<simple_spinlock> l(leader_master_lock_); |
2366 | 2.69k | return master_replication_proxy_; |
2367 | 2.69k | } |
2368 | | |
2369 | 0 | uint64_t YBClient::Data::GetLatestObservedHybridTime() const { |
2370 | 0 | return latest_observed_hybrid_time_.Load(); |
2371 | 0 | } |
2372 | | |
2373 | 1.24M | void YBClient::Data::UpdateLatestObservedHybridTime(uint64_t hybrid_time) { |
2374 | 1.24M | latest_observed_hybrid_time_.StoreMax(hybrid_time); |
2375 | 1.24M | } |
2376 | | |
2377 | 11.4k | void YBClient::Data::StartShutdown() { |
2378 | 11.4k | closing_.store(true, std::memory_order_release); |
2379 | 11.4k | } |
2380 | | |
2381 | 0 | bool YBClient::Data::IsMultiMaster() { |
2382 | 0 | std::lock_guard<simple_spinlock> l(master_server_addrs_lock_); |
2383 | 0 | if (full_master_server_addrs_.size() > 1) { |
2384 | 0 | return true; |
2385 | 0 | } |
2386 | | |
2387 | | // For single entry case, first check if it is a list of hosts/ports. |
2388 | 0 | std::vector<HostPort> host_ports; |
2389 | 0 | auto status = HostPort::ParseStrings(full_master_server_addrs_[0], |
2390 | 0 | yb::master::kMasterDefaultPort, |
2391 | 0 | &host_ports); |
2392 | 0 | if (!status.ok()) { |
2393 | | // Will fail ResolveAddresses as well, so log error and return false early. |
2394 | 0 | LOG(WARNING) << "Failure parsing address list: " << full_master_server_addrs_[0] |
2395 | 0 | << ": " << status; |
2396 | 0 | return false; |
2397 | 0 | } |
2398 | 0 | if (host_ports.size() > 1) { |
2399 | 0 | return true; |
2400 | 0 | } |
2401 | | |
2402 | | // If we only have one HostPort, check if it resolves to multiple endpoints. |
2403 | 0 | std::vector<Endpoint> addrs; |
2404 | 0 | status = host_ports[0].ResolveAddresses(&addrs); |
2405 | 0 | return status.ok() && (addrs.size() > 1); |
2406 | 0 | } |
2407 | | |
2408 | 11.4k | void YBClient::Data::CompleteShutdown() { |
2409 | 11.4k | while (running_sync_requests_.load(std::memory_order_acquire)) { |
2410 | 0 | YB_LOG_EVERY_N_SECS(INFO, 5) << "Waiting sync requests to finish"; |
2411 | 0 | std::this_thread::sleep_for(100ms); |
2412 | 0 | } |
2413 | 11.4k | } |
2414 | | |
2415 | | } // namespace client |
2416 | | } // namespace yb |