Skip to content

Commit

Permalink
Add caution reminder to don't run 'crust reload sworker' when upgrade…
Browse files Browse the repository at this point in the history
… sworker
  • Loading branch information
wuhaixian1984 committed Jul 12, 2024
1 parent 879833a commit fee97d6
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/page-sworkerVersion/src/md/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ Use the following command to check whether the workload is reported successfully

### **2.2.4 sWorker Upgrade**
The upgrade process is a background process, which takes time ranging from 1000s to 10000s. <text style="color: red">**It is strongly recommended to execute the upgrade command manually**</text> to avoid unnecessary errors. If the upgrade is abnormal, <text style="color: red">**do not restart the sworker service, which will cause data loss**</text>.

<text style="color: red">**CAUTION:**</text>
<br>
<text style="color: red">**DO NOT run 'crust reload sworker' command during upgrade, which may cause data loss and then require to re-srd the whole disk.**</text>

<br>
<div style="background: black; font-size: 18px; font-weight:bold; color: white">nohup sudo crust tools sworker-ab-upgrade a61ea2065a26a3f9f1e45ad02d8b2965c377b85ba409f6de7185c485d36dc503 > upgrade.log 2>&1 &</div>
<br>
Expand Down Expand Up @@ -105,6 +110,11 @@ Use the following command to check whether the workload is reported successfully

### **3.1.2 sWorker Upgrade**
The upgrade process is a background process, which takes time ranging from 1000s to 10000s. <text style="color: red">**It is strongly recommended to execute the upgrade command manually**</text> to avoid unnecessary errors. If the upgrade is abnormal, <text style="color: red">**do not restart the sworker service, which will cause data loss**</text>.

<text style="color: red">**CAUTION:**</text>
<br>
<text style="color: red">**DO NOT run 'crust reload sworker' command during upgrade, which may cause data loss and then require to re-srd the whole disk.**</text>

<br>
<div style="background: black; font-size: 18px; font-weight:bold; color: white">nohup sudo crust tools sworker-ab-upgrade a61ea2065a26a3f9f1e45ad02d8b2965c377b85ba409f6de7185c485d36dc503 > upgrade.log 2>&1 &</div>
<br>
Expand Down Expand Up @@ -139,6 +149,11 @@ Use the following command to check whether the workload is reported successfully

### **4.1.2 sWorker Upgrade**
The upgrade process is a background process, which takes time ranging from 1000s to 10000s. <text style="color: red">**It is strongly recommended to execute the upgrade command manually**</text> to avoid unnecessary errors. If the upgrade is abnormal, <text style="color: red">**do not restart the sworker service, which will cause data loss**</text>.

<text style="color: red">**CAUTION:**</text>
<br>
<text style="color: red">**DO NOT run 'crust reload sworker' command during upgrade, which may cause data loss and then require to re-srd the whole disk.**</text>

<br>
<div style="background: black; font-size: 18px; font-weight:bold; color: white">nohup sudo crust tools sworker-ab-upgrade 72041ba321cb982168beab2b3994f8b0b83a54e6dafaa95b444a3c273b490fb1 > upgrade.log 2>&1 &</div>
<br>
Expand Down Expand Up @@ -179,6 +194,11 @@ Use the following command to check whether the workload is reported successfully

### **5.1.2 sWorker Upgrade**
The upgrade process is a background process, which takes time ranging from 1000s to 10000s. <text style="color: red">**It is strongly recommended to execute the upgrade command manually**</text> to avoid unnecessary errors. If the upgrade is abnormal, <text style="color: red">**do not restart the sworker service, which will cause data loss**</text>.

<text style="color: red">**CAUTION:**</text>
<br>
<text style="color: red">**DO NOT run 'crust reload sworker' command during upgrade, which may cause data loss and then require to re-srd the whole disk.**</text>

<br>
<div style="background: black; font-size: 18px; font-weight:bold; color: white">nohup sudo crust tools sworker-ab-upgrade 69f72f97fc90b6686e53b64cd0b5325c8c8c8d7eed4ecdaa3827b4ff791694c0 > upgrade.log 2>&1 &</div>
<br>
Expand Down
20 changes: 20 additions & 0 deletions packages/page-sworkerVersion/src/md/basic_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@

升级过程是一个后台进程,耗时在100s-10000s不等,<text style="color: red">**强烈建议手动执行升级命令**</text>,避免出现不必要的错误,如果升级出现异常,<text style="color: red">**切记不能reload sworker服务,以防数据丢失**</text>。

<text style="color: red">**注意:**</text>
<br>
<text style="color: red">**升级期间不要执行'crust reload sworker'操作,这可能会引起数据丢失,从而导致需要重新SRD整个磁盘。**</text>

<br>
<div style="background: black; font-size: 18px; font-weight:bold; color: white">nohup sudo crust tools sworker-ab-upgrade a61ea2065a26a3f9f1e45ad02d8b2965c377b85ba409f6de7185c485d36dc503 > upgrade.log 2>&1 &</div>
<br>

Expand Down Expand Up @@ -109,6 +114,11 @@
<br>

升级过程是一个后台进程,耗时在100s-10000s不等,<text style="color: red">**强烈建议手动执行升级命令**</text>,避免出现不必要的错误,如果升级出现异常,<text style="color: red">**切记不能reload sworker服务,以防数据丢失**</text>。

<text style="color: red">**注意:**</text>
<br>
<text style="color: red">**升级期间不要执行'crust reload sworker'操作,这可能会引起数据丢失,从而导致需要重新SRD整个磁盘。**</text>

<br>
<div style="background: black; font-size: 18px; font-weight:bold; color: white">nohup sudo crust tools sworker-ab-upgrade a61ea2065a26a3f9f1e45ad02d8b2965c377b85ba409f6de7185c485d36dc503 > upgrade.log 2>&1 &</div>
<br>
Expand Down Expand Up @@ -143,6 +153,11 @@
<br>

升级过程是一个后台进程,耗时在100s-10000s不等,<text style="color: red">**强烈建议手动执行升级命令**</text>,避免出现不必要的错误,如果升级出现异常,<text style="color: red">**切记不能reload sworker服务,以防数据丢失**</text>。

<text style="color: red">**注意:**</text>
<br>
<text style="color: red">**升级期间不要执行'crust reload sworker'操作,这可能会引起数据丢失,从而导致需要重新SRD整个磁盘。**</text>

<br>
<div style="background: black; font-size: 18px; font-weight:bold; color: white">nohup sudo crust tools sworker-ab-upgrade 72041ba321cb982168beab2b3994f8b0b83a54e6dafaa95b444a3c273b490fb1 > upgrade.log 2>&1 &</div>
<br>
Expand Down Expand Up @@ -183,6 +198,11 @@ sworker v2.0.0版本支持基于ECDSA的DCAP认证,同时兼容即将过期的
<br>

升级过程是一个后台进程,耗时在100s-10000s不等,<text style="color: red">**强烈建议手动执行升级命令**</text>,避免出现不必要的错误,如果升级出现异常,<text style="color: red">**切记不能reload sworker服务,以防数据丢失**</text>。

<text style="color: red">**注意:**</text>
<br>
<text style="color: red">**升级期间不要执行'crust reload sworker'操作,这可能会引起数据丢失,从而导致需要重新SRD整个磁盘。**</text>

<br>
<div style="background: black; font-size: 18px; font-weight:bold; color: white">nohup sudo crust tools sworker-ab-upgrade 69f72f97fc90b6686e53b64cd0b5325c8c8c8d7eed4ecdaa3827b4ff791694c0 > upgrade.log 2>&1 &</div>
<br>
Expand Down

0 comments on commit fee97d6

Please sign in to comment.