Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConcurrentModificationException in CommandHandler.queueCommand #324

Closed
mp911de opened this issue Jul 27, 2016 · 1 comment
Closed

ConcurrentModificationException in CommandHandler.queueCommand #324

mp911de opened this issue Jul 27, 2016 · 1 comment
Labels
type: bug A general bug
Milestone

Comments

@mp911de
Copy link
Collaborator

mp911de commented Jul 27, 2016

Under high load, ConcurrentModificationException may occur in CommandHandler.queueCommand

java.util.ConcurrentModificationException java.util.ConcurrentModificationException
        at java.util.ArrayDeque.delete(ArrayDeque.java:539)
        at java.util.ArrayDeque.removeFirstOccurrence(ArrayDeque.java:360)
        at java.util.ArrayDeque.remove(ArrayDeque.java:721)
        at com.lambdaworks.redis.protocol.CommandHandler.queueCommand(CommandHandler.java:428)
        at com.lambdaworks.redis.protocol.CommandHandler.writeSingleCommand(CommandHandler.java:372)
        at com.lambdaworks.redis.protocol.CommandHandler.write(CommandHandler.java:355)
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:718)
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:710)
        at io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:33)
        at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:1037)
        at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1089)
        at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1022)
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:394)
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145)
        at java.lang.Thread.run(Thread.java:745)

@mp911de mp911de added the type: bug A general bug label Jul 27, 2016
@mp911de mp911de added this to the Lettuce 3.5.1 milestone Jul 27, 2016
@mp911de
Copy link
Collaborator Author

mp911de commented Jul 27, 2016

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant