You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to be a problem with kinetic-java/kinetic-client/src/main/java/com/seagate/kinetic/client/io/MessageHandler.java in the method writeAsync near line 325. The code in question is
This code is attempting to limit the queue size to asyncQueuedSize but because of the extra && this.isRunning clause, if the MessageHandler, i.e. this, isn't running or isn't running yet, then the queue can grow to arbitrary size.
This actually happens at the start of the microAsync method in the micro performance test.
I don't know why the && this.isRunningclause is here. I probably just don't understand. But without it, i.e. with just
There appears to be a problem with kinetic-java/kinetic-client/src/main/java/com/seagate/kinetic/client/io/MessageHandler.java in the method
writeAsync
near line 325. The code in question isThis code is attempting to limit the queue size to
asyncQueuedSize
but because of the extra&& this.isRunning
clause, if the MessageHandler, i.e.this
, isn't running or isn't running yet, then the queue can grow to arbitrary size.This actually happens at the start of the
microAsync
method in the micro performance test.I don't know why the
&& this.isRunning
clause is here. I probably just don't understand. But without it, i.e. with justthe queue size is correctly limited.
It seems broken as it is. Suggestions?
The text was updated successfully, but these errors were encountered: