You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/10/19 10:34:00 UTC

[jira] [Created] (RATIS-361) Fix the NPE bug in MemoryRaftLog

Tsz Wo Nicholas Sze created RATIS-361:
-----------------------------------------

             Summary: Fix the NPE bug in MemoryRaftLog
                 Key: RATIS-361
                 URL: https://issues.apache.org/jira/browse/RATIS-361
             Project: Ratis
          Issue Type: Bug
          Components: server
            Reporter: Tsz Wo Nicholas Sze


As stated in the TODO in TestStateMachine.testTransactionContextIsPassedBack(), MemoryRaftLog may throw NPE.
{code}
    // TODO: fix and run with in-memory log. It fails with NPE
    // TODO: if change setUseMemory to true
    RaftServerConfigKeys.Log.setUseMemory(properties, false);
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)