Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开启zone后,写入数据报RPC failure #253

Closed
jinyingsunny opened this issue Aug 28, 2023 · 2 comments
Closed

开启zone后,写入数据报RPC failure #253

jinyingsunny opened this issue Aug 28, 2023 · 2 comments
Assignees
Labels
affects/none PR/issue: this bug affects none version. process/done Process of bug severity/none Severity of bug type/bug Type: something is unexpected

Comments

@jinyingsunny
Copy link

jinyingsunny commented Aug 28, 2023

as title

(root@nebula) [baske3]> insert vertex player(name,age) values 1:("Tim Duncan", 42);
[ERROR (-1005)]: Storage Error: RPC failure, probably timeout.

Mon, 28 Aug 2023 14:30:18 CST

(root@nebula) [baske3]> show hosts storage
+-------------------------------------------------------------------------------+------+----------+-----------+--------------+----------------+
| Host                                                                          | Port | Status   | Role      | Git Info Sha | Version        |
+-------------------------------------------------------------------------------+------+----------+-----------+--------------+----------------+
| "nebulazone-storaged-0.nebulazone-storaged-headless.nebula.svc.cluster.local" | 9779 | "ONLINE" | "STORAGE" | "f657849"    | "3.5.0-sc-ent" |
| "nebulazone-storaged-1.nebulazone-storaged-headless.nebula.svc.cluster.local" | 9779 | "ONLINE" | "STORAGE" | "f657849"    | "3.5.0-sc-ent" |
| "nebulazone-storaged-2.nebulazone-storaged-headless.nebula.svc.cluster.local" | 9779 | "ONLINE" | "STORAGE" | "f657849"    | "3.5.0-sc-ent" |
+-------------------------------------------------------------------------------+------+----------+-----------+--------------+----------------+
Got 3 rows (time spent 2390/3358 us)

Mon, 28 Aug 2023 14:35:02 CST

(root@nebula) [baske3]> show hosts meta
+-------------------------------------------------------------------------+------+----------+--------+--------------+----------------+
| Host                                                                    | Port | Status   | Role   | Git Info Sha | Version        |
+-------------------------------------------------------------------------+------+----------+--------+--------------+----------------+
| "nebulazone-metad-0.nebulazone-metad-headless.nebula.svc.cluster.local" | 9559 | "ONLINE" | "META" | "f657849"    | "3.5.0-sc-ent" |
+-------------------------------------------------------------------------+------+----------+--------+--------------+----------------+
Got 1 rows (time spent 1644/2413 us)

Mon, 28 Aug 2023 14:35:06 CST

(root@nebula) [baske3]> show hosts graph
+----------------------------------------------------------------------+------+----------+---------+--------------+----------------+
| Host                                                                 | Port | Status   | Role    | Git Info Sha | Version        |
+----------------------------------------------------------------------+------+----------+---------+--------------+----------------+
| "nebulazone-graphd-0.nebulazone-graphd-svc.nebula.svc.cluster.local" | 9669 | "ONLINE" | "GRAPH" | "f657849"    | "3.5.0-sc-ent" |
| "nebulazone-graphd-1.nebulazone-graphd-svc.nebula.svc.cluster.local" | 9669 | "ONLINE" | "GRAPH" | "f657849"    | "3.5.0-sc-ent" |
| "nebulazone-graphd-2.nebulazone-graphd-svc.nebula.svc.cluster.local" | 9669 | "ONLINE" | "GRAPH" | "f657849"    | "3.5.0-sc-ent" |
+----------------------------------------------------------------------+------+----------+---------+--------------+----------------+
Got 3 rows (time spent 1920/2882 us)

Mon, 28 Aug 2023 14:35:09 CST

graph的日志如下:

I20230828 07:49:29.916139    24 GraphSessionManager.cpp:40] Find session from cache: 1693203638553419
I20230828 07:49:29.916244    24 ClientSession.cpp:43] Add query: insert vertex player(name,age) values "player100":("Tim Duncan", 42); , epId: 51
I20230828 07:49:29.916250    24 QueryInstance.cpp:96] Parsing query: insert vertex player(name,age) values "player100":("Tim Duncan", 42);
I20230828 07:49:29.916400    24 Symbols.cpp:48] New variable for: __Start_0
I20230828 07:49:29.916409    24 PlanNode.cpp:27] New variable: __Start_0
I20230828 07:49:29.916416    24 Validator.cpp:380] Space chosen, name: baske33 id: 5
I20230828 07:49:29.916453    24 Symbols.cpp:48] New variable for: __InsertVertices_1
I20230828 07:49:29.916456    24 PlanNode.cpp:27] New variable: __InsertVertices_1
I20230828 07:49:29.916462    24 Validator.cpp:446] root: InsertVertices tail: Start
I20230828 07:49:29.916817    37 ThriftClientManager-inl.h:38] Invalid Channel: 0x7f91525b8500 for host: "":0
I20230828 07:49:29.916841    37 ThriftClientManager-inl.h:53] There is no existing client to "":0, trying to create one
E20230828 07:49:29.917053    37 ThriftClientManager-inl.h:70] Failed to resolve address for '': Name or service not known (error=-2): Unknown error -2
I20230828 07:49:29.917068    37 ThriftClientManager-inl.h:74] Connecting to "":0 for 1 times
E20230828 07:49:29.917256    37 StorageClientBase-inl.h:227] Request to "":0 failed: Connection not open: apache::thrift::transport::TTransportException: AsyncSocketException: setReadCallback() called with socket in invalid state, type = Socket not open
E20230828 07:49:29.917307    24 StorageClientBase-inl.h:143] There some RPC errors: RPC failure in StorageClient: Connection not open: apache::thrift::transport::TTransportException: AsyncSocketException: setReadCallback() called with socket in invalid state, type = Socket not open
I20230828 07:49:29.917328    24 InsertExecutor.cpp:36] Add vertices time: 634us
E20230828 07:49:29.917343    25 StorageAccessExecutor.h:48] InsertVerticesExecutor failed, error E_RPC_FAILURE, part 5
E20230828 07:49:29.917428    25 QueryInstance.cpp:187] Storage Error: RPC failure, probably timeout., query: insert vertex player(name,age) values "player100":("Tim Duncan", 42);

Your Environments (required)

operator:reg.vesoft-inc.com/cloud-dev/nebula-operator:snap-1.8
nebula-ent: reg.vesoft-inc.com/rc/nebula-storaged-ent:v3.5.0-sc

How To Reproduce(required)

1.3graph,3storage,1meta集群
2.创建3副本的space: create space baske3(partition_num=12,replica_factor=3,vid_type=int);
3.create tag player(name string,age int);
4.insert vertex player(name,age) values 1:("Tim Duncan", 42);

Expected behavior
insert succeed

@jinyingsunny jinyingsunny added the type/bug Type: something is unexpected label Aug 28, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Aug 28, 2023
@jinyingsunny
Copy link
Author

补充:
在虚拟机上进行模拟,graph的配置中增加zone设置,插入数据是成功的:比如:--assigned_zone=az3
image

@jinyingsunny
Copy link
Author

是graphd上的 --assigned_zone没有传入
已解决,已验证;

@jinyingsunny jinyingsunny added the process/done Process of bug label Sep 13, 2023
@github-actions github-actions bot added process/fixed Process of bug and removed process/fixed Process of bug labels Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. process/done Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

2 participants