-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1732 from kyonRay/release-3.5.0
<doc>(sync): sync code from release-3
- Loading branch information
Showing
10 changed files
with
141 additions
and
98 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 |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# v3.2.3 | ||
|
||
#### 新增 | ||
|
||
* [新增features功能,支持启用特定bug修复和新功能](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3749) | ||
* [新增轻节点获取所有P2P节点信息接口](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3775) | ||
|
||
#### 修改 | ||
|
||
* [修改核心模块日志等级,减少不必要的error与warning日志](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3787) | ||
* [CI检查设置openjdk版本为1.8.0.345](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3783) | ||
* [修改共识节点在区块落后于最高块时,打印日志](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3744) | ||
|
||
#### 修复 | ||
|
||
* [MemoryStorage::getTxsHash 接口加锁,提升稳定性](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3789) | ||
* [迁移3.4.0版本中对keypage的修复](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3702) | ||
* [完善交易池清理失效交易逻辑,提升稳定性](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3774) | ||
* [完善权限getMethodAuth接口参数为不存在合约的情况](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3823) | ||
* [完善轻节点在国密模式下getBlockByNumber接口](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3750) | ||
* [完善轻节点getAbi接口,提升稳定性](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3768) | ||
* [修复清理打包交易逻辑](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3678) | ||
* [修复同步区块可能出现死锁的问题](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3751) | ||
* [修复交易回滚只回滚一层跨合约调用的问题](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3620) | ||
* [修复存在交易池中且未设置为打包的交易可能出现重复打包的问题](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3755) | ||
* [修复共识checkPoint计时未被重置的问题](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3760) | ||
* [修复对时逻辑在初始化时未对比阈值导致区块打包时间非线性的问题](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3776) | ||
* [修复同步区块时长时间锁等待的问题](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/3807) | ||
|
||
#### 升级描述 | ||
|
||
* 升级节点可执行程序 | ||
|
||
效果:修复bug,并带来稳定性、性能的提升 | ||
|
||
操作:停止节点服务,升级节点可执行程序为当前版本,重启节点服务 | ||
|
||
注意事项:推荐逐步替换可执行程序进行灰度升级 | ||
|
||
支持升级的版本:v3.0.0+ | ||
|
||
* 升级链数据版本 | ||
|
||
效果:可使用当前版本的最新特性 | ||
|
||
操作:先完成升级所有节点可执行程序,再参考[文档](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/introduction/change_log/3_2_1.html#id5) | ||
发送交易升级链数据版本至 v3.2.3 | ||
|
||
注意事项:务必备份原节点的所有账本数据,若操作失误造成升级失败,可通过原数据回滚到升级前的状态 | ||
支持升级的版本:v3.0.0+ | ||
|
||
* 组件兼容性 | ||
|
||
请查阅[完整描述](https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/compatibility.html#fisco-bcos-v3-2-2) | ||
|
||
| | 推荐版本 | 最低版本 | 说明 | | ||
|------------|-------------|---------------------|-------------------| | ||
| WeBASE | 3.0.2 | 3.0.2 | | | ||
| WeIdentity | v3.0.0-rc.1 | v3.0.0-rc.1 | | | ||
| Console | 3.2.0 | 3.0.0 | | | ||
| Java SDK | 3.2.2 | 3.0.0 | | | ||
| CPP SDK | 3.2.2 | 3.0.0 | | | ||
| Solidity | 0.8.11 | 最低 0.4.25,最高 0.8.11 | 需根据合约版本下载编译器(控制台) | | ||
| WBC-Liquid | 1.0.0-rc3 | 1.0.0-rc3 | | | ||
|
||
#### 升级方法 | ||
|
||
该操作仅支持将3.x版本升级为本版本,不支持3.0-rc或2.x的升级。 | ||
|
||
##### 查询数据兼容版本号(compatibility_version) | ||
|
||
用[控制台](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/operation_and_maintenance/console/console_commands.html#getsystemconfigbykey) | ||
进行查询,如当前返回的版本为3.0.0 | ||
|
||
``` | ||
[group0]: /apps> getSystemConfigByKey compatibility_version | ||
3.0.0 | ||
``` | ||
|
||
##### 替换节点二进制 | ||
|
||
需将**所有节点** | ||
的二进制逐步替换为当前版本。为了不影响业务,替换过程能够以灰度方式进行,逐个替换并重启节点。替换过程中,当前的链仍然会以旧的数据兼容版本号的逻辑继续执行。当所有节点二进制替换完成并重启后,需用控制台修改数据兼容版本号为当前版本。 | ||
|
||
##### 设置数据兼容版本号(compatibility_version) | ||
|
||
用[控制台](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/operation_and_maintenance/console/console_commands.html#setsystemconfigbykey) | ||
设置数据兼容版本号,如当前版本为3.2.0。 | ||
|
||
``` | ||
[group0]: /apps> setSystemConfigByKey compatibility_version 3.2.0 | ||
{ | ||
"code":0, | ||
"msg":"success" | ||
} | ||
注:若开启权限治理功能,需要使用 setSysConfigProposal 命令 | ||
``` | ||
|
||
设置成功,再次查询,得到当前版本已升级为3.2.0 | ||
|
||
``` | ||
[group0]: /apps> getSystemConfigByKey compatibility_version | ||
3.2.0 | ||
``` | ||
|
||
当前链已经完成升级,至此,**链开始以新的逻辑继续运行**,并支持了新的特性。 | ||
|
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
Oops, something went wrong.