[ 
https://issues.apache.org/jira/browse/CASSANDRA-13363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119377#comment-16119377
 ] 

ASF GitHub Bot commented on CASSANDRA-13363:
--------------------------------------------

GitHub user johnyannj opened a pull request:

    https://github.com/apache/cassandra/pull/137

    CASSANDRA-13363/CASSANDRA-12435 fix index flag before not be consistent 
with follow data content

    fix CASSANDRA-13363/CASSANDRA-12435
    
    when the command will be executed by local node and target node.
    the command.index will be reload by local thread.
    
    when code reach indexFlag(command.index.isPresent())  is false
    but reach if (command.index.isPresent()) , it is changed to true, because 
the "command.index" has been loaded by local execute thread.
    
    the command.index can be reload by target node, so it's serialize is 
optional。 but the flag must be consistent with follow data content.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/johnyannj/cassandra johnyannj-patch-fix-13363

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cassandra/pull/137.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #137
    
----
commit 5050ff51b1f62fe7a678be01f79ff962a0fd6caa
Author: zhaoyan <zhao...@zhaoyanblog.com>
Date:   2017-08-09T02:35:46Z

    Update ReadCommand.java
    
    fix CASSANDRA-13363/CASSANDRA-12435
    
    when the command will be executed by local node and target node.
    the command.index will be reload by local thread.
    
    when code reach indexFlag(command.index.isPresent())  is false
    but reach if (command.index.isPresent()) , it is changed to true, because 
the "command.index" has been loaded by local execute thread.
    
    the command.index can be reload by target node, so it's serialize is 
optional。 but the flag must be consistent with follow data content.

----


> java.lang.ArrayIndexOutOfBoundsException: null
> ----------------------------------------------
>
>                 Key: CASSANDRA-13363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13363
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: CentOS 6, Cassandra 3.10
>            Reporter: Artem Rokhin
>            Priority: Critical
>
> Constantly see this error in the log without any additional information or a 
> stack trace.
> {code}
> Exception in thread Thread[MessagingService-Incoming-/10.0.1.26,5,main]
> {code}
> {code}
> java.lang.ArrayIndexOutOfBoundsException: null
> {code}
> Logger: org.apache.cassandra.service.CassandraDaemon
> Thrdead: MessagingService-Incoming-/10.0.1.12
> Method: uncaughtException
> File: CassandraDaemon.java
> Line: 229



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to