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

Brandon Williams commented on CASSANDRA-685:
--------------------------------------------

Receiving the follow traceback with these patches:

ERROR - Internal error processing batch_insert
java.lang.NullPointerException
        at org.apache.cassandra.net.TcpConnection.write(TcpConnection.java:141)
        at 
org.apache.cassandra.net.MessagingService.sendOneWay(MessagingService.java:350)
        at 
org.apache.cassandra.service.StorageProxy.mutateBlocking(StorageProxy.java:208)
        at 
org.apache.cassandra.service.CassandraServer.doInsert(CassandraServer.java:495)
        at 
org.apache.cassandra.service.CassandraServer.batch_insert(CassandraServer.java:427)
        at 
org.apache.cassandra.service.Cassandra$Processor$batch_insert.process(Cassandra.java:1113)
        at 
org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:842)
        at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)


> add backpressure to StorageProxy
> --------------------------------
>
>                 Key: CASSANDRA-685
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-685
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.9
>
>         Attachments: 
> 0001-impose-stage-queue-limit-of-2048-operations-which-shou.txt, 
> 0002-make-TcpConnection.write-throw-WriteEnqueueException-i.txt
>
>
> Now that we have CASSANDRA-401 and CASSANDRA-488 there is one last piece: we 
> need to stop the target node from pulling mutations out of MessagingService 
> as fast as it can only to take up space in the mutation queue and eventually 
> fill up memory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to