Skip to content

Commit

Permalink
Update FAQ document about service fake death
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojiaxu3 committed Sep 13, 2023
1 parent 371317c commit 5a8030b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions docs/content/faq/_index.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ Mesos 相关请参考 [Apache Mesos](https://mesos.apache.org/)。
例如:

1. 指定网卡 eno1:`-Delasticjob.preferred.network.interface=eno1`
2. 指定IP地址 192.168.0.100:`-Delasticjob.preferred.network.ip=192.168.0.100`
3. 泛指IP地址(正则表达式) 192.168.*`-Delasticjob.preferred.network.ip=192.168.*`
1. 指定IP地址 192.168.0.100:`-Delasticjob.preferred.network.ip=192.168.0.100`
1. 泛指IP地址(正则表达式) 192.168.*`-Delasticjob.preferred.network.ip=192.168.*`

## 15. zk授权升级,在滚动部署过程中出现实例假死,回退到历史版本也依然存在假死。

Expand All @@ -147,5 +147,4 @@ xxxx-07-27 22:33:55.224 [DEBUG] [localhost-startStop-1-EventThread] [] [] [] - o
解决方案:

1.如果您在升级的过程中出现回退历史版本也依然假死的问题,建议删除zk上所有作业目录,之后再重启历史版本。
2.计算出合理的作业执行间隙,比如晚上21:00-21:30作业不会触发,在此期间先将实例全部停止,然后将带密码的版本全部部署上线。

2.计算出合理的作业执行间隙,比如晚上21:00-21:30作业不会触发,在此期间先将实例全部停止,然后将带密码的版本全部部署上线。
6 changes: 3 additions & 3 deletions docs/content/faq/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ You may specify interface by system property `elasticjob.preferred.network.inter
For example

1. specify the interface eno1: `-Delasticjob.preferred.network.interface=eno1`.
2. specify network addresses, 192.168.0.100: `-Delasticjob.preferred.network.ip=192.168.0.100`.
3. specify network addresses for regular expressions, 192.168.*: `-Delasticjob.preferred.network.ip=192.168.*`.
1. specify network addresses, 192.168.0.100: `-Delasticjob.preferred.network.ip=192.168.0.100`.
1. specify network addresses for regular expressions, 192.168.*: `-Delasticjob.preferred.network.ip=192.168.*`.

## 15. During the zk authorization upgrade process, there was a false death of the instance during the rolling deployment process, and even if the historical version was rolled back, there was still false death.

Expand All @@ -144,4 +144,4 @@ xxxx-07-27 22:33:55.224 [DEBUG] [localhost-startStop-1-EventThread] [] [] [] - o
```

1.If you encounter the issue of returning to the historical version and still pretending to be dead during the upgrade process, it is recommended to delete all job directories on zk and restart the historical version afterwards.
2.Calculate a reasonable job execution gap, such as when the job will not trigger from 21:00 to 21:30 in the evening. During this period, first stop all instances, and then deploy all versions with passwords online.
2.Calculate a reasonable job execution gap, such as when the job will not trigger from 21:00 to 21:30 in the evening. During this period, first stop all instances, and then deploy all versions with passwords online.

0 comments on commit 5a8030b

Please sign in to comment.