forked from vesoft-inc/nebula
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[doc] Update doc rc1 (vesoft-inc#1202)
* update doc rc1 * update doc rc1 2 * update doc rc1 3 * update * jie comment * laura
- Loading branch information
Showing
13 changed files
with
114 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ | |
|
||
## 查询语言规则概览 | ||
|
||
> 不熟悉 BNF 可跳过本节 | ||
> 不熟悉 BNF 的读者可跳过本节 | ||
### 总览 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 56 additions & 1 deletion
57
docs/manual-EN/1.overview/2.quick-start/2.trouble-shooting.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,56 @@ | ||
To Be Provided. | ||
# Trouble Shooting | ||
|
||
## graphd config file doesn't register to meta server | ||
|
||
When starting nebula services with the `nebula.service` script, `graphd`, `metad` and `storaged` processes start too fast to make the graphd config file registered into the meta server. The same problem may also occur when restarting. | ||
|
||
If you are using the beta version, start the metad service first, then the storaged and graphd to avoid such problem. We will resolve this problem in the next release. | ||
|
||
Start metad first: | ||
|
||
```bash | ||
nebula> scripts/nebula.service start metad | ||
[INFO] Starting nebula-metad... | ||
[INFO] Done | ||
``` | ||
|
||
Then start storaged and graphd | ||
|
||
```bash | ||
nebula> scripts/nebula.service start storaged | ||
[INFO] Starting nebula-storaged... | ||
[INFO] Done | ||
|
||
nebula> scripts/nebula.service start graphd | ||
[INFO] Starting nebula-graphd... | ||
[INFO] Done | ||
``` | ||
|
||
## Errors thrown when inserting data after tag or edge is created | ||
|
||
This is likely caused by setting the `load_data_interval_secs` value to fetch data from the meta server. Conduct the following steps to resolve: | ||
|
||
If meta has registered, check `load_data_interval_secs` value in console with the following command. | ||
|
||
```ngql | ||
nebula> GET CONFIGS storage:load_data_interval_secs | ||
nebula> GET CONFIGS graph:load_data_interval_secs | ||
``` | ||
|
||
If the value is large, change it to 1s with the following command. | ||
|
||
```ngql | ||
nebula> UPDATE CONFIGS storage:load_data_interval_secs=1 | ||
nebula> UPDATE CONFIGS graph:load_data_interval_secs=1 | ||
``` | ||
|
||
> Note the changes take effect in the next period. | ||
## Errors thrown when executing command in docker | ||
|
||
This is likely caused by the inconsistency between the docker IP and the default listening address (172.17.0.2). Thus we need to change the the latter one. | ||
|
||
1. First run `ifconfig` in container to check your container IP, here we assume your IP is 172.17.0.3. | ||
2. In directory `/usr/local/nebula/etc`, check the config locations of all the IP addresses with the command `grep "172.17.0.2" . -r`. | ||
3. Change all the IPs you find in step 2 to your container IP 172.17.0.3. | ||
4. Restart all the services. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters