[ 
https://issues.apache.org/jira/browse/RATIS-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lokesh Jain updated RATIS-751:
------------------------------
    Description: TestStateMachineShutdownWithGrpc fails with assertion error. 
After RATIS-614 getState().getLastAppliedIndex() uses stateMachine's 
lastAppliedIndex. StateMachineWithConditionalWait does not update the 
lastAppliedTermIndex on applyTransaction call leading to test failure.  (was: 
TestStateMachineShutdownWithGrpc fails with assertion error. After RATIS-614 
getState().getLastAppliedIndex() uses stateMachine's lastAppliedIndex. Since 
metadata entries are never applied in the state machine, the test fails with an 
assertion error. 

The test is fixed by making adjustments for metadata entry in the test 
condition.)

> TestStateMachineShutdownWithGrpc fails with AssertionError
> ----------------------------------------------------------
>
>                 Key: RATIS-751
>                 URL: https://issues.apache.org/jira/browse/RATIS-751
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>         Attachments: RATIS-751.001.patch, RATIS-751.002.patch
>
>
> TestStateMachineShutdownWithGrpc fails with assertion error. After RATIS-614 
> getState().getLastAppliedIndex() uses stateMachine's lastAppliedIndex. 
> StateMachineWithConditionalWait does not update the lastAppliedTermIndex on 
> applyTransaction call leading to test failure.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to