Skip to content

[IOTDB-5729] Fix RatisConsensus ResponseMessage conversion error#9452

Merged
OneSizeFitsQuorum merged 1 commit intoapache:masterfrom
SzyWilliam:jira5729
Mar 26, 2023
Merged

[IOTDB-5729] Fix RatisConsensus ResponseMessage conversion error#9452
OneSizeFitsQuorum merged 1 commit intoapache:masterfrom
SzyWilliam:jira5729

Conversation

@SzyWilliam
Copy link
Member

An error occurred during a recent run:

org.apache.iotdb.rpc.StatementExecutionException: 305: 
class org.apache.ratis.protocol.Message$1 cannot be cast to class org.apache.iotdb.consensus.ratis.ResponseMessage 
(org.apache.ratis.protocol.Message$1 and org.apache.iotdb.consensus.ratis.ResponseMessage are in unnamed module of loader 'app')

The error is originated from a incorrect return value in applicationStateMachineProxy.write, see the details in PR.

Copy link
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants