新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

Commit dd590f80 authored by shaozhuguang's avatar shaozhuguang

Merge branch 'v2.4.0_qc_sync' into 'v2.4.0_qc' (merge request !301)

fix: data synced with rule does not have rwSet, no printing errors required
--bug=1011363
parents 7d66a402 a7695d46
......@@ -831,8 +831,9 @@ func (r *BlockRuntime) getTxRWSetsByBlock(store protocol.BlockchainStore, chainI
chainId, tx.Payload.TxId, err.Error())
return nil, fmt.Errorf("get txRWset failed, %s", err)
}
if txRWSet == nil { //数据库未找到记录,这不正常,记录日志,初始化空实例
r.log.Errorf("not found rwset data in database by txid=%d, please check database", tx.Payload.TxId)
if txRWSet == nil { //数据库未找到记录,这不正常,记录日志,初始化空实例 // 在配置了同步规则的节点中,会出现
r.log.Warnf("not found rwset data in database by txid=%s, please check if it is correct",
tx.Payload.TxId)
txRWSet = &commonPb.TxRWSet{}
}
txRWSets = append(txRWSets, txRWSet)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment